ctrlaltdel sequence not recognised by upstart

Bug #59398 reported by Elias Oltmanns
10
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Fix Released
Medium
Scott James Remnant (Canonical)

Bug Description

 affects /distros/ubuntu/upstart
 assignee <email address hidden>
 importance medium

With upstart and upstart-compat-sysv installed, I have the following
problem:

--8<---------------cut here---------------start------------->8---
pts/1_21:32_~% grep ctrlalt /etc/inittab
ca:12345:ctrlaltdel:/sbin/shutdown -r now
pts/1_21:32_~%
--8<---------------cut here---------------end--------------->8---

But pressing the magic key combination apparently has no effect whatsoever.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Upgrade to 0.2.1-7, this includes a handler for the control-alt-delete event.

Changed in upstart:
status: Unconfirmed → Fix Released
Revision history for this message
Elias Oltmanns (oltmanns) wrote : [Bug 59398] Re: ctrlaltdel sequence not recognised by upstart

 status needsinfo

Scott James Remnant <email address hidden> wrote:
> Upgrade to 0.2.1-7, this includes a handler for the control-alt-delete
> event.

I can see the event handler now but I still can't trigger the event,
apparently.

Changed in upstart:
status: Fix Released → Needs Info
Revision history for this message
Michael Biebl (mbiebl) wrote :

I can confirm this bug (running 0.2.1-7).
Triggering the event manually via "initctl trigger ctrl-alt-delete" does not have any effect either. A concurrently running "initctl events" shows that it received the event but nothing happens.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Yes, you're quite right. The problem is that the event and job share the same name, and I put an odd restriction in to make that illegal. That will be fixed shortly.

Changed in upstart:
status: Needs Info → Confirmed
Changed in upstart:
status: Confirmed → Fix Committed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

 upstart (0.2.5-1) edgy; urgency=low
 .
   * New upstream release:
     - no longer spins when no stalled event handler. Ubuntu: #59170.
     - shutdown works when under sysvinit. Ubuntu: #58523;
     - shutdown -k implemented. Ubuntu: #58723.
     - telinit sends shutdown event for 0, 1 and 6. Ubuntu: #58913.
     - basic manual pages included. Ubuntu: #58724.
 .
   * upstart-compat-sysv Replaces: sysvinit. Ubuntu: #59427.
   * upstart Recommends: upstart-compat-sysv, startup-tasks & system-services.
 .
   * New upstart-logd package includes the logd daemon that can will log
     output of jobs with "console logged" (the default) in their description
     to /var/log/boot.
 .
   * Add /etc/event.d/rc0 that is run on the "halt" event (neither -H or -P
     given), and modify rc0-halt to run on "system-halt" (-H given) and
     rc0-poweroff to run on "power-off" (-P given). Ubuntu: #59134.
   * Fix the control-alt-delete job to run on the "ctrlaltdel" event so
     that it's triggered properly. Ubuntu: #59398.
   * Fix single-user mode.

Changed in upstart:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.