]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: Unconditionally set ownership of /var/lib/libvirt/sanlock
authorJiri Denemark <jdenemar@redhat.com>
Tue, 21 May 2019 11:09:22 +0000 (13:09 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 27 May 2019 13:00:11 +0000 (15:00 +0200)
commite67b0a45769bfdca48520193e9ad1209b900d64f
treeb4719a32510c00bdb8672ef50ea0616cf0110def
parentc46bdad5768da39bbccaa66c5c63f7303e56ad49
spec: Unconditionally set ownership of /var/lib/libvirt/sanlock

The libvirt-lock-sanlock subpackage requires sanlock to be installed
first and the sanlock package creates the sanlock group on all distros
we care about in the spec file (Fedora and RHEL >= 7). Thus instead of
setting the ownership and permissions in a post scriptlet only when the
sanlock group exists we can just install the directory with the
appropriate metadata.

https://bugzilla.redhat.com/show_bug.cgi?id=1702758

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
libvirt.spec.in