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#59628 - [gitlab] Post-Install -- gitlab user and group should be updated/removed
Attached to Project:
Community Packages
Opened by James_Epp (James_Epp) - Sunday, 12 August 2018, 19:25 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 12 August 2018, 19:39 GMT
Opened by James_Epp (James_Epp) - Sunday, 12 August 2018, 19:25 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 12 August 2018, 19:39 GMT
|
DetailsDescription:
After the gitlab package is removed, the gitlab user and group remains, leading to a shadow.service failure when '/usr/bin/pwck -r' is ran, producing the following errors due to the missing ~ and shell paths. # pwck -r user 'gitlab': directory '/var/lib/gitlab' does not exist user 'gitlab': program '/usr/share/webapps/gitlab-shell/bin/gitlab-shell' does not exist pwck: no changes # grep gitlab {/etc/passwd,/etc/group} /etc/passwd:gitlab:x:105:105::/var/lib/gitlab:/usr/share/webapps/gitlab-shell/bin/gitlab-shell /etc/group:gitlab:x:105: Additional info: * Tested with gitlab 11.1.4-2 Steps to reproduce: * Install gitlab * Uninstall gitlab * # systemctl restart shadow * # systemctl status shadow |
This task depends upon
Closed by Doug Newgard (Scimmia)
Sunday, 12 August 2018, 19:39 GMT
Reason for closing: Not a bug
Additional comments about closing: See https://www.archlinux.org/todo/usergroup -management/
Sunday, 12 August 2018, 19:39 GMT
Reason for closing: Not a bug
Additional comments about closing: See https://www.archlinux.org/todo/usergroup -management/
2018-08-12 13_37_25.png
After removing any files owned by the user / group you can safely remove the user and group.