squid-deb-proxy's logrotate file calls "squid" instead of "squid3" on Precise [SRU]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid-deb-proxy (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Problem]
<1-2 sentence summary of the issue>
[Impact]
<fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
1.
2.
3.
Broken Behavior:
Fixed Behavior:
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.>
[Original Report]
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.
logrotate_script: 2: logrotate_script: /usr/sbin/squid: not found
error: error running shared postrotate script for '/var/log/
run-parts: /etc/cron.
Here is the faulty logrotate config extract from /etc/logrotate.
postrotate
test ! -e /var/run/
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://
100 /var/lib/
# apt-cache policy squid3
squid3:
Installed: 3.1.19-1ubuntu2
Candidate: 3.1.19-1ubuntu2
Version table:
*** 3.1.19-1ubuntu2 0
500 http://
100 /var/lib/
Related branches
- squid-deb-proxy-developers: Pending requested
-
Diff: 20 lines (+10/-1)1 file modifieddebian/squid-deb-proxy.logrotate (+10/-1)
description: | updated |
summary: |
squid-deb-proxy's logrotate file calls "squid" instead of "squid3" on - Precise + Precise [SRU] |
Trying to link it to Debian and file the bug later, but Launchpad keeps saying: "Package squid-deb-proxy is not published in Debian". NO idea why...