[Bug 239069] Re: Can not delete new user which use "adduser"
my system : ~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.2 LTS Release:12.04 Codename: precise deluser error (in french) : ~# deluser --remove-home test Recherche des fichiers à sauvegarder ou à supprimer... Suppression des fichiers... Suppression de l'utilisateur « test »... Attention ! Le groupe « test » ne contient plus aucun membre. userdel: user test is currently logged in /usr/sbin/deluser : « /usr/sbin/userdel test » a retourné le code d'erreur 8. Abandon. files used by test : ~# lsof -u test COMMANDPID USER FD TYPE DEVICE SIZE/OFF NODE NAME menu-cach 3367 test cwdDIR8,2 4096 2 / menu-cach 3367 test rtdDIR8,2 4096 2 / menu-cach 3367 test txtREG8,218148 413326 /usr/lib/libmenu-cache1/libexec/menu-cached menu-cach 3367 test memREG8,262732 788094 /lib/i386-linux-gnu/libudev.so.0.13.0 menu-cach 3367 test memREG8,2 296228 781832 /lib/i386-linux-gnu/libdbus-1.so.3.5.8 menu-cach 3367 test memREG8,288600 416090 /usr/lib/i386-linux-gnu/gvfs/libgvfscommon.so menu-cach 3367 test memREG8,2 170836 416094 /usr/lib/i386-linux-gnu/gio/modules/libgvfsdbus.so menu-cach 3367 test memREG8,247040 788028 /lib/i386-linux-gnu/libnss_files-2.15.so menu-cach 3367 test memREG8,242652 788032 /lib/i386-linux-gnu/libnss_nis-2.15.so menu-cach 3367 test memREG8,292016 788045 /lib/i386-linux-gnu/libnsl-2.15.so menu-cach 3367 test memREG8,230520 788026 /lib/i386-linux-gnu/libnss_compat-2.15.so menu-cach 3367 test memREG8,213940 788040 /lib/i386-linux-gnu/libdl-2.15.so menu-cach 3367 test memREG8,230684 788031 /lib/i386-linux-gnu/librt-2.15.so menu-cach 3367 test memREG8,2 238984 781913 /lib/i386-linux-gnu/libpcre.so.3.12.1 menu-cach 3367 test memREG8,221944 392349 /usr/lib/i386-linux-gnu/libffi.so.6.0.0 menu-cach 3367 test memREG8,283776 788029 /lib/i386-linux-gnu/libresolv-2.15.so menu-cach 3367 test memREG8,2 120748 781889 /lib/i386-linux-gnu/libselinux.so.1 menu-cach 3367 test memREG8,283572 782053 /lib/i386-linux-gnu/libz.so.1.2.3.4 menu-cach 3367 test memREG8,213732 391656 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.3200.3 menu-cach 3367 test memREG8,2 1730024 788023 /lib/i386-linux-gnu/libc-2.15.so menu-cach 3367 test memREG8,2 124663 788033 /lib/i386-linux-gnu/libpthread-2.15.so menu-cach 3367 test memREG8,2 1014644 781871 /lib/i386-linux-gnu/libglib-2.0.so.0.3200.3 menu-cach 3367 test memREG8,2 317288 391659 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3 menu-cach 3367 test memREG8,2 1401664 391653 /usr/lib/i386-linux-gnu/libgio-2.0.so.0.3200.3 menu-cach 3367 test memREG8,226256 393193 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache menu-cach 3367 test memREG8,2 134344 788037 /lib/i386-linux-gnu/ld-2.15.so menu-cach 3367 test0r CHR1,3 0t0 5008 /dev/null menu-cach 3367 test1w CHR1,3 0t0 5008 /dev/null menu-cach 3367 test2w CHR1,3 0t0 5008 /dev/null menu-cach 3367 test3u 0,90 4983 anon_inode menu-cach 3367 test4u unix 0xf28a7680 0t0 19202 /tmp/.menu-cached- menu-cach 3367 test5u unix 0xf28a7d40 0t0 19208 /tmp/.menu-cached- menu-cach 3367 test6u unix 0xf281ed80 0t0 20978 /tmp/.menu-cached- menu-cach 3367 test7r 0,90 4983 anon_inode the process : ~# ps aux | grep menu-cached root 1734 0.0 0.1 6648 2464 ?S12:05 0:00 /usr/lib/libmenu-cache1/libexec/menu-cached test 3367 0.0 0.1 6648 2460 ?S12:21 0:00 /usr/lib/libmenu-cache1/libexec/menu-cached root 4219 0.0 0.0 4404 840 pts/0S+ 12:55 0:00 grep --color=auto menu-cached killing the process and deleting the user : ~# kill 3367 ~# deluser test Suppression de l'utilisateur « test »... Attention ! Le groupe « jdoe_pfe » ne contient plus aucun membre. Fait. Done. I hope it can helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
@martincloutier: Please don't touch at this bug's status without an explanation. Thanks. ** Changed in: adduser (Ubuntu) Assignee: martincloutier (martincloutier) => (unassigned) ** Changed in: adduser (Ubuntu) Status: In Progress => New ** Tags added: hardy lucid ** Changed in: adduser (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
I have a similar issue and it seems to be related to duplicate uid in /etc/passwd for the affected account. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
** Changed in: adduser (Ubuntu) Status: Confirmed => In Progress ** Changed in: adduser (Ubuntu) Assignee: (unassigned) => martincloutier (martincloutier) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Just rebooted my problem box and can run 'userdel ...' with no error. Rebooting is not always an option on a server though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Looks like I've run into this bug as well. Ubuntu server 10.04, 64 bit (installed from an iso image downloaded 27/01/2012 from ubuntu.com). I logged in to my box using my admin account and then ran 'sudo su' to change to root. To create the [new user] account I: 1. Created linux user [new user] ('useradd [new user]'). 2. Created samba user [new user] ('smbpasswd -a [new user]'). 3. Wanted to test the account so I 'su [new user]' then 'exit' back to my admin/root shell. 4. I realised I'd mis-type the [new user] username so deleted samba account ('smbpasswd -x [new user]') and tried to delete the linux account 'userdel [new user]'. Got error 'userdel: user [new user] is currently logged in'. I exited the terminal ssh session and logged back in but got same error. 'ps -U [new user] -a' gives me: PID TTY TIME CMD 2837 pts/000:00:00 su 2838 pts/000:00:00 bash 2860 pts/000:00:00 ps If I kill these processes, my admin/root session ends and when I log back in I get the same 'userdel: user [new user] is currently logged in' error. Running 'who' doesn't show [new user] logged in, just the admin account I'm logged in as. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Ubuntu 10.04.+1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/239069 Title: Can not delete new user which use "adduser" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/239069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Bumping this bug, as it's in effect. The user I'm trying to delete is "rtc" and I'm logged in as "watcher". Here's some output: ~: cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS" ~: w 22:46:07 up 8 days, 10:09, 3 users, load average: 0.04, 0.23, 0.12 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT watcher pts/099.230.244.2322:340.00s 0.20s 0.00s w ~: who watcher pts/0Oct 27 22:34 (99.230.244.23) ~: ps -U rtc -a PID TTY TIME CMD 9991 pts/000:00:00 ps ~: pkill -KILL -u rtc ~: sudo deluser rtc Removing user `rtc' ... userdel: user rtc is currently logged in /usr/sbin/deluser: `/usr/sbin/userdel rtc' returned error code 8. Exiting. ~: sudo userdel rtc userdel: user rtc is currently logged in -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
>After logging out test, can you please test with "ps -U test -a" whether there are still any processes from user 'test' left? there are none -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
After logging out test, can you please test with "ps -U test -a" whether there are still any processes from user 'test' left? -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Seems like enough people are able to reproduce this bug. ** Changed in: adduser (Ubuntu) Importance: Undecided => Medium -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
I can reproduce Ubuntu 8.04 ~# deluser anne Removing user `anne' ... Warning: Removing group `anne', since no other user is part of it. userdel: user anne is currently logged in /usr/sbin/deluser: `/usr/sbin/userdel anne' returned error code 8. Exiting. ~# who root pts/02008-06-15 18:50 (...) -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
This "Bug" maybe between Bach and Glibc -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
[EMAIL PROTECTED]:~$ sudo deluser test1 Removing user `test1' ... userdel: user test1 is currently logged in /usr/sbin/deluser: `/usr/sbin/userdel test1' returned error code 8. Exiting. [EMAIL PROTECTED]:~$ sudo userdel test1 userdel: user test1 is currently logged in [EMAIL PROTECTED]:~$ who freet15 tty7 Jun 11 09:58 (:0) freet15 pts/1Jun 11 11:09 (:0.0) freet15 pts/2Jun 11 13:21 (:0.0) freet15 pts/3Jun 11 11:11 (:0.0) [EMAIL PROTECTED]:~$ ps -aux |grep test freet15 19820 0.0 0.0 1784 548 pts/3S+ 14:59 0:00 grep test so, I have tried again, still get it. -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Is anybody else able to reproduce this? ** Changed in: adduser (Ubuntu) Importance: Undecided => Medium ** Changed in: adduser (Ubuntu) Importance: Medium => Undecided -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
i've reproduced this bug. ** Changed in: adduser (Ubuntu) Sourcepackagename: None => adduser Status: New => Confirmed -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
I attempted to reproduce this, but I also did not succeed. As an idea, try your test and then attach the output of ps aux > ps_aux.log -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
a second run makes me say indeed, I also can confirm. -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Yes, I did this via command line following your instructions to reproduce. We will just wait and see if anybody else can duplicate it. -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 239069] Re: Can not delete new user which use "adduser"
Hmm all test must be use command line , you did not use "Users Administration Tool" ?! But, In my system and some confrere`s, this issue reproduce every time.. :( On Wed, Jun 11, 2008 at 12:12 PM, Nick Ellery <[EMAIL PROTECTED]> wrote: > Yes, I attempted to reproduce this in Hardy, but I did not succeed. > > -- > Can not delete new user which use "adduser" > https://bugs.launchpad.net/bugs/239069 > You received this bug notification because you are a direct subscriber > of the bug. > ** Attachment added: "unnamed" http://launchpadlibrarian.net/15187869/unnamed -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Yes, I attempted to reproduce this in Hardy, but I did not succeed. -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
I forget to post the version of ubuntu . I got this bug from ubuntu 8.04. -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 239069] Re: Can not delete new user which use "adduser"
Thanks for your bug report. I tried to duplicate this error, but failed to succeed. Is anybody else able to reproduce this? -- Can not delete new user which use "adduser" https://bugs.launchpad.net/bugs/239069 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs