Re: [libvirt] [PATCH] storage: fs: Ignore volumes that fail to open with EPERM

2015-04-28 Thread Cole Robinson
On 04/28/2015 07:50 AM, Ján Tomko wrote: > The summary says 'EPERM', but the code checks for EACCES. > > On Mon, Apr 27, 2015 at 11:57:53AM -0400, Cole Robinson wrote: >> Trying to use qemu:///session to create a storage pool pointing at >> /tmp will usually fail with something like: >> >> $ virsh

Re: [libvirt] [PATCH] storage: fs: Ignore volumes that fail to open with EPERM

2015-04-28 Thread Ján Tomko
The summary says 'EPERM', but the code checks for EACCES. On Mon, Apr 27, 2015 at 11:57:53AM -0400, Cole Robinson wrote: > Trying to use qemu:///session to create a storage pool pointing at > /tmp will usually fail with something like: > > $ virsh pool-start tmp > error: Failed to start pool tmp

[libvirt] [PATCH] storage: fs: Ignore volumes that fail to open with EPERM

2015-04-27 Thread Cole Robinson
Trying to use qemu:///session to create a storage pool pointing at /tmp will usually fail with something like: $ virsh pool-start tmp error: Failed to start pool tmp error: cannot open volume '/tmp/systemd-private-c38cf0418d7a4734a66a8175996c384f-colord.service-kEyiTA': Permission denied If any