FS#47893 - [tor] tor user leftover in /etc/passwd, makes pwck fail
Attached to Project:
Community Packages
Opened by Bastien Traverse (Neitsab) - Monday, 25 January 2016, 15:04 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 25 January 2016, 15:08 GMT
Opened by Bastien Traverse (Neitsab) - Monday, 25 January 2016, 15:04 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 25 January 2016, 15:08 GMT
|
Details
Description:
shadow.service fails upon boot with the following message: pwck[718]: tor user: directory « /var/lib/tor » does not exist pwck[718]: pwck : no change systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT systemd[1]: Failed to start Verify integrity of password and group files. systemd[1]: shadow.service: Unit entered failed state. systemd[1]: shadow.service: Failed with result 'exit-code'. Entry "tor:x:43:43::/var/lib/tor:/bin/false" is present in /etc/passwd despite package removal. I guess adding a post_uninstall() hook to remove this user would do the trick, except if we cannot because it owns files (case of transmission-cli). Additional info: I have tor-browser-fr from AUR[1] installed, but neither PKGBUILD nor .install file deal with /var/lib/tor. [1] https://aur.archlinux.org/packages/tor-browser-fr/ Steps to reproduce: * Install and uninstall tor * run pwck -r |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 25 January 2016, 15:08 GMT
Reason for closing: Not a bug
Additional comments about closing: So fix it. This isn't something that can be dealt with automatically
Monday, 25 January 2016, 15:08 GMT
Reason for closing: Not a bug
Additional comments about closing: So fix it. This isn't something that can be dealt with automatically