diff --git a/ChangeLog b/ChangeLog index b06dbb336d..49a316ff16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ -Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin + + * qemud/qemud.c: don't try and listen to a null socket + path when run as a session daemon. Noticed by Rich Jones + +Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin * qemud/driver.c: fix a couple of invalid free() calls -Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin * libvirt.spec.in: BuildRequires: /sbin/iptables and run configure with the --with-init-script and @@ -11,7 +16,7 @@ Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin * libvirt.spec.in: sync some of the chanes from dist-cvs so that this looks pretty much as it should do for the diff --git a/qemud/qemud.c b/qemud/qemud.c index 77c104129f..ed678a258d 100644 --- a/qemud/qemud.c +++ b/qemud/qemud.c @@ -476,7 +476,7 @@ static struct qemud_server *qemudInitialize(int sys, int sigread) { if (qemudListenUnix(server, sockname, 0) < 0) goto cleanup; - if (roSockname[0] == '\0' && qemudListenUnix(server, roSockname, 1) < 0) + if (roSockname[0] != '\0' && qemudListenUnix(server, roSockname, 1) < 0) goto cleanup; if (qemudScanConfigs(server) < 0) {