[libvirt] [PATCH] spec: Unconditionally set ownership of /var/lib/libvirt/sanlock

Michal Privoznik mprivozn at redhat.com
Fri May 24 14:38:25 UTC 2019


On 5/21/19 1:15 PM, Jiri Denemark wrote:
> 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 at redhat.com>
> ---
>   libvirt.spec.in | 10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)

ACK

Michal




More information about the libvir-list mailing list