Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114212 - net-dns/avahi: the init.d should need dbus if +dbus is used
Summary: net-dns/avahi: the init.d should need dbus if +dbus is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 16:18 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-01-10 05:05 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-01 16:18:06 UTC
When building avahi with +dbus, it needs dbus to be started before 
avahi-daemon, or it  
fails.  
The init script should then change the dependency according to the useflag to  
work out of the box.  
  
(for a similar magic, look at mt-daapd init script, that does that for howl  
or avahi-daemon when built with +howl useflag) 
 
HTH, 
Diego
Comment 1 Sven Wegener gentoo-dev 2005-12-01 23:24:00 UTC
I have good contact to upstream, it'll be patched in their source.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-12-21 00:11:13 UTC
compnerd has been working on avahi in Gentopia for some time. Also I've looked over the ebuild in the Portage tree and have made some changes to it.

IMHO, the dbus USE-flag was pointless cause avahi is useless without avahi. But there are a lot of other fixes in the Gentopia ebuild over the Portage ebuild.
Comment 3 Sven Wegener gentoo-dev 2005-12-21 02:04:24 UTC
The dbus USE flag is not pointless, if you just want avahi to advertise the host
and/or some legacy services.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-10 04:59:43 UTC
Fixed now I think.
Comment 5 Sven Wegener gentoo-dev 2006-01-10 05:05:42 UTC
I'm waiting for upstream to integrate my patch, just a better solution for the workaround I added to the ebuild. For the meantime it's ok.