squid's maintainer scripts call start/stop directly instead of using invoke-rc.d
Bug #726348 reported by
Clint Byrum
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Clint Byrum |
Bug Description
Binary package hint: squid
This was brought up in bug #717397 by Steve Langasek.
The restart, start, stop, reload, etc. commands must not be directly called in maintainer scripts. invoke-rc.d should be used to properly maintain policy and deal with some oddness between upstart jobs and sysvinit scripts during transitions.
In particular, the restart command does not re-read the upstart job file, so changes to the job file will not result in a fixed service. The same goes for default configuration files and such.
Related branches
lp:~clint-fewbar/ubuntu/natty/squid/postinst-using-invoke-rc.d
- Ubuntu Sponsors: Pending requested
-
Diff: 43 lines (+12/-8)2 files modifieddebian/changelog (+7/-0)
debian/postinst (+5/-8)
Changed in squid (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in squid (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package squid - 2.7.STABLE9- 2.1ubuntu4
--------------- 2.1ubuntu4) natty; urgency=low
squid (2.7.STABLE9-
* Simplify postinst script and use invoke-rc.d per policy. Also use
stop/start to make sure new job file is reloaded. (LP: #726348).
-- Clint Byrum <email address hidden> Tue, 08 Mar 2011 05:19:18 -0800