FS#45140 - [deluge] pacman doesn't remove user "deluge" when uninstalling deluge

Attached to Project: Arch Linux
Opened by Drosera Sprout (droserasprout) - Saturday, 30 May 2015, 08:09 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 26 July 2016, 14:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

pacman doesn't remove user "deluge" when uninstalling deluge, but removes /srv/deluge. It makes "shadow.service" fail at startup.

Tested on: deluge 1.3.11-3, systemd 219-6.

Steps to reproduce:

$ sudo pacman -Syu deluge
$ sudo pacman -Rs deluge
$ sudo systemctl start shadow.service
$ sudo systemctl status shadow.service
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-05-30 10:50:50 MSK; 1min 38s ago
Process: 1502 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 1502 (code=exited, status=2)

May 30 10:50:50 arch-home systemd[1]: Starting Verify integrity of password and group files...
May 30 10:50:50 arch-home systemd[1]: Failed to start Verify integrity of password and group files.
May 30 10:50:50 arch-home systemd[1]: Unit shadow.service entered failed state.
May 30 10:50:50 arch-home systemd[1]: shadow.service failed.
May 30 10:50:50 arch-home pwck[1502]: пользователь «deluge: каталог «/srv/deluge» не существует
May 30 10:50:50 arch-home pwck[1502]: pwck: изменения не внесены
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 26 July 2016, 14:58 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Working as intended
Comment by Jan de Groot (JGC) - Saturday, 30 May 2015, 08:26 GMT
Users should not be removed on uninstall, as this leaves files around without ownership.
Comment by Drosera Sprout (droserasprout) - Saturday, 30 May 2015, 16:46 GMT
So package manager just shouldn't touch /srv/deluge, right?

Loading...