FS#22420 - userdel -f option doesn't remove user's home directory

Attached to Project: Arch Linux
Opened by Hugh Secker-Walker (hughsw) - Friday, 14 January 2011, 02:12 GMT
Last edited by Allan McRae (Allan) - Friday, 14 January 2011, 05:58 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
On Pogoplug v1, the -f option to userdel does not remove the home directory

Additional info:
* package version(s)
* config and/or log files etc.
From /var/log/auth.log:
Jan 13 20:09:39 Plugbox useradd[1315]: new group: name=foon, GID=1000
Jan 13 20:09:39 Plugbox useradd[1315]: new user: name=foon, UID=1000, GID=1000, home=/home/foon, shell=/bin/bash
Jan 13 21:09:48 Plugbox userdel[1321]: delete user 'foon'
Jan 13 21:09:48 Plugbox userdel[1321]: removed group 'foon' owned by 'foon'


Steps to reproduce:
[root@Plugbox ~]# ls -lA /home/foon
ls: cannot access /home/foon: No such file or directory

[root@Plugbox ~]# useradd -m foon
[root@Plugbox ~]# ls -lA /home/foon
total 8
-rw-r--r-- 1 foon foon 16 Jul 24 22:59 .bash_profile
-rw-r--r-- 1 foon foon 108 Jul 24 22:59 .bashrc

[root@Plugbox ~]# userdel -f foon
[root@Plugbox ~]# ls -lA /home/foon
total 8
-rw-r--r-- 1 1000 1000 16 Jul 24 22:59 .bash_profile
-rw-r--r-- 1 1000 1000 108 Jul 24 22:59 .bashrc

This task depends upon

Closed by  Allan McRae (Allan)
Friday, 14 January 2011, 05:58 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Request reopen if it affects Arch Linux
Comment by Allan McRae (Allan) - Friday, 14 January 2011, 03:35 GMT
What is Pogoplug v1?
Comment by Hugh Secker-Walker (hughsw) - Friday, 14 January 2011, 03:51 GMT
It's an ARM plug computer based on the Sheevplug platform: http://www.pogoplug.com/home-en.html?

Your question is making wonder if archlinux may not be the upstream place to report issues.

ArchLinux installation instructions are here: http://www.plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot

dmesg says this:

Linux version 2.6.36 (root@Plugbox) (gcc version 4.4.3 (GCC) ) #1 PREEMPT Wed Dec 8 01:07:33 CST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board
Comment by Greg (dolby) - Friday, 14 January 2011, 04:05 GMT
I dont know if this problem does indeed happen with the package in the repositories but Arch doesnt have an official ARM port. As the site you linked to says: "Plugbox is *based* on Arch Linux" "Plugbox Linux is natively compiled on a Sheevaplug." Its a distribution fork, so you should report problems to them.

Loading...