Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37441

Summary: OpenAFS 1.2.10-r1 fs set acl doesn't work (or maybe the docs are wrong)
Product: Gentoo Linux Reporter: Brett I. Holcomb <brettholcomb>
Component: Current packagesAssignee: Stefaan De Roeck (RETIRED) <stefaan>
Status: RESOLVED INVALID    
Severity: major CC: net-fs, rphillips, rutledad, steven.jenkins
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: This substitutes old_gid_t for u16, which is needed for amd64.

Description Brett I. Holcomb 2004-01-06 18:35:34 UTC
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.
Comment 1 Steven Jenkins 2004-01-16 04:52:09 UTC
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?
Comment 2 Brett I. Holcomb 2004-01-20 17:05:59 UTC
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.
Comment 3 Jacob Joseph 2004-02-19 15:19:16 UTC
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
Comment 4 Jacob Joseph 2004-02-19 15:20:45 UTC
Hmm.  that attachment wasn't supposed to go with this bug.  I never have looked at this bug.  Very odd... -Jacob
Comment 5 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-30 14:30:07 UTC
OpenAFS needs a developer to take up maintenance.
Comment 6 Martin Mokrejš 2005-07-02 07:30:37 UTC
I also think this bug was misconfiguration -- the host was not running afs
client at that very moment.
Comment 7 Stefaan De Roeck (RETIRED) gentoo-dev 2005-07-28 08:50:08 UTC
Closing as requested by reporter.  Probably caused by /afs not being mounted,
possibly as a result of bad gentoo openafs docs.