Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392681 - sys-devel/distcc[avahi] init script needs to depend on dbus for zeroconf
Summary: sys-devel/distcc[avahi] init script needs to depend on dbus for zeroconf
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 20:58 UTC by Luke-Jr
Modified: 2022-05-31 07:02 UTC (History)
1 user (show)

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 Luke-Jr 2011-11-30 20:58:21 UTC
distcc needs dbus running for zeroconf support. Please be careful NOT to depend on the dbus service when zeroconf is not enabled...
Comment 1 Patrick McMunn 2014-04-07 04:26:24 UTC
It's not that distcc relies directly on dbus. Rather avahi relies on dbus and distcc relies on avahi for zeroconf support. Since the avahi-daemon service already requires the dbus service to start before avahi, the distccd daemon script should ensure that avahi is loaded - not dbus since avahi-daemon takes care of that.

The distccd init script currently contains the code

depend() {
        need net
        use avahi-daemon ypbind
}

The text "use avahi-daemon ypbind" can just be deleted if the avahi use flag is off. If the avahi use flag is on, the script can be changed to "need net avahi-daemon". I really have no idea why ypbind is mentioned. Unless someone else knows something I don't, I don't think this is necessary or useful.