[libvirt] [PATCH 0/5] Fix problems caused by FD passing to session daemon

Martin Kletzander mkletzan at redhat.com
Mon Sep 8 05:46:34 UTC 2014


There were various problems introduced by the series on FD passing.
The path for the socket was not created, the socket was not removed
before binding it, etc.  Let's see if it's any better this time.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=927369
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1138604

Martin Kletzander (5):
  rpc: reformat the flow to make a bit more sense
  remove redundant pidfile path constructions
  util: fix potential leak in error codepath
  util: get rid of unnecessary umask() call
  rpc: make daemon spawning a bit more intelligent

 daemon/libvirtd.c         |  41 ++------------
 src/libvirt_private.syms  |   1 +
 src/locking/lock_daemon.c |  42 ++-------------
 src/rpc/virnetsocket.c    | 133 +++++++++++++++++++++++++++++++---------------
 src/util/virpidfile.c     |  48 ++++++++++++++++-
 src/util/virpidfile.h     |   7 ++-
 6 files changed, 151 insertions(+), 121 deletions(-)

--
2.1.0




More information about the libvir-list mailing list