Hello,
I run exicyclog every hour as a root cronjob.
Occasionally, exim somehow crashes at around the same time. The only clue about what may have happened is the paniclog:
paniclog shows:
2013-09-27 14:00:03 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=93 egid=93
Looking at exicyclog, at one point it does the following:
[...]
if [ -f $mainlog ]; then
$mv $mainlog $mainlog.$first
$chown $user:$group $mainlog.$first
$touch $mainlog
$chown $user:$group $mainlog
$chmod 640 $mainlog
fi
[...]
I wonder if exim (Exim version 4.72) has a problem with the mainlog being touched by root temporarily if it tries to write to it before the "chown".
Is that possible? What can be done about it?
Kind Regards,
I run exicyclog every hour as a root cronjob.
Occasionally, exim somehow crashes at around the same time. The only clue about what may have happened is the paniclog:
paniclog shows:
2013-09-27 14:00:03 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=93 egid=93
Looking at exicyclog, at one point it does the following:
[...]
if [ -f $mainlog ]; then
$mv $mainlog $mainlog.$first
$chown $user:$group $mainlog.$first
$touch $mainlog
$chown $user:$group $mainlog
$chmod 640 $mainlog
fi
[...]
I wonder if exim (Exim version 4.72) has a problem with the mainlog being touched by root temporarily if it tries to write to it before the "chown".
Is that possible? What can be done about it?
Kind Regards,