I'm pretty sure we are not the only people who are (or would like)
automating AFS management. One major problem, IMO, is that the
AFS commands (hope this isn't a trade secret :) do this:
code = cmd_Dispatch(argc,argv);
exit (code != 0);
We would surely appreciate:
exit (cmd_Dispatch(argc,argv));
then our automated process could tell whether or not to retry
an operation another time (or if doing so would just be a
waste of time). For example, this:
Jul 24 13:34:08 <12223> afs.incr: members
(hascall,USER,root,maillist,afsgid:3000079,afsgroup)->()
Jul 24 13:34:09 <12223> afs.incr: Doing (try 1): /usr/afs/bin/pts removeuser -user
root -group system:hascall
Jul 24 13:34:10 <12223> /usr/afs/bin/pts: User or group doesn't exist so failed to
remove user root from group system:hascall
is not going to succeed, no matter how many times it gets tried.
John