[Bug 374843] Re: inn2 news.daily dies after syslog is rotated

Ray Banana rayban at banana.shacknet.nu
Wed May 13 18:51:51 UTC 2009


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.

-- 
inn2 news.daily dies after syslog is rotated
https://bugs.launchpad.net/bugs/374843
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list