diff --git a/ChangeLog b/ChangeLog index b06dbb336df0577e7a519c608783b3b04ac8bc9a..49a316ff1619624122191f71fa4a3d3f6a5fd443 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 77c104129f82ccbeab3d88b26bba543296ee28df..ed678a258dc5ddb013fdd6c59b98560d4ae1635f 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) {