Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65739 - bug in /etc/init.d/daapd (mDNSResponder isn't started)
Summary: bug in /etc/init.d/daapd (mDNSResponder isn't started)
Status: RESOLVED DUPLICATE of bug 66364
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-28 16:47 UTC by Jonas Bähr
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
updated init-script with little bug (daapd,1.46 KB, text/plain)
2004-09-30 17:40 UTC, Jonas Bähr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Bähr 2004-09-28 16:47:10 UTC
Hi,

There is a bug in the daapd init script. This program should share music to apple iTunes. To be seen in the network by iTunes, daapd need the programm mDNSResponder   which has to be started first (see http://www.deleet.de/projekte/daap/daapd/FAQ).
However, the initscript doesn't start it.

Try this:
1) /etc/init.d/daapd stop (in case it's started and iTunes doesn't see your Server)
2) start mDNSResponder
3) start daapd
Now iTunes sees your server. I think the initscript should start mDNSResponder in order to daapd work correctly (is seen by iTunes)

hint: start "daapd -v" without mDNSResponder is running. Then you'll see
"howl: sw_discovery_init() failed"
in the output. With mDNSResponder running this does'n show up and iTunes find's your server like expected.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-30 16:51:47 UTC
can you pleasse attach an updated init script which fixes the problem, thanks.
Comment 2 Jonas Bähr 2004-09-30 17:40:17 UTC
Created attachment 40820 [details]
updated init-script with little bug

I've never written init-scripts till now, so it isn't perfect. It works, as it
starts mDNSResponder first, but it doesn't manage to shut thisone down on
"stop". ps x | grep mDNS still shows up 3 runngin processes... You have to use
SIGKILL to shut them down as SIGTERM seem to have no effect...
Comment 3 Sébastien ESTIENNE 2004-10-04 16:18:01 UTC
the proposed init-scripts is not clean.
you juste have to put
use mDNSResponder in the depend section
Comment 4 Sébastien ESTIENNE 2004-10-04 16:32:14 UTC
i propose a fixed ebuild (bump version and init script) 
here: http://bugs.gentoo.org/show_bug.cgi?id=66364
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-05 01:52:53 UTC
*** This bug has been marked as a duplicate of 66364 ***