Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41471 - media-sound/mpd-0.9.4
Summary: media-sound/mpd-0.9.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 08:22 UTC by Starz McCllelan
Modified: 2004-03-04 05:36 UTC (History)
3 users (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 Starz McCllelan 2004-02-13 08:22:30 UTC
1. Please mark stable as per: http://bugs.gentoo.org/show_bug.cgi?id=38880

2. Small fix needed in the init.d script ~/.mpd/mpdconf needs to be changed to  ~/.mpdconf

3. Please add many keywords, it should work in bsd, as it's in ports, and should work in many other archs i.e. amd64 and it would be nice if all were added so we could get these tested.

Thanks in advance
Comment 1 Warren Dukes 2004-02-19 07:51:17 UTC
Please mark this stable: http://bugs.gentoo.org/show_bug.cgi?id=38880
Comment 2 Warren Dukes 2004-02-19 07:56:32 UTC
oh, and please be sure to add 'amd64' to the supported platforms, as gentoo on amd64 is my primary dev machine now.

Thanks for you help and assistance.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-02-26 23:05:36 UTC
Hmm. looking into commiting it stable, meanwhile, why is an init script accessing a user's directory...
That isn't how init scripts are supposed to function.  Particular reason?

I'm a bit hesitant to have a daemon go hunting in a user's directory, since it doesn't strike me as good policy.
Comment 4 Starz McCllelan 2004-02-27 09:52:00 UTC
OK, after speaking with the main dev about it you're _very_ right :), can you please remove that part of the init.d script completely, we'll fix that completely in 0.10.0 (possibly after a 1.0.0 release). Thanks for the suggestion.
Comment 5 Brian Harring (RETIRED) gentoo-dev 2004-02-27 11:26:11 UTC
Well, the thing is even if I remove that portion of the init script (specifically the check for it), the binary will still go looking for that file.
The init script's check [ -f ~/.mpdconf ] tipped me off to the problem, but ultimately the problem is in the binary.  Possibly patch it?
I don't use this daemon, so I'm not really sure how much this affects a user... so suggestions would be appreciated :)
Comment 6 Warren Dukes 2004-02-28 10:33:46 UTC
If your worried about which config script mpd actually uses, just pass the config script explicitly, ie.:

mpd /etc/mpd.conf

Then obviously it will not look for it else where.

Just a suggestion,
-the man
Comment 7 Brian Harring (RETIRED) gentoo-dev 2004-03-03 22:24:07 UTC
Commited.
Comment 8 Warren Dukes 2004-03-04 05:36:40 UTC
Brian, Thanks for your help!  I *heart* gentoo.