[Pkg-aide-maintainers] Bug#387806: Better syslog integration

Tim Stoop tim at cidev.nl
Mon Sep 18 13:23:10 UTC 2006


Hello there,

I'd like to add to the original posting of this bug. The config-file  
31_aide_syslog isn't really usable in this form. Besides the  
originally posted extra subdirectory that doesn't exist, there are  
more logs that just aren't added. I've made an alternative  
31_aide_syslog with the following content:

/var/log/(messages|syslog|auth\.log|cron\.log|daemon\.log|kern\.log| 
lpr\.log|mail\.log|user\.log|uucp\.log)\.0$ LowLogs
/var/log/(messages|syslog|auth\.log|cron\.log|daemon\.log|kern\.log| 
lpr\.log|mail\.log|user\.log|uucp\.log)\.1\.gz$ RotatedLogs+ANF
/var/log/(messages|syslog|auth\.log|cron\.log|daemon\.log|kern\.log| 
lpr\.log|mail\.log|user\.log|uucp\.log)\.[0-9]+\.gz$ RotatedLogs
/var/log/(messages|syslog|auth\.log|cron\.log|daemon\.log|kern\.log| 
lpr\.log|mail\.log|user\.log|uucp\.log)$ Logs
/var/log$ VarDir
/var/run/(klogd|syslogd)\.pid$ VarFile

(Sorry for the insane long lines.)

Perhaps this isn't correct either, because I'm not really sure if  
syslog owns lpr.log and mail.log, or if these are owned by lpr/cups  
and the installed MTA. Both files are mentioned in /etc/syslog.conf,  
though.

Other files that probably should be included (easily found by looking  
at /etc/syslog.conf):
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/news/news.crit
/var/log/news/news.err
/var/log/news/news.notice
/var/log/debug

And I agree with the original poster that I'm not really sure if this  
is the correct place for /var/log$. Hope this helped, at least.

-- 
Met vriendelijke groet,
Tim Stoop
Cidev v.o.f.
http://www.cidev.nl
KvK nummer: 14072991

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-aide-maintainers/attachments/20060918/bfeeeee6/PGP.pgp


More information about the Pkg-aide-maintainers mailing list