[libvirt] [PATCH] admin: Fix passing an incorrect readonly attribute to virNetServerServiceNew

Ján Tomko jtomko at redhat.com
Mon May 16 14:19:08 UTC 2016


On Sat, May 14, 2016 at 07:30:52PM +0200, Erik Skultety wrote:
> When registering admin UNIX socket, a new service is created for it. This
> service is incorrectly initialized to be readonly, which is later inherited by
> all clients connected to the socket. In libvirt-admin's case there currently
> isn't any use for the attribute anyway, but since the socket has root-only
> access permissions, but the least we can do is to make every admin client
> connected to it report readonly as false.
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  daemon/libvirtd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

ACK

Jan




More information about the libvir-list mailing list