Hi,

seems I'm affected by this as well (ran into it trying devstack in 16.4 LTS).
Service libvirt-bin stop; service libvirt-bin start fixed this for me.
As soon as I do service libvirt-bin restart the socket vanishes again from 
/var/lib/libvirt for me.

The odd thing is, lsof -p <libvirt-bin PID> shows the socket as opened
while it doesn't exist:

root@os-gate-u16:~/devstack-gate-test/ansible# lsof -U -p 28097 | grep 
/var/run/libvirt/libvirt-sock
systemd       1            root   67u     unix 0xffff88010cea8f00      0t0     
820644 /var/run/libvirt/libvirt-sock type=STREAM
systemd       1            root   68u     unix 0xffff88010cea9e00      0t0     
820645 /var/run/libvirt/libvirt-sock-ro type=STREAM
libvirtd  28097            root    3u     unix 0xffff88010cea8f00      0t0     
820644 /var/run/libvirt/libvirt-sock type=STREAM
libvirtd  28097            root    4u     unix 0xffff88010cea9e00      0t0     
820645 /var/run/libvirt/libvirt-sock-ro type=STREAM
root@os-gate-u16:~/devstack-gate-test/ansible# lsof 
/var/run/libvirt/libvirt-sock
lsof: status error on /run/libvirt/libvirt-sock: No such file or directory
lsof 4.89
 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
 latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
 usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
 [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
 [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
root@os-gate-u16:~/devstack-gate-test/ansible#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583688

Title:
  libvirt-sock not recreated on service restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1583688/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to