Ticket #536 (closed defect: fixed)
Stop using kexec as soon as possible
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Summer 2010 (Lucid Deploy) |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
Kexec makes it _impossible_ to actually reboot a machine, because even if you unload kexec and reboot, /etc/init.d/kexec-load will reload it for you.
We should go check on why we had to use kexec in the first place, and see whether we still need to do so in Karmic/Lucid?.
Change History
comment:3 Changed 15 years ago by broder
If we actually want to kill off kexec on current installs, we need to do something more clever.
Jaunty used to enable kexec by default. Then Ubuntu disabled it ( LP:251242). But since they disabled it while we had /etc/default/kexec diverted, kexec got turned off in /etc/default/kexec.debathena, not /etc/default/kexec.debathena-orig. Once we undid that diversion, kexec was re-enabled again.
The next time the clusters get reinstalled, this problem won't happen, because the new kexec-tools will get installed without the diversion in place. So if we're OK with waiting to fix this until the Lucid install, then we're done. Otherwise, we should go back to diverting /etc/default/kexec, but explicitly turn *off* kexec.
comment:4 Changed 15 years ago by broder
In the mean time, I've manually set LOAD_KEXEC=false on lola-granola, and verified that
- reactivate kexecs when it reboots, but drops "single" from the cmdline
- Rebooting from the "Actions" gdm menu does not reboot via kexec.
comment:5 Changed 14 years ago by broder
- Status changed from proposed to closed
- Resolution set to fixed
I've moved the fixes to reactivate and cluster-login-config into production, so I'm going to go ahead and close this ticket.
If we decide it's important to fix the current cluster machines before they get reinstalled this summer, we can open a separate ticket for that.
There were two reasons, as I recall, that we used kexec: