Comment 1 for bug 374843

Revision history for this message
Ray Banana (rayban) wrote :

This problem seems to be caused by sysklogd not re-opening the news.* related log files
during a reload (kill -1). The problem does not occur when sysklogd is restarted instead of
reloaded.

Obviously, sysklog gets the information on which log files it should re-open from
 /usr/sbin/syslogd-listfiles -a. On Ubuntu 8.04, /usr/sbin/syslogd-listfiles -a ignores the news.* related log files
because of

| # These files are handled by news.daily from INN, so we ignore them
| next if (!$opt_news && ($pat =~ /news\.(\*|crit|err|info|notice)/));

I changed this line to

| # These files are handled by news.daily from INN, so we ignore them
| next if (!$opt_news &&!$opt_all && ($pat =~ /news\.(\*|crit|err|info|notice)/));

and INN now continues to log to news.* after the daily restart of sysklogd.

Ubuntu 9.04 does not have this this problem.