First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 142613
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Andrej Kacian (RETIRED) <ticho@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrzej <wasowski@data.pl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mpd my proposal of new /etc/init.d/mpd text/plain Andrzej 2006-08-03 00:48 0000 915 bytes Details
mpd changed the use dependency to after condition text/plain Andrzej 2006-08-03 05:06 0000 923 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142613 depends on: Show dependency tree
Bug 142613 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-03 00:30 0000
/etc/init.d/mpd from media-sound/mpd should depend on /etc/init.d/esound

At the moment it sometimes happens that mpd would boot before esound (even if
it is configured to use esound).  Then various weird things happen with esound
and other applications refuse to play sounds.

Observed with mpd-0.11.5-r2

------- Comment #1 From Andrzej 2006-08-03 00:48:16 0000 -------
Created an attachment (id=93316) [edit]
my proposal of new /etc/init.d/mpd

added esound to the use dependency

------- Comment #2 From Jakub Moc (RETIRED) 2006-08-03 00:58:32 0000 -------
Uhm? It doesn't depend on media-sound/esound at all, how should it depend on
it's init script (which won't be even installed)?

------- Comment #3 From Andrzej 2006-08-03 05:04:25 0000 -------
(In reply to comment #2)
> Uhm? It doesn't depend on media-sound/esound at all, how should it depend on
> it's init script (which won't be even installed)?

Ooops, my fault.  Not being very specific.  You can configure mpd to use esd
via libao (see the /etc/mpd.conf file).  This means that mpd should be started
after esound.

I guess my fix was wrong. It should not be "use esound" but "after esound".  I
was too lazy to check it in the docs before.  You will get an improved fix
soon. As far as the documentation implies
(http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4)
"after" is not a dependency.  It will still work if esound is not installed on
the system.

Is this more understandable now?

------- Comment #4 From Andrzej 2006-08-03 05:06:30 0000 -------
Created an attachment (id=93334) [edit]
changed the use dependency to after condition

------- Comment #5 From Andrej Kacian (RETIRED) 2006-08-28 14:04:52 0000 -------
Actually, "use" is acceptable. I still haven't found out what's the difference
between "use" and "after" anyway - both seem to have the same functionality.

I have added "use esound" to both media-sound/mpd and media-sound/mpd-svn
initscripts. Thanks, Andrej!

First Last Prev Next    No search results available      Search page      Enter new bug