[libvirt] [PATCH v2] sanlock: Introduce 'user' and 'group' conf variables
Michal Privoznik
mprivozn at redhat.com
Mon Oct 29 16:24:32 UTC 2012
On 29.10.2012 16:18, Michal Privoznik wrote:
> through which user set under what permissions does sanlock
> daemon run so libvirt will set the same permissions for
> files exposed to it.
> ---
>
> diff to v1:
> -update spec file so sanlock dir is installed with root:sanlock
> iff group sanlock exists
>
> docs/locking.html.in | 22 +++++++++
> libvirt.spec.in | 7 +++
> src/locking/libvirt_sanlock.aug | 2 +
> src/locking/lock_driver_sanlock.c | 76 ++++++++++++++++++++++++++++++-
> src/locking/sanlock.conf | 11 ++++-
> src/locking/test_libvirt_sanlock.aug.in | 2 +
> 6 files changed, 118 insertions(+), 2 deletions(-)
>
While this can be looked at as feature, in fact it is a bug fix. With
recent sanlock, which does no longer run under root:root and thus is not
able to access /var/lib/libvirt/sanlock belonging to root:root we need
even the config file addition. So even though we entered the freeze, I'd
gladly see this in.
Michal
More information about the libvir-list
mailing list