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#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
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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/
Comment by loqs (loqs) - Sunday, 12 August 2018, 19:38 GMT
https://www.archlinux.org/todo/usergroup-management/ it is arch policy not to remove users / groups
After removing any files owned by the user / group you can safely remove the user and group.

Loading...