[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logcheck development



On Tue, Feb 20, 2001 at 04:17:16PM +0100, Rene Mayrhofer wrote:
> The question is now: how should this method be integrated with the .d
> directories ? At the moment I am thinking about workstation.ignore.d,
> server.ignore.d and paranoid.ignore.d with ignore.d being a symlink to
> one of them (as logcheck.ignore is now a symlink to
> logcheck.ignore.(workstation|server|paranoid). This way, Debian packages
> could bring ignore rules in files in
> (workstation|server|paranoid).ignore.d directories and therefore
> automatically benefit of the user's setting of the logcheck default
> configuration. What do you think ? Is there a better way to integrate .d
> directories with different default configurations ? I was also thinking
> about handling this in the postinst of each package providing logcheck
> ignore files, but this should definitely be handled by a dh_logcheck
> script in debhelper. Please tell me what you think about this. I would
> like to desing some scheme that will hold for quite some time.

I suggest instead one of:

1. Have /etc/logcheck/{workstation,serer,paranoid}/package
2. Put all three in /etc/logcheck/package

Try to avoid adding more stuff in postinst, please... :)

-- 
Taral <taral@taral.net>
Please use PGP/GPG to send me mail.
"Never ascribe to malice what can as easily be put down to stupidity."

Attachment: pgpfwa44aHYkz.pgp
Description: PGP signature


Reply to: