Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97478 - OpenAFS syslog option
Summary: OpenAFS syslog option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 04:52 UTC by Tommie
Modified: 2005-09-01 17:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommie 2005-06-30 04:52:56 UTC
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.
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-30 14:30:03 UTC
OpenAFS needs a developer to take up maintenance.
Comment 2 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-13 12:04:39 UTC
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?
Comment 3 Tommie 2005-08-15 00:24:12 UTC
Yes, you must specify -syslog for each daemon you add, whether directly in 
BosConfig or using bos install.
Comment 4 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-15 01:50:10 UTC
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?
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-16 07:01:39 UTC
Please react to comment #4
Comment 6 Tommie 2005-08-18 07:09:23 UTC
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).
Comment 7 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-19 02:05:53 UTC
Agreed.  Please try http://bugs.gentoo.org/attachment.cgi?id=66295&action=view
(attached to bug #100837, which tracks the newly proposed ebuilds)
Comment 8 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-01 17:51:39 UTC
Fixed in openafs-1.4.0_rc2