FS#6814 - mpd rc-script incorrectly records PID

Attached to Project: Arch Linux
Opened by Jan Spakula (bender02) - Wednesday, 04 April 2007, 22:52 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 09:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Roman Kyrylych (Romashka)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The rc.d/mpd script tries to record mpd's PID into /var/run/mpd.pid when it succesfully runs mpd daemon, but it records there just an empty string. This can be corrected by adding one line to the script (diff attached). The script doesn't use that pid anywhere anyway, so currently there's no harm. (By the way, I don't understand why the pid is recorded at all.)
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 14 April 2007, 09:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  not valid in new mpd rc.d version
Comment by Roman Kyrylych (Romashka) - Thursday, 05 April 2007, 14:06 GMT
new version of mpd is under review, this bug is not valid there because it uses another way of writing pid (mpd does this by itself).

Loading...