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

Re: [libvirt] sanlock on F17



On Fri, Jun 29, 2012 at 08:06:34PM -0400, Dave Allan wrote:
> I just tried to set up sanlock on F17 using the instructions at
> http://libvirt.org/locking.html, but libvirtd refuses to start with
> the sanlock error in the logs:
> 
> Jun 29 19:56:20 nienna sanlock[8423]: 19846 open error -13
> /var/lib/libvirt/sanlock/__LIBVIRT__DISKS__
> 
> I confirmed that user sanlock can create, read and write files in
> /var/lib/libvirt/sanlock
> 
> The only thing I can think of that's slightly odd about my setup is
> that I'm only concerned with the local machine, so that directory is
> not an NFS mount.  Anybody have any thoughts on what's going wrong
> here?

Well, -13 is the EACCESS errno, so there must be some kind of permissions
problem in there, be it DAC or SELinux.

You might try strace'ing sanlockd just to be sure, and check that it
really is running under the user/group that you think it is.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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