Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 51748
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Drake Wyrm <lilwyrm@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
rcscript_excerpt rc script excerpt: using start-stop-daemon text/plain Drake Wyrm 2004-05-22 11:35 0000 275 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51748 depends on: Show dependency tree
Bug 51748 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: 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

------- Comment #1 From Drake Wyrm 2004-05-22 11:35:24 0000 -------
Created an attachment (id=31847) [details]
rc script excerpt: using start-stop-daemon

------- Comment #2 From Brian Harring 2004-05-24 15:06:58 0000 -------
*** Bug 50583 has been marked as a duplicate of this bug. ***

------- Comment #3 From Brian Harring 2004-05-24 15:08:16 0000 -------
Thanks Drake-
commited to cvs, rev-bumped 0.9.4 and 0.10.3 to -r1.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug