[libvirt] [PATCH] spec: Explicitly claim ownership of channel subdir

Martin Kletzander mkletzan at redhat.com
Fri Aug 2 15:19:30 UTC 2013


On 08/02/2013 04:38 PM, Jiri Denemark wrote:
> As both /var/lib/libvirt/qemu and /var/lib/libvirt/qemu/channel/target
> are owned by us, the intermediate /var/lib/libvirt/qemu/channel should
> be owned by us too.
> ---
>  libvirt.spec.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index c457fda..79c5a2c 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -1800,6 +1800,7 @@ fi
>      %if %{with_qemu}
>  %ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
>  %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
> +%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/channel/
>  %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/channel/target/
>  %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
>      %endif
> 

ACK, this is what I had a problem with as well, but on different kind of
installation.

Martin




More information about the libvir-list mailing list