The Gentoo OpenAFS docs say to do this: # /usr/afs/bin/fs setacl /afs system:anyuser rl When I do I get this error. fs:'/afs': Function not implemented This happens with any of the fs setacl commands at the end of the docs. I've looked at the OpenAFS docs in detail (Admin ref, etc.) and tried various forms of the the command and it just doesn't work.
I suspect your cache manager isn't running. # /etc/init.d/afs stop # fs listacl /afs fs:'/afs': Function not implemented # /etc/init.d/afs start * Starting AFS services... afsd: All AFS daemons started. [ ok ] # fs listacl /afs Access list for /afs is Normal rights: system:administrators rlidwka system:anyuser rl Do you have any afsd processes running?
It may not have been. The next day I went back and instead of following the Gentoo docs I followed the OpenAFS docs for setup. There are quite a few differences in what order things are done in between the docs. With OpenAFS docs it worked. At this point I'd close this bug. There are other things wrong with the Gentoo AFS (such as the /etc/init.d/afs script having a bug with multiline output) and I need to work with it some more.
Created attachment 25952 [details, diff] This substitutes old_gid_t for u16, which is needed for amd64. I have not tested this patch (yet) on x86 and alpha and currently only apply it if "${ARCH}" = "amd64". It might be that it works everywhere. -Jacob
Hmm. that attachment wasn't supposed to go with this bug. I never have looked at this bug. Very odd... -Jacob
OpenAFS needs a developer to take up maintenance.
I also think this bug was misconfiguration -- the host was not running afs client at that very moment.
Closing as requested by reporter. Probably caused by /afs not being mounted, possibly as a result of bad gentoo openafs docs.