]> git.ipfire.org Git - thirdparty/libvirt.git/commit
systemd: require dbus service
authorEric Blake <eblake@redhat.com>
Wed, 5 Dec 2012 03:43:04 +0000 (20:43 -0700)
committerGuannan Ren <gren@redhat.com>
Wed, 5 Dec 2012 08:13:07 +0000 (16:13 +0800)
commitc748037f2a71ee1e30a864b767d82dfb492e27b2
treefcc788811f505621ec30e910b9b2311b8d3148ce
parent9ee809d60cb31dbbd24390af8008a952b3b61c95
systemd: require dbus service

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

The initscript and upstart services depend on dbus starting
before libvirtd.  When we first wrote the systemd script, we
tried to do the same, but we depended on dbus.target (which
does not exist) in comparison to network.target (which does
exist), so we removed that in commit 4c7973e.  But we still
need dbus up and running first, especially now that we want
to support shutdown inhibition via dbus (whereas we originally
needed dbus only for firewall control).

http://www.freedesktop.org/software/systemd/man/systemd.target.html
explains how a target (such as network.target) is just a collection
of common services bundled together, and why we want network.target
but dbus.service.

* daemon/libvirtd.service.in (Unit): Depend on dbus starting
first.
daemon/libvirtd.service.in