Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200849 - media-sound/mt-daapd-0.2.4.1 - /etc/init.d/mt-daapd has an unnecessary (and broken) dependency
Summary: media-sound/mt-daapd-0.2.4.1 - /etc/init.d/mt-daapd has an unnecessary (and b...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 17:12 UTC by Frank Lomax
Modified: 2007-11-30 19:01 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 Frank Lomax 2007-11-30 17:12:22 UTC
/etc/init.d/mt-daapd has the following depend() section:

depend() {
        need net
        need mDNSResponder
}

The "need mDNSResponder" section is unnecessary because mt-daapd has a built-in mDNS responder.  It's also broken because mDNSResponder may not be installed or configured, so mt-daapd can't be started this way.

Commenting that line out makes the init.d script work just fine.

You can always run mt-daapd from the command line like this:

/usr/sbin/mt-daapd -f -c /etc/mt-daapd.conf -d 9

to show that it works without mDNSResponder.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 18:01:57 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity... Also checking your use flags before filing a bug helps.

Comment 2 Frank Lomax 2007-11-30 18:39:47 UTC
% emerge -pv mt-daapd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/mt-daapd-0.2.4.1  USE="vorbis -avahi" 0 kB 

Okay, so the bug isn't a blocker, but it's not invalid.  You don't need avahi to run mt-daapd so its init.d script shouldn't require mDNSResponder unless necessary.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 19:01:23 UTC
Except that the ebuild *depends* on net-misc/mDNSResponder with USE="-avahi".