[CSL #248914] [OpenAFS] flock() behavior openafs-1.2.11

Derrick J Brashear shadow@dementia.org
Wed, 1 Dec 2004 16:07:40 -0500 (EST)


On Wed, 1 Dec 2004, David Thompson wrote:


> The command I used on the clients was:
>
> tcpdump -vv -s 1500 port 7001
>                         ^^^^
>
> Hope that's right...

Doesn't matter. the traffic will all be from port 7001 to port 7000, and 
back.

> Box 2 (failure):
>
> 14:57:52.434114 tortoise.cs.wisc.edu.afs3-callback >
> asok.cs.wisc.edu.afs3-fileserver: [udp sum ok]  rx data cid b6ced414 call# 39
> seq 1 ser 75 <client-init>,<last-pckt> fs call setlock fid 2004136721/202/3715
> (48) (DF) (ttl 64, id 35853, len 76)
> 14:57:52.434550 asok.cs.wisc.edu.afs3-fileserver >
> tortoise.cs.wisc.edu.afs3-callback: [udp sum ok]  rx abort cid b6ced414 call#
> 39 seq 0 ser 43 fs reply setlock error #13 (32) (DF) (ttl 254, id 10786, len
> 60)

ok, so does the thing trying to set the lock have "k" permission on the 
dir?

yes, the difference is the "old" kernel never tried. but why does the new 
kernel lose?