While resolving a problem in my OpenAFS installation I found the -syslog option to {bos,vl,pt,file,vol}server. This makes logging to /usr/afs/weirdlocation/logs unneccessary. For those who, like me, like to have filtering and log rotation in a single program, this is a good thing. So, I would suggest adding a $SERVER_OPTIONS to /etc/afs/afs.conf and to append this when launching bosserver. Also give a tip on the -syslog option in afs.conf. Reproducible: Always Steps to Reproduce: 1. 2. 3.
OpenAFS needs a developer to take up maintenance.
It seems to me the -syslog option is not passed by the bosserver to the file/vl/...-server, so /etc/openafs/BosConfig might be the only place to force this option upon all services. I may be incorrect about this, I normally don't use this option. Comments / thoughts?
Yes, you must specify -syslog for each daemon you add, whether directly in BosConfig or using bos install.
I've seen this is also explained in the gentoo openafs documentation. So adding the -syslog option is a matter of user configuration. The question is then: do you deem it sufficiently useful to add a BOSSERVER_OPTIONS configuration option to /etc/conf.d/afs, to be able to enable this only for the bosserver?
Please react to comment #4
Yes. Doing a BOSSERVER_OPTIONS in afs.conf (has it been moved from /etc/afs/afs.conf?) would suffice now that the -syslog options is documented in the handbook. You can't do more in the /etc/conf.d/afs file... The rest is up to the server administrator. It's just annoying OpenAFS can't log as all others do (except MySQL without patches, of course).
Agreed. Please try http://bugs.gentoo.org/attachment.cgi?id=66295&action=view (attached to bug #100837, which tracks the newly proposed ebuilds)
Fixed in openafs-1.4.0_rc2