friendly-recovery breaks Upstarts "initctl check-config"
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/
# 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
ProcVersionSign
Uname: Linux 3.0.0-12-
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Nov 9 14:38:03 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitec
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
- Stéphane Graber: Approve
-
Diff: 28 lines (+10/-0)2 files modifieddebian/changelog (+7/-0)
debian/friendly-recovery.upstart (+3/-0)
Changed in friendly-recovery (Ubuntu): | |
assignee: | nobody → James Hunt (jamesodhunt) |
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