btw using systemctl directly doesn't lead to the socket present:

root@os-gate-u16:~# systemctl restart libvirt-bin.service ; lsof 
/var/run/libvirt/libvirt-sock
lsof: status error on /run/libvirt/libvirt-sock: No such file or directory | 
grep libvirtd
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:~# systemctl stop libvirt-bin.service ; systemctl start 
libvirt-bin.service; lsof /var/run/libvirt/libvirt-sock | grep libvirtd
Warning: Stopping libvirt-bin.service, but it can still be activated by:
  libvirt-bin.socket
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:~#
root@os-gate-u16:~# service libvirt-bin stop ; service libvirt-bin start ; lsof 
/var/run/libvirt/libvirt-sock | grep libvirtd
libvirtd 29826 root    3u  unix 0xffff8800cd78e580      0t0 948825 
/var/run/libvirt/libvirt-sock type=STREAM
root@os-gate-u16:~#

-- 
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