Community Packages

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!
Tasklist

FS#40597 - [xbmc] screwing with local user xbmc

Attached to Project: Community Packages
Opened by Martin Berkemeier (pho_) - Thursday, 29 May 2014, 16:07 GMT
Last edited by Ike Devolder (BlackEagle) - Monday, 02 June 2014, 19:00 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
even before xbmc in community i had a htpc with xbmc on arch. it is a htpc just for xbmc on my television so my first and only local user is and was 'xbmc'. before xbmc :: 13.0-4 it was only trying to delete my user when i uninstalled xbmc(to get xbmc-git or whatever). that was luckily impossible cause you cant delete a user if it has a running process. but since xbmc :: 13.0-4 you made a password change right after you checked if the user exists. so because of that i had to use a live cd to reset the passwords

Additional info:
getent passwd xbmc > /dev/null || useradd -c 'XBMC user' -u 420 -g xbmc -G audio,video,network,optical -d /var/lib/xbmc -s /sbin/nologin xbmc
passwd -l xbmc > /dev/null <-- makes no sense


Steps to reproduce:
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Monday, 02 June 2014, 19:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  xbmc 13.0-6
Comment by Ike Devolder (BlackEagle) - Monday, 02 June 2014, 17:42 GMT
only when creating new xbmc user it will be done
Comment by Martin Berkemeier (pho_) - Monday, 02 June 2014, 17:54 GMT
passwd -l xbmc
will always be done in post_install wether the user is created or is already existing before the installation
Comment by Ike Devolder (BlackEagle) - Monday, 02 June 2014, 18:59 GMT
it was just a note about the upcoming change
Comment by Ike Devolder (BlackEagle) - Monday, 02 June 2014, 18:59 GMT
just to let you know we are looking at it

Loading...