[Pkg-shadow-devel] useradd fails (cannot lock /etc/passwd)

Alexander Gattin xrgtn at yandex.ru
Thu Nov 12 16:33:36 UTC 2009


Hello,

On 12 лист. 2009, at 14:49, Nicolas François <nicolas.francois at centralien 
s.net> wrote:
> On Thu, Nov 12, 2009 at 12:29:12PM +0100, 9jd5b2 at gmail.com wrote:
>>
>>
>>
>>
>> open("/etc/.pwd.lock", O_WRONLY|O_CREAT|O_CLOEXEC, 0600) = 3
> The file could be created.
>>
>> fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) =
>> -1 EACCES (Permission denied)
>
> This is not normal, and I have no idea why this fails.

Can fail, for example, on some strange networking filesystem. Or non- 
standard  kernel.

-- 
WBR, xrgtn


More information about the Pkg-shadow-devel mailing list