4 ms·
systemd has no dependency to dbus, even in Ubunutu it's just recommended[1] - the fact that recommended dependencies in Ubuntu are installed by default is anoth
by snaky 10y ago
systemd has no dependency to dbus, even in Ubunutu it's just recommended[1] - the fact that recommended dependencies in Ubuntu are installed by default is another story.
In Gentoo it's the same[2], PDEPEND means soft-dependencies like plugins[3], with the difference they are not installed by default.
[1] https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1480451 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/14804...
[2] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd/systemd-231.ebuild#n76 https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/syst...
[3] https://devmanual.gentoo.org/general-concepts/dependencies/ https://devmanual.gentoo.org/general-concepts/dependencies/
- digi_owl 10y agoSo effectively the only configuration that makes sense for leaving out dbus would be if you want to use systemd as the host for a stack of containers (hello CoreOS). Anything more complicated and you get dbus coming along for the ride, no ifs or buts about it. As Ford put it: you can get the model T in any color, as long as it's black.
- snaky 10y agoThe perfect configuration is when you disable systemd and dbus, and even udev (replacing it with eudev or better mdev).
- pdkl95 10y ago> PDEPEND means soft-dependencies like plugins You might want to read the docs again: $ man 5 ebuild | grep -A 4 '^ *PDEPEND' PDEPEND This should contain a list of all packages that should be merged after this one (aka post merge dependencies), but which may be installed by the package manager at any time, if that is not possible. This is in your [3]: https://devmanual.gentoo.org/general-concepts/dependencies/#post-merge-dependencies https://devmanual.gentoo.org/general-concepts/dependencies/#... > systemd has no dependency to dbus Last time I heard anything about it, systemd was so tightly coupled to dbus it would crash PID 1 if you restarted dbus and hang the system. Maybe that's changed? I doubt it given Lennart's explanation (which, by the way, includes the claim that "D-Bus is rock solid these days"). https://lists.freedesktop.org/archives/systemd-devel/2013-January/008456.html https://lists.freedesktop.org/archives/systemd-devel/2013-Ja...
- snaky 10y agoAh, thank you! I think "dbus with no systemd" is more relevant to the user needs, because dbus is needed by at least BlueZ.