SPECS: inn.spec - more logs cleanup (or does it write directly the...

Elan Ruusamäe glen at delfi.ee
Sun Mar 26 14:05:36 CEST 2006


On Saturday 25 March 2006 18:13, Jakub Bogusz wrote:
> These files are handled through syslog.
> But inn directly creates some more log files, not handled by rpm
> package now:
>
> # 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
> inn-2.4.2-1.athlon
> inn-2.4.2-1.athlon
> inn-2.4.2-1.athlon
> file /var/log/news/unwanted.log is not owned by any package

it sure is inconsistent.

# lsof | grep /var/log/news
syslogd    3019     syslog    9w      REG      254,2         0     217765 /var/log/news.crit
syslogd    3019     syslog   10w      REG      254,2         0     202990 /var/log/news.err

# rpm -qf /var/log/news.crit /var/log/news.err /var/log/messages
file /var/log/news.crit is not owned by any package
file /var/log/news.err is not owned by any package
syslog-1.4.1-20

-- 
glen


More information about the pld-devel-en mailing list