friendly-recovery breaks Upstarts "initctl check-config"

Bug #888095 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)
Fix Released
Undecided
James Hunt

Bug Description

The friendly-recovery facility is currently invoked from the initramfs by specifying an alternative initial event for Upstart. The Upstart job that actually starts friendly-recovery specifies:

  start on recovery

However, since no Upstart job on the system has registered that they emit the "recovery" event, we get this:

  $ initctl check-config
  friendly-recovery
    start on: unknown event recovery

The only realistic way to deal with this is to add "emits recovery" to /etc/init/friendly-recovery.conf with a comment such as:

  # In reality the initramfs emits this event, but we note it here to keep 'check-config' happy.
  emits recovery

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: friendly-recovery 0.2.18
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Nov 9 14:38:03 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: friendly-recovery
UpgradeStatus: Upgraded to oneiric on 2011-09-25 (45 days ago)

Related branches

Revision history for this message
James Hunt (jamesodhunt) wrote :
James Hunt (jamesodhunt)
Changed in friendly-recovery (Ubuntu):
assignee: nobody → James Hunt (jamesodhunt)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package friendly-recovery - 0.2.18ubuntu1

---------------
friendly-recovery (0.2.18ubuntu1) precise; urgency=low

  * debian/friendly-recovery.upstart: Add missing emits stanzas
    to avoid breaking 'initctl check-config' (LP: #888095).
 -- James Hunt <email address hidden> Fri, 16 Dec 2011 10:55:43 +0000

Changed in friendly-recovery (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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