[OpenAFS] text file busy: ?! Help!!!!!

Paolo Saggese Paolo.Saggese@lngs.infn.it
Mon, 23 Jul 2001 20:20:03 +0200


Hi everybody,

sorry for boring you again, but I'm in big trouble... here is the story.

I'm running Linux Mandrake 8.0, with kernel 2.4.5-5mdk (from MandrakeFreq=
).

I have downloaded the OpenAFS src.rpm for RH71, which I belive is the clo=
ser=20
match to my ditro... I have also downloaded and installed the needed krb =
rpm=20
packages (from RH71, too):

[pcsaggese /users/saggese]% rpm -qva | grep krb
krbafs-1.0.5-1
krbafs-utils-1.0.5-1
krb5-libs-1.2.2-5
pam_krb5-1.31-1
krb5-devel-1.2.2-4
krb5-workstation-1.2.2-5

I successfully rebuilt the OpenAFS src.rpm, and installed the following=20
binary packages:

openafs-client-1.0.4-24.2
openafs-kernel-1.1.1-24.1
openafs-1.1.1-24.1

I have configured /usr/vice/etc/ThisCell and the pam.d stuff, then I star=
ted=20
afs running "/etc/init.dafs start".

OK, up to this point everything seemed to be fine: I can log in and do ge=
t=20
the token, I can see my files on AFS, I can open them... but, as soon as =
I=20
tryed to modify one of them, I discovered I couldn't do it!!! ( :-O  :-/

Here is an example of what happen:

% tokens
=20
Tokens held by the Cache Manager:
=20
User's (AFS ID 250) tokens for afs@lngs.infn.it [Expires Jul 24 21:01]
   --End of list--
% fs la
Access list for . is
Normal rights:
  system:administrators rlidwka
  saggese rlidwka
% touch pippo
% ls pippo
pippo
% ls > pippo
zsh: file exists: pippo
% rm pippo
rm: remove `pippo'? y
% ls > pippo
zsh: text file busy: pippo
% cp /tmp/openafs-1.1.1-24.1.src.rpm .
cp: cannot create regular file `./openafs-1.1.1-24.1.src.rpm': Text file =
busy
%

As you can see, the token is there, and the permission are as usual... I =
can=20
create an empty file with "touch", remove an existing file with "rm", but=
 can=20
not add a non-empty file or change an existing file either!  ( :-O  :-/  =
:-?

At this point I'm clueless... any idea of what can be the source of this=20
strange problem?


Thanks a lot in advance...


Ciao,
=09=09=09=09Paolo.

--
http://borex.lngs.infn.it/saggese
You can still escape from the GATES of hell: Use Linux!