]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix nwfilter driver reload/shutdown handling when unprivileged
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 16 Jan 2013 13:12:16 +0000 (13:12 +0000)
committerEric Blake <eblake@redhat.com>
Wed, 23 Jan 2013 15:38:50 +0000 (08:38 -0700)
commitba4e7b63441e3a99560b33a8edc71c24480e3473
treef513f9d0269d345ed187ebb23436e18293fc1a20
parent5e10d0ef1ea355cb0a3f94cb0237d3fe9253edf9
Fix nwfilter driver reload/shutdown handling when unprivileged

https://bugzilla.redhat.com/show_bug.cgi?id=903184

Although the nwfilter driver skips startup when running in a
session libvirtd, it did not skip reload or shutdown. This
caused errors to be reported when sending SIGHUP to libvirtd,
and caused an abort() in libdbus on shutdown due to trying
to remove a dbus filter that was never added
(cherry picked from commit abbec81bd0c9bf917f2c63045222734d7e4411fb)

Conflicts:
src/nwfilter/nwfilter_driver.c - earlier changes f4ea67f and
79b8a56 related to using bool and auto-shutdown of drivers are not backported
src/conf/nwfilter_conf.h
src/nwfilter/nwfilter_driver.c