Ticket #969 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

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

comment:1 Changed 13 years ago by geofft

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.

comment:2 Changed 13 years ago by jdreed

  • Status changed from new to development

auto-update 1.23.4 is in -dev

comment:3 Changed 13 years ago by jdreed

  • Status changed from development to proposed

comment:4 Changed 13 years ago by jdreed

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.