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

Bug#640934: libc6: flock() does not longer work in encfs-encoded directories



On Thu, Sep 08, 2011 at 05:40:18PM +0200, Martin Ziegler wrote:
> Package: libc6
> Version: 2.13-18
> Severity: important
> 
> 
> After upgrading from 2.13-16 to 2.13-18, flock() stopped working
> for files in encfs-encoded directories.
> 
> strace yields
> 
> open("foo", O_RDWR)           		= 3
> flock(3, LOCK_SH)                       = -1 ENOSYS (Function not implemented)
> 

Given libc6 doesn't provide any wrapper around flock() and simply calls
the flock syscall, I really doubt it's a libc6 issue. It's looks like a
kernel issue. Have you upgraded your kernel at the same time than libc6?
Have you tried to downgrade it to 2.13-16 to see if the problem goes
away?

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: