Bug 351

Summary: newsyslog does not start one of the jobs specified in the command column in newsyslog.conf
Product: Newsyslog Reporter: yifeng <lyfjura>
Component: NewsyslogAssignee: Todd C. Miller <Todd.Miller>
Status: NEW ---    
Severity: normal    
Priority: normal    
Version: 1.1   
Hardware: Other   
OS: OpenBSD   

Description yifeng 2009-04-30 16:01:27 MDT
I have installed newsyslog program on my system configured my newsyslog.conf with one of the following line,

/var/log/mylogdir/messages 644 5 30 24 Z "/bin/kill -HUP `cat /var/run/syslog.pid`; /myexecuteable/bin/emrsjob -s elog0 & ;"

And newsyslog is started as cron job every hour. The problem is that the job, "/bin/kill -HUP 'cat /var/run/syslog.pid'" is always started every time when newsyslog rolltate the log file, but it does not always start the second job, "/myexecuteable/bin/emrsjob -s elog0 &", which is a shell script. With "does not always" I mean problem occurs in 30% of the cases.

I am wondering if there are any special known behavior of newsyslog that I am not aware of.

Thanks for the help,

yifeng