Bug 431107
Summary: | halt script does not work with upstart | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> | ||||
Component: | upstart | Assignee: | Casey Dahlin <cdahlin> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | rvokal, scott, vanhoof | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-02-17 00:22:10 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 431106 | ||||||
Attachments: |
|
Description
Bill Nottingham
2008-01-31 20:12:37 UTC
Have we decided if patching killall5 will work for this? It doesn't loop any more, but it doesn't do the right thing either. This is an upstart bug, at least as far as SysV compatibility goes. halt/reboot under SysV check the runlevel when they run - if it's 0 or 6 (reboot/halt), then 'force' is implied. upstart's versions don't have that code, so they just call shutdown again, which starts the loop/hangs. Patch attached momentarily. Created attachment 295051 [details]
check runlevel in halt/reboot, set --force accordingly
Do we want to apply just this patch to upstart, or both this patch and the no-kill-init sysv patch? I'll roll this in to the rpm tonight. Scott, care to weigh in? That patch is definitely the right solution ;) It didn't affect us because our sysv scripts called halt/reboot with --force anyway Well played then :) Rebuilt upstart package is in koji. We still end up re-executing init on shutdown, but this no longer creates this issue. I may open another bug about that but for now its no big deal. |