Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#44571 - [mpd] The package breaks MPDs "user" option
Attached to Project:
Arch Linux
Opened by Wieland Hoffmann (Mineo) - Monday, 13 April 2015, 13:45 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 14 April 2015, 03:29 GMT
Opened by Wieland Hoffmann (Mineo) - Monday, 13 April 2015, 13:45 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 14 April 2015, 03:29 GMT
|
DetailsDescription: The service file shipped with this MPD package forces the User to mpd (the upstream service file does not include that directive). This breaks the "user" option in mpd.conf. Apparently that change was introduced to fix https://bugs.archlinux.org/task/42089, so while it might be necessary it would be nice to document this because `systemctl status` does not show that the service is running as the `mpd` user. It is therefore impossible to figure out why modifying MPDs config file results in permission denied errors.
Additional info: * package version(s) 0.19.9-3t * config and/or log files etc. My /etc/mpd.conf is attached The output of systemctl status mpd is ● mpd.service - Music Player Daemon Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mo 2015-04-13 15:09:33 CEST; 2s ago Process: 2731 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE) Main PID: 2731 (code=exited, status=1/FAILURE) Apr 13 15:09:33 slartibartfass systemd[1]: Started Music Player Daemon. Apr 13 15:09:33 slartibartfass systemd[1]: Starting Music Player Daemon... Apr 13 15:09:33 slartibartfass mpd[2731]: errno: failed to open log file "/home/wieland/.mpd/mpd.log" (config line 4): Permission denied Apr 13 15:09:33 slartibartfass systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Apr 13 15:09:33 slartibartfass systemd[1]: Unit mpd.service entered failed state. Apr 13 15:09:33 slartibartfass systemd[1]: mpd.service failed. Removing the "User" line makes it work again. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 14 April 2015, 03:29 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#42172
Tuesday, 14 April 2015, 03:29 GMT
Reason for closing: Duplicate
Additional comments about closing:
mpd.conf