Re: [PATCH] conf: storage: also sanitize source dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 25, 2019 at 13:44:36 +0200, Ján Tomko wrote:
> Commit a7fb2258 added sanitization of storage pool target paths,
> however source dir paths were left unsanitized.
> 
> A netfs pool with:
> <source>
>   <host name='10.20.30.40'/>
>   <dir path='/nfs/'/>
> </source>
> will not be correctly detected as mounted by
> virStorageBackendFileSystemIsMounted, because it shows up in the
> mount list without the trailing slash.
> 
> Sanitize the source dir as well.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1723247
> 
> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
> ---

ACK

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux