On 12/31/2017 at 18:40 Catonano writes: > 2017-12-31 18:36 GMT+01:00 Ricardo Wurmus : > > Catonano writes: > > > In fact, when launching virt-manager, var/run/libvirt/libvirt-sock should > > be accessible and it's readable/writable by users in the root group, others > > can't access it > > > > So your user needs to be in the root group too ! > > That doesn’t seem right. This smells like a bug to me. Users shouldn’t > ever need to be in the root group. > > Souldn't they ? > I don't know > > All I can suggest is you reproduce the issue. > Reconfigure your system with libvirt, install virt-manager in you profile, launch your virt-manager and see what > happens Not the original supplicant but reproduced the issue ;-) ... libvirt installad in system ... g1@g1 ~/src/guix/doc$ guix package -p /run/current-system/profile -I | grep virt libvirt 4.0.0 out /gnu/store/437rasdksqspz895bq087sg4vnwnif6x-libvirt-4.0.0 ... virt-manager installed in profile ... g1@g1 ~/src/guix/doc$ guix package -I | grep virt virt-viewer 5.0 out /gnu/store/ybwlzdz1h37f0rgvxm5y0gbx94cfbk2x-virt-viewer-5.0 virt-manager 1.4.3 out /gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3 vm_image created like this (config v1.scm attached) ... cp -f $(guix system vm-image -M 4 -c 4 $VMDIR/v1.scm 2> $VMDIR/vm.log) $VMDIR/vm.img I ran virt-manager and used the "Create a new virtual machine" dialogue to select the image which produced this error ... "Unable to complete install: 'Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory' ... these details were available ... Unable to complete install: 'Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory' Traceback (most recent call last): File "/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtManager/create.py", line 2545, in _do_async_install guest.start_install(meter=meter) File "/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtinst/guest.py", line 498, in start_install doboot, transient) File "/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtinst/guest.py", line 434, in _create_guest domain = self.conn.createXML(install_xml or final_xml, 0) File "/gnu/store/pzvak4lzz9sws074chccyi8hq6inlcc3-python2-libvirt-3.7.0/lib/python2.7/site-packages/libvirt.py", line 3659, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirtError: Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory ... the console emmited ... 2018-02-06 02:27:44.781+0000: 1756: error : virNetSocketNewConnectUNIX:714 : Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory 2018-02-06 02:43:25.618+0000: 1756: error : virNetSocketNewConnectUNIX:714 : Failed to connect socket to '/var/run/libvirt/virtlogd-sock': Connection refused ... user is in root and libvert ... g1@g1 ~$ groups users root libvirt kvm wheel ... and the directory in question looks like ... g1@g1 ~$ sudo ls -l /var/run/libvirt Password: total 24 drwxr-xr-x 2 root root 4096 Feb 5 19:36 hostdevmgr srwxrwxrwx 1 root libvirt 0 Feb 5 19:36 libvirt-admin-sock srwxrwx--- 1 root libvirt 0 Feb 5 19:36 libvirt-sock srwxrwxrwx 1 root libvirt 0 Feb 5 19:36 libvirt-sock-ro drwxr-xr-x 2 root root 4096 Feb 5 19:36 lxc drwxr-xr-x 2 root root 4096 Feb 5 19:36 network drwxr-xr-x 2 root root 4096 Feb 5 19:36 qemu drwxr-xr-x 2 root root 4096 Feb 5 20:43 storage drwxr-xr-x 2 root root 4096 Feb 5 19:36 uml-guest g1@g1 ~$ TIA - George