Ticket #969 (closed defect: fixed)
auto-upgrade needs to shut down X
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Natty Release |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
AFAICT, on Lucid and higher, you cannot kexec if X is running on the current VT. If you switch to VT1, it's fine. But if on VT1, I do "sleep 5 && kexec -e" and switch back to X, I lose. This occurs even when passing "-f" and/or "--reset-vga" to the kexec -e call.
It's unclear what exactly is causing this.
Change History
Note: See
TracTickets for help on using
tickets.
The right way to address this is probably to have auto-upgrade run only kexec -l and then run reboot and have the kexec's package reboot hook (to reboot via kexec if there's a loaded kernel) take care of running kexec -e for you. This is what we do in reactivate, where we use kexec to speed up reboots, and it seems to work fine.