SPECS: inn.spec - more logs cleanup (or does it write directly the...
qboosh at pld-linux.org
Sat Mar 25 17:13:30 CET 2006
Switched to proper list...
On Sat, Mar 25, 2006 at 05:02:58PM +0100, Paweł Gołaszewski wrote:
> On Sat, 25 Mar 2006, glen wrote:
> > Author: glen Date: Sat Mar 25 15:50:58 2006 GMT
> > Module: SPECS Tag: HEAD
> > ---- Log message:
> > - more logs cleanup (or does it write directly there?)
> > -touch $RPM_BUILD_ROOT/var/log/news/news.notice
> > -touch $RPM_BUILD_ROOT/var/log/news/news.crit
> > -touch $RPM_BUILD_ROOT/var/log/news/news.err
> AFAIR it can write there directly.
> Anyway - spec in PLD needs a lot of work...
These files are handled through syslog.
But inn directly creates some more log files, not handled by rpm
# lsof | grep /var/log/news
innd 5582 news 2w REG 3,1 0 8401144 /var/log/news/errlog
syslog-ng 7014 root 11w REG 3,1 39176 9612435 /var/log/news/news.notice
syslog-ng 7014 root 21w REG 3,1 9850 9618089 /var/log/news/news.crit
# LC_ALL=C rpm -qf /var/log/news/*
file /var/log/news/errlog is not owned by any package
file /var/log/news/expire.list is not owned by any package
file /var/log/news/expire.log is not owned by any package
file /var/log/news/news is not owned by any package
file /var/log/news/unwanted.log is not owned by any package
BTW: is it INN (2.4.2) or syslog-ng (1.9.9) fault to write non-critical
messages to news.crit, like these?
Mar 25 16:38:05 machine nnrpd: Reading access from /etc/news/readers.conf
Mar 25 16:38:05 machine nnrpd: Auth strategy 'localhost' does not match client. Removing.
Mar 25 16:38:05 machine nnrpd: machine.domain res <localnet>
Mar 25 16:38:05 machine nnrpd: machine.domain match_user <localnet> <localnet>
innwatch annoys me each time I run slrn.
It happens since syslog-ng upgrade to 1.9.9.
Jakub Bogusz http://qboosh.cs.net.pl/
More information about the pld-devel-en