[OpenAFS] Trouble in the final stages (fs setacl)

Eike Suthau eike.suthau@mailbox.tu-dresden.de
Mon, 10 Mar 2003 22:11:12 +0100


Hello,=20

Being a newbie to AFS I've tried to follow the guide at=20
http://www.scode.org/afs/openafs-install.txt to the letter, unfortunately=
 I=20
ran into trouble during the last steps in the setup process. I'm using De=
bian=20
with a 2.4.20 kernel.

When setting permissions for /afs I get:
server:/# fs setacl /afs system:anyuser rl
fs: You don't have the required access rights on '/afs'

What's really strange to me is that the bos command notices that the admi=
n=20
user is at work.

These are the steps that I have undertaken and there was no straneg behav=
iour=20
up to the last point on my list:

1.=09apt-get install krb5-admin-server krb5-doc krb5-kdc
2.=09krb5_newrealm
3.=09kadmin.local -q "addprinc -randkey afs"
4.=09kadmin.local -q "ktadd -e des-cbc-crc:afs3 afs"
5.=09apt-get install openafs-client=3D1.2.8-4 openafs-dbserver=3D1.2.8-4=20
openafs-fileserver=3D1.2.8-4 openafs-krb5
6.=09asetkey add 3 /etc/krb5.keytab afs
7.=09/etc/init.d/openafs-fileserver stop
8.=09bosserver -noauth
9.=09bos listhost server -noauth
10.=09bos create -server server -instance ptserver -type simple -cmd=20
/usr/lib/openafs/ptserver -cell local -noauth
11.=09kadmin.local -q "addprinc admin"
12.=09bos adduser server admin -cell local -noauth
13.=09bos listkeys server -cell local -noauth
13a.=09cp /etc/openafs/CellServDB /etc/openafs/server
14.=09pts createuser -name admin -cell local -noauth
15.=09pts adduser admin system:administrators -cell local -noauth
16.=09pts membership admin -cell local -noauth
17.=09bos restart server -all -cell local -noauth
18.=09bos create -server server -instance fs -type fs -cmd=20
/usr/lib/openafs/fileserver -cmd /usr/lib/openafs/volserver -cmd=20
/usr/lib/openafs/salvager \
=09-cmd /usr/lib/openafs/vlserver -cell local -noauth
19.=09bos status server fs -long -noauth
20.=09mkdir /vicepa/
21.=09mkdir /var/afs
22.=09dd if=3D/dev/zero of=3D/var/afs/afs_img  bs=3D1M count=3D500
23.=09mke2fs /var/afs/afs_img
24.=09echo "/var/afs/afs_img /vicepa ext2 defaults,loop 0 2" >>/etc/fstab
25.=09mount /vicepa
26.=09vos create -server server -partition /vicepa -name root.afs -cell l=
ocal
27.=09bos shutdown server -noauth
28.=09pkill bosserver
29.=09/etc/init.d/openafs-fileserver start
30.=09[build AFS modules]
31.=09vi /etc/init.d/openafs-client [correct module path]
32. =09/etc/init.d/openafs-client start
33. =09fs check
34.=09fs setacl /afs system:anyuser rl

Maybe it is trivial but I haven't found a hint to my problem on the web.
Regards,
eike