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

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > March 2005 > Squid logrotate fails and Postfix could not send message after dist-upgrade





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2005-03-02, 2:48 am

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


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Christoph Berg

2005-03-03, 7:48 am

Re: Klaus Fuerstberger in <42256B45.1060808@arcor.de>
> sorry, if this is the wrong list for my request. Maybe you could give me
> the direction.


Hello,

please check the BTS (bugs.debian.org) whether these bugs are already
filed. If not, please file them, if they are, you might be able to
provide useful input for debugging by replying to the bug report.

(NB: The proper list to ask on is debian-users.)

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Michelle Konzack

2005-03-03, 7:48 am

Am 2005-03-02 08:29:09, schrieb Klaus Fuerstberger:
> Hi,
>
> sorry, if this is the wrong list for my request. Maybe you could give me
> the direction.


debian-user-german

> #################
> /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
> #################


There was already someone which had send messges abour this subject.
Please check the BTS ("logrotate" and "squid")

> 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.


Is there a wraper for postfix in "/var/lib/postfix", does postfix
need "/var/tmp" to be "exec" or something similar ?

> Bye,
> Klaus


Greetings
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com