FS#6131 - allow non-root users to use mpd rc.d script properly
Attached to Project:
Arch Linux
Opened by Roman Kyrylych (Romashka) - Tuesday, 02 January 2007, 00:04 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 09:35 GMT
Opened by Roman Kyrylych (Romashka) - Tuesday, 02 January 2007, 00:04 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 09:35 GMT
|
Details
Currently, mpd package provides mpd.conf.example which is
intended for cases where mpd is run by user, not as rc.d
script.
Because all path in mpd.conf.example begins with ~/ it may confuse users - they may think ~/ is their home directory, but when running /etc/rc.d/mpd - it is /root! (running /etc/rc.d/mpd as non-root is not possible) So when user adds mpd to DAEMONS in rc.conf - all music db stored in /root/.mpd, which is very bad. The right (and secure!) way of running mpd as rc.d script is described here: http://wiki.archlinux.org/index.php/Mpd#Run_as_normal_user Please implement all steps described there in mpd PKGBUILD & mpd.install (of course using this setup user can make mpd use db in user's homedir, if he/she wishes so) |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Saturday, 14 April 2007, 09:35 GMT
Reason for closing: Implemented
Saturday, 14 April 2007, 09:35 GMT
Reason for closing: Implemented
[proteus@thistledown ~]$ mpd --create-db
cannot init supplementary groups of user "proteus" at line 36: Operation not permitted
mpd: symbol lookup error: mpd: undefined symbol: AudioSpecificConfig
(The second error is due to another bug, see here: http://bugs.archlinux.org/task/6293.)