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#19173 - [mpd] mpd user not created during mpd install
Attached to Project:
Arch Linux
Opened by Abe Akesson (AbeAkesson) - Monday, 19 April 2010, 11:50 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 19 April 2010, 12:27 GMT
Opened by Abe Akesson (AbeAkesson) - Monday, 19 April 2010, 11:50 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 19 April 2010, 12:27 GMT
|
DetailsDescription: Mpd user is not created during install of MPD.
Additional info: * package version(s) 0.15.9-4 * config and/or log files etc. Steps to reproduce: During a reinstall of Arch Linux and when installing MPD, the useradd help message printed out along with two chown errors. The mpd user was not created and /var/{lib,log}/mpd was still owned by root. I did a second clean install of Arch to be sure this was not a one time error. I believe the problem is in line seven of .INSTALL, as the useradd command is missing the username to create at the very end of that line. Currently, it reads: getent passwd "mpd" &>/dev/null || useradd -r -u 45 -g mpd -d "/var/lib/mpd" -s "/bin/true" -G "audio" 1>/dev/null when, after consulting the useradd manpage, it probably should read: getent passwd "mpd" &>/dev/null || useradd -r -u 45 -g mpd -d "/var/lib/mpd" -s "/bin/true" -G "audio" mpd 1>/dev/null Please note that this would probably not effect upgrading users, only users initially install Mpd. When I did a third clean install of Arch, I created Mpd user prior to trying to install Mpd, it worked without any errors. -- If this bug report is not clear, please e-mail me or check out the thread on the Arch Linux forums here: http://bbs.archlinux.org/viewtopic.php?id=95573 |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Monday, 19 April 2010, 12:27 GMT
Reason for closing: Fixed
Additional comments about closing: mpd 0.15.9-5
Monday, 19 April 2010, 12:27 GMT
Reason for closing: Fixed
Additional comments about closing: mpd 0.15.9-5