Re: "connection refused", but server is listening

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/7/2014 3:53 PM, Pasquale Dir wrote:

The is no *censored* way to restart the libvirt daemon: it just leads to hang.

This is probably caused by udev... After you restart libvirt, do:

pstree -p `cat /var/run/libvirtd.pid`

You'll probably see a udev process. Kill it, and libvirt should resume working normally.

This patch will "fix" it, if you feel like rebuilding libvirt:

*** src_clean/src/util/virutil.c    2013-07-30 03:21:31.000000000 -0400
--- src/src/util/virutil.c    2013-09-12 17:06:58.462540659 -0400
*************** virSetUIDGIDWithCaps(uid_t uid, gid_t gi
*** 1398,1404 ****
  void virFileWaitForDevices(void)
  {
  # ifdef UDEVADM
!     const char *const settleprog[] = { UDEVADM, "settle", NULL };
  # else
      const char *const settleprog[] = { UDEVSETTLE, NULL };
  # endif
--- 1398,1404 ----
  void virFileWaitForDevices(void)
  {
  # ifdef UDEVADM
! const char *const settleprog[] = { UDEVADM, "settle", "--timeout=10", NULL };
  # else
      const char *const settleprog[] = { UDEVSETTLE, NULL };
  # endif

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux