2009/9/23 Milan Bouchet-Valat <email address hidden>
> Just an idea: do you happen to be using some strange file system on your
> root partition, or specific mount option? I don't know whether that
> could affect file locks, but...
Ext4 for all my partitions, /home encrypted, nothing else special.
tta@dv5:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda2 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
/home/tta/.Private on /home/tta type ecryptfs
(ecryptfs_sig=xxxxxxxxxxxxx,ecryptfs_fnek_sig=xxxxxxxxxxxxx,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
gvfs-fuse-daemon on /home/tta/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=tta)
Tried to add new user:
tta@dv5:~$ sudo adduser test
[sudo] password for tta:
Adding user `test' ...
Adding new group `test' (1001) ...
Adding new user `test' (1001) with group `test' ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /home/test -g test -s /bin/bash -u 1001 test'
returned error code 1. Exiting.
tta@dv5:~$
2009/9/23 Milan Bouchet-Valat <email address hidden>
> Just an idea: do you happen to be using some strange file system on your
> root partition, or specific mount option? I don't know whether that
> could affect file locks, but...
Ext4 for all my partitions, /home encrypted, nothing else special. remount- ro) nosuid, nodev) fuse/connection s type fusectl (rw) security type securityfs (rw) nosuid, gid=5,mode= 0620) mode=0755) nosuid, nodev) mode=0755) fs/binfmt_ misc type binfmt_misc nosuid, nodev) sig=xxxxxxxxxxx xx,ecryptfs_ fnek_sig= xxxxxxxxxxxxx, ecryptfs_ cipher= aes,ecryptfs_ key_bytes= 16) fuse-daemon nodev,user= tta)
tta@dv5:~$ mount
/dev/sda1 on / type ext4 (rw,errors=
none on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
none on /lib/init/rw type tmpfs (rw,nosuid,
/dev/sda2 on /home type ext4 (rw)
binfmt_misc on /proc/sys/
(rw,noexec,
/home/tta/.Private on /home/tta type ecryptfs
(ecryptfs_
gvfs-fuse-daemon on /home/tta/.gvfs type fuse.gvfs-
(rw,nosuid,
Tried to add new user:
tta@dv5:~$ sudo adduser test
[sudo] password for tta:
Adding user `test' ...
Adding new group `test' (1001) ...
Adding new user `test' (1001) with group `test' ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /home/test -g test -s /bin/bash -u 1001 test'
returned error code 1. Exiting.
tta@dv5:~$