FS#46204 - shadow.service failure when uninstalling colord package
Attached to Project:
Arch Linux
Opened by Felix Leblanc (fxleblanc) - Saturday, 05 September 2015, 01:26 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 05 September 2015, 01:52 GMT
Opened by Felix Leblanc (fxleblanc) - Saturday, 05 September 2015, 01:26 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 05 September 2015, 01:52 GMT
|
Details
colord version: 1.2.12-1
When installing the package colord, a user with the same name is created with the home directory /var/lib/colord(https://projects.archlinux.org/svntogit/packages.git/tree/trunk/colord.install?h=packages/colord). However, when your uninstall the package, the colord user is not removed. The shadow.service then fails because the home directory doesn't exist anymore but the user still exists. Steps to reproduce: 1. Install the colord package 2. Uninstall the colord package 3. start the shadow service Logs: Sep 04 20:57:31 tx220 systemd[1]: Starting Verify integrity of password and group files... Sep 04 20:57:31 tx220 pwck[17070]: user 'colord': directory '/var/lib/colord' does not exist Sep 04 20:57:31 tx220 pwck[17070]: pwck: no changes Sep 04 20:57:31 tx220 systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Sep 04 20:57:31 tx220 systemd[1]: Failed to start Verify integrity of password and group files. Sep 04 20:57:31 tx220 systemd[1]: shadow.service: Unit entered failed state. Sep 04 20:57:31 tx220 systemd[1]: shadow.service: Failed with result 'exit-code'. Potential fix Delete the colord user in the post_remove hook ~ |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 05 September 2015, 01:52 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#44748
Saturday, 05 September 2015, 01:52 GMT
Reason for closing: Duplicate
Additional comments about closing: