Please improve the messages so that user knows what actually has failed.

# rm /usr/afs/etc/KeyFile 
# /usr/afs/bin/bos listkeys -server phylo -localauth
bos: could not find entry (getting key from local KeyFile)
bos: running unauthenticated
All done.
# cp /usr/vice/etc/KeyFile /usr/afs/etc/KeyFile 
# /usr/afs/bin/bos listkeys -server phylo -localauth
bos: ticket contained unknown key version number error encountered while 
listing keys
# 

This was tested with current cvs checkout, HEAD or whatever is the default.
It is interresting to see that strace shows that bos has opened 
/usr/vice/etc/KeyFile
but much later tries also to open /usr/afs/etc/KeyFile and when that fails, it
spits the "bos: could not find entry (getting key from local KeyFile)" message.
I doubt why it has ever tried to open the /usr/vice/etc/KeyFile file then
when it did not make use of it?
Martin
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to