Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135129 - /etc/init.d/mpdscribble should need also mpd to run
Summary: /etc/init.d/mpdscribble should need also mpd to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tom Martin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 03:36 UTC by Dominik Kozaczko
Modified: 2006-06-25 02:10 UTC (History)
1 user (show)

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


Attachments
Proposed mpdscribble initscript (mpdscribble,468 bytes, text/plain)
2006-06-01 03:38 UTC, Dominik Kozaczko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kozaczko 2006-06-01 03:36:41 UTC
I think that mpdscribble's initscript should depend on mpd. If you try to run mpdscribble alone, it just quits but doesn't notify the user and you have to zap it. Simple "need mpd" solves this problem. Next positive thing is when you restart mpd - mpdscribble is also restarted instead dying without warning.
Upcoming - my mpdscribble initfile.
Comment 1 Dominik Kozaczko 2006-06-01 03:38:47 UTC
Created attachment 88074 [details]
Proposed mpdscribble initscript

Only "mpd" added to depend()
Comment 2 Tom Martin (RETIRED) gentoo-dev 2006-06-22 13:48:20 UTC
I added 'use mpd' to the initscript. As far as I can see, this is the best compromise because some may be running mpdscribble with a remote mpd.

I hope this is okay, and thanks for the report.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2006-06-25 02:10:25 UTC
Indeed, making mpd mandatory would be just like requiring user to have irc server installed along with xchat or irssi.