starting of daemons from binary packages when they are down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HIPL |
Fix Released
|
Medium
|
David Martin |
Bug Description
It appears that the init.d scripts don't work anymore as they used to. When a daemon is down, a package upgrade fails:
Preparing to replace hipl-dnsproxy 1.0.6-2 (using .../hipl-
* Stopping DNS proxy for HIP hipdnsproxy
...fail!
invoke-rc.d: initscript hipl-dnsproxy, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping DNS proxy for HIP hipdnsproxy
...fail!
invoke-rc.d: initscript hipl-dnsproxy, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
* Starting DNS proxy for HIP hipdnsproxy
...done.
Preparing to replace hipl-firewall 1.0.6-2 (using .../hipl-
* Stopping HIP firewall hipfw
invoke-rc.d: initscript hipl-firewall, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
* Stopping HIP firewall hipfw
invoke-rc.d: initscript hipl-firewall, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
* Starting HIP firewall hipfw
Warning: timeouts (-t) have no effect with connection
tracking disabled (-F)
...done.
Upgrading the package when the daemon is up and running succeeds, but nevertheless even this case should be working (as it used to be). Please note also the warning about the firewall (somebody changed the flags?).
Changed in hipl: | |
importance: | Undecided → Medium |
Changed in hipl: | |
assignee: | nobody → David Martin (martin-lp) |
Changed in hipl: | |
status: | New → Confirmed |
Changed in hipl: | |
status: | Fix Committed → Fix Released |
Hi,
it is interesting that this worked before. When you say "don't work anymore as they used to", when was the last time you tested it? I have introduced some changes on the stop action for the hipl-daemon script which works without problems. I did not bring these changes over to the other scripts and will do so to fix this issue.
PS: Do you use the hipdsnproxy?
PPS: The firewall flag problem should be unrelated to the package install issue. René do you know more of any changes with the flags?