Bug#603753: Bug#603315: [Pkg-shadow-devel] Bug#603315: Bug#603315: wrongly complains about user being logged in on userdel

Cyril Brulebois kibi at debian.org
Thu Jan 20 00:46:37 UTC 2011


Nicolas François <nicolas.francois at centraliens.net> (16/11/2010):
> clone 603315 -1
> reassign -1 gdm3
> retitle -1 user Debian-gdm shall not be deleted during purge before its processes are terminated
> severity 603315 wishlist
> thanks

For completeness:
| Log started: 2011-01-20  01:34:55
| (Reading database ... 222447 files and directories currently installed.)
| Removing at-spi ...
| Processing triggers for gconf2 ...
| (Reading database ... 222319 files and directories currently installed.)
| Removing gdm3 ...
| Stopping GNOME Display Manager: gdm3.
| Purging configuration files for gdm3 ...
| Removing user `Debian-gdm' ...
| Warning: group `Debian-gdm' has no more members.
| userdel: user Debian-gdm is currently logged in
| /usr/sbin/deluser: `/usr/sbin/userdel Debian-gdm' returned error code 8. Exiting.
| dpkg: error processing gdm3 (--purge):
|  subprocess installed post-removal script returned error exit status 1
| Processing triggers for hicolor-icon-theme ...
| Processing triggers for man-db ...
| Processing triggers for gconf2 ...
| Processing triggers for menu ...
| Errors were encountered while processing:
|  gdm3
| Log ended: 2011-01-20  01:35:18

> (I did not check the gdm3 script, so I'm not sure of the best
> solution for gdm3, I just assume that a service need first to be
> killed before the user can be deleted)

Reproducing it is trivial: once you're done with tracking down a gdm3
bug, decide to run “aptitude purge gdm3” while you're still logged in,
and there you go.

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110120/03a5bf5a/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list