| Bug#: 51748 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: All | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: sound@gentoo.org | Reported By: lilwyrm@gmail.com | |
| Component: Ebuilds | |||
| URL: | |||
| Summary: rc script for media-sound/mpd fails to stop daemon | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2004-05-22 11:31 0000 | |||
| Description: | Opened: 2004-05-22 11:31 0000 |
When mpd starts, it immediately forks, so the pid file created by start-stop-daemon is invalid. When attempting to stop mpd via the rc script, start-stop-daemon can't find mpd, and returns an error. Steps to reproduce: # /etc/init.d/mpd stop Result: * Stopping Music Player Daemon... start-stop-daemon: warning: failed to kill 21353: No such process [ !! ] Fix speculation: The rc script should either issue a "kill" command directly to mpd (Bash networking) or use `start-stop-daemon --stop --exec /usr/bin/mpd
Created an attachment (id=31847) [details]
rc script excerpt: using start-stop-daemon
*** Bug 50583 has been marked as a duplicate of this bug. ***
Thanks Drake- commited to cvs, rev-bumped 0.9.4 and 0.10.3 to -r1.