Re: 2.6.15-rc3: adduser: unable to lock password file

From: Trond Myklebust
Date: Sat Dec 03 2005 - 10:11:27 EST


On Sat, 2005-12-03 at 14:00 +0100, JaniD++ wrote:

> Here is the strace-s output: (20KB)
> http://download.netcenter.hu/bughunt/20051203/adduser.log
>
> This problem is always on on 2.6.15-rc3, and newer on 2.6.14.2

OK... Looks like it is bailing out after the lines

link("/etc/passwd.2522", "/etc/passwd.lock") = 0
stat64("/etc/passwd.2522", {st_mode=S_IFREG|0600, st_size=5, ...}) = 0

I'll bet the stat64 is filing to show that the file now has 2 links.

As a first step, could you please grab the 2 patches

http://client.linux-nfs.org/Linux-2.6.x/2.6.15-rc4/linux-2.6.15-01-nfs-cache-init.dif
and
http://client.linux-nfs.org/Linux-2.6.x/2.6.15-rc4/linux-2.6.15-02-fix_cache_consistency.dif

and see if they fix the problem?

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/