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

2019-06-25 Thread Peter Krempa
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: > > > > > will not be correctly detected as mounted by > virStorageBackendFileSystemIsMounted

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

2019-06-25 Thread Ján Tomko
Commit a7fb2258 added sanitization of storage pool target paths, however source dir paths were left unsanitized. A netfs pool with: will not be correctly detected as mounted by virStorageBackendFileSystemIsMounted, because it shows up in the mount list without the trailing slash. Sanitize