upstart problems with S20squid script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
After performing a dist-upgrade of my lucid installation, I got the following upstart error in my boot.log:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service S20squid start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start S20squid
start: Unknown job: S20squid
One can reproduce this bug, by simply issuing "sudo /etc/rc(
if [ "$JOB" = "S20squid" ]; then
JOB="squid"
fi
into /etc/init.d/squid, see attached patch. However there are two issues here, if I am not mistaken. First the redundancy since squid is started by two different scripts(?) and secondly the wrong line in /etc/init.d/squid.
I am running Ubuntu 10.04.3 LTS
My squid version is 2.7.STABLE7
The system is up-to-date (aside from the grub package which is held back)
If you need any more information I am happy to provide it.
Thanks for your efforts
B. Brandt
The attachment "inserting case discrimation in /etc/init.d/squid" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. 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-reviewers 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.]