Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509282 - sys-apps/systemd-212* should DEPEND on sys-apps/dbus
Summary: sys-apps/systemd-212* should DEPEND on sys-apps/dbus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-01 18:57 UTC by Benedikt Böhm
Modified: 2014-05-02 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Böhm 2014-05-01 18:57:48 UTC
when building systemd stages without openrc or eudev, dbus is not pulled into the dependency graph. systemd requires pkg-config files from dbus though. the result is a directory /system-services which should actually be at /usr/share/dbus-1/system-services

i suggest removing the test? from the dbus dependency in DEPEND
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-02 00:38:34 UTC
All versions in the tree before 212-r2 have such a dependency.
Comment 2 Mike Gilbert gentoo-dev 2014-05-02 01:08:59 UTC
Good catch. configure calls "pkg-config ... dbus-1" if the following options are not given:

--with-dbuspolicydir
--with-dbussessionservicedir
--with-dbussystemservicedir
--with-dbusinterfacedir
Comment 3 Mike Gilbert gentoo-dev 2014-05-02 01:27:04 UTC
+  02 May 2014; Mike Gilbert <floppym@gentoo.org> systemd-212-r2.ebuild,
+  systemd-9999.ebuild:
+  Manually specify dbus paths to avoid using dbus-1.pc, bug 500282 by Benedikt
+  Böhm.
Comment 4 Walter Meinl 2014-05-02 07:30:19 UTC
After emerging the new systemd-212-r2.ebuild my system refused to start. In my log I found that every systemd related file was removed from /etc/dbus-1/system.d while the new dbus related files were installed in /etc/dbus-1/systemd.d as denoted in the new ebuild (note the difference is the additional "d" before the dot). All other packages, e.g. NetworkManager installed their dbus systemd config files in /etc/system.d. Please re-check which of the locations is correct, thanks.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-02 09:11:14 UTC
I'm sorry for the issue. I've just committed -r3 that installs exactly the same set of files as previously on my system.
Comment 6 Mike Gilbert gentoo-dev 2014-05-02 14:09:16 UTC
Sorry about that, my mistake.