[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Squid logrotate fails and Postfix could not send message after dist-upgrade



Hi,

sorry, if this is the wrong list for my request. Maybe you could give me the direction.

After a dist-upgrade on various Machines from December04 to now the following errors happend:
Sometimes, not always logrotate gives errors only on squid logs:
#################
/etc/cron.daily/logrotate:
error: error running shared prerotate script for /var/log/squid/*.log
error: error running shared postrotate script for /var/log/squid/*.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
#################

Also Postfix could not send a message, when smtp is running chrooted, which is the default:
#################
Mar 1 18:59:58 proxy postfix/smtp[1064]: 06AF742243: to=<linuxbox@arcor.de>, relay=none, delay=1, status=deferred ([auth.mail.onlinehome.de]: Name or service not known)
#################
This error does not happen, before the dist-upgrade of if I the smtp is not running in chroot.

I have the following mount options, which are IMO ok:
/dev/hda5 on /usr type ext3 (ro,nodev)
/dev/hda3 on /tmp type ext3 (rw,noexec,nosuid,nodev)
/dev/hda6 on /var type ext3 (rw,noexec,nosuid,nodev)

If I mount the /var with exec Option Postfix smtp runs in chroot and works. Why should /var be mounted exec after the dist-upgrade? I think this should not be. Maybe the squid error above results from these mount options to, but I was not able for now to check this.

Bye,
Klaus



Reply to: