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
On Tue, Nov 16, 2010 at 12:14:53AM +0100, bi...@debian.org wrote: > On 15.11.2010 23:12, Nicolas François wrote: > > On Fri, Nov 12, 2010 at 10:59:56PM +0100, bi...@debian.org wrote: > >> > >> today I tried to purge the gdm3 package, which in postrm tries to delete > >> the "Debian-gdm" user it created on installation. This failed though, as > >> userdel wrongly complained about the user being logged in: > >> > >> pluto:~# lastlog -u Debian-gdm > >> Username Port From Latest > >> Debian-gdm **Never logged in** > >> pluto:~# userdel Debian-gdm > >> userdel: user Debian-gdm is currently logged in > > > > Instead of using lastlog, can you try if Debian-gdm is still executing > > processes? > > > > (something like "ps U Debian-gdm") > > > > There was indeed a process running under the Debian-gdm uid: > 1419 ? S 0:00 > /usr/lib/policykit-1-gnome/polkit-gnome-authenticatio > > I tried to reproduce the problem (install and uninstall gdm3) but failed so > far, > so I'm not sure what to do about this bug. > > At least the error message was a bit misleading. If it had said something > like: > the following processes are still running under that user uid > ... > > it would have been more obvious to me what was going on. In shadow, I will change the error message so that it became clearer. (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) -- Nekral -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org