Re: [libvirt] [PATCH] sanlock: Enhance error message to point to possible problem with selinux

2012-03-15 Thread Daniel P. Berrange
On Thu, Mar 15, 2012 at 10:55:20AM -0600, Eric Blake wrote: > On 03/15/2012 10:35 AM, Daniel P. Berrange wrote: > > On Thu, Mar 15, 2012 at 05:23:09PM +0100, Peter Krempa wrote: > >> If the connection to the sanlock daemon is forbidden by selinux the > >> error message was not clear enough. This pa

Re: [libvirt] [PATCH] sanlock: Enhance error message to point to possible problem with selinux

2012-03-15 Thread Eric Blake
On 03/15/2012 10:35 AM, Daniel P. Berrange wrote: > On Thu, Mar 15, 2012 at 05:23:09PM +0100, Peter Krempa wrote: >> If the connection to the sanlock daemon is forbidden by selinux the >> error message was not clear enough. This patch adds a check if proper >> configuration for selinux is used whil

Re: [libvirt] [PATCH] sanlock: Enhance error message to point to possible problem with selinux

2012-03-15 Thread Daniel P. Berrange
On Thu, Mar 15, 2012 at 05:23:09PM +0100, Peter Krempa wrote: > If the connection to the sanlock daemon is forbidden by selinux the > error message was not clear enough. This patch adds a check if proper > configuration for selinux is used while trying to connect to sanlock. > > *src/locking/lock_

[libvirt] [PATCH] sanlock: Enhance error message to point to possible problem with selinux

2012-03-15 Thread Peter Krempa
If the connection to the sanlock daemon is forbidden by selinux the error message was not clear enough. This patch adds a check if proper configuration for selinux is used while trying to connect to sanlock. *src/locking/lock_driver_sanlock.c: - add macro virLockSystemError that checks for