[Bug 984806] Re: squid-deb-proxy's logrotate file calls "squid" instead of "squid3" on Precise
Ubuntu Foundation's Bug Bot
984806 at bugs.launchpad.net
Thu Apr 19 00:15:24 UTC 2012
The attachment "Debdiff to support both 'squid' and 'squid3' commands"
of this bug report has been identified as being a patch in the form of a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. In the event
that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch. Additionally, if you are member
of the ubuntu-sponsors team please also unsubscribe the team from this
bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/984806
Title:
squid-deb-proxy's logrotate file calls "squid" instead of "squid3" on
Precise
Status in “squid-deb-proxy” package in Ubuntu:
New
Bug description:
The logrotate configuration is trying to call "squid" instead of
"squid3" to notify the proxy of the log rotation. Here is the error
mail from cron :
/etc/cron.daily/logrotate:
logrotate_script: 2: logrotate_script: /usr/sbin/squid: not found
error: error running shared postrotate script for '/var/log/squid-deb-proxy/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
Here is the faulty logrotate config extract from /etc/logrotate.d
/squid-deb-proxy :
postrotate
test ! -e /var/run/squid-deb-proxy.pid || /usr/sbin/squid -f /etc/squid-deb-proxy/squid-deb-proxy.conf -k rotate
endscript
# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
# apt-cache policy squid-deb-proxy
squid-deb-proxy:
Installed: 0.6.2
Candidate: 0.6.2
Version table:
*** 0.6.2 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
# apt-cache policy squid3
squid3:
Installed: 3.1.19-1ubuntu2
Candidate: 3.1.19-1ubuntu2
Version table:
*** 3.1.19-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/984806/+subscriptions
More information about the Ubuntu-sponsors
mailing list