Fix a couple of more issues with an NFS root-squash environment. The
details are in the commit messages and bugzilla comments.

NB: While using virFileOpenAs in the virStorageBackendVolOpen path and
checking for EACESS/EPERM afterwards may seem a bit counter intuitive,
but those will be returned if the virFileOpenAs code doesn't attempt to
open in the forked environment.

John Ferlan (2):
  storage: Really fix setting mode for backend exec in NFS root-squash
    env
  storage: Change virStorageBackendVolOpen to use virFileOpenAs

 src/storage/storage_backend.c | 37 +++++++++++++++++++++++++++++++++----
 1 file changed, 33 insertions(+), 4 deletions(-)

-- 
2.5.0

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to