[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file locking problems?

> update-passwd (a Debian package) makes a call to lckpwdf. That fails
> with an "Invalid argument" message. It looks like lckpwdf internally uses
> fcntl() locking, so I tried that and it too fails with an "Invalid
> argument" message.  This happens both on nfs and local ext2 fs.
> Similar tests with flock() seems to work ok.

as it turns out, it looks like there's a glibc<->kernel mismatch. 
the kernel defines F_RDLCK as 1, and glibc has it defined as 0. dhd is
aware of this and say he'll look into fixing this later this week.

Debian Developer <tausq@debian.org>

Reply to: