Add emits stanza for deconfiguring-networking

Bug #793554 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: dbus

The initctl(8) check-config command reads the "emits" stanzas (see init(5)). However, we have a minor problem in that dbus starts on an event that is not advertised using "emits":

$ initctl check-config
dbus
  stop on: unknown event deconfiguring-networking
$

This event is actually emitted by the SysV script /etc/init.d/networking which poses a problem in that we cannot update the appropriate Upstart .conf file, since there isn't one.

I propose the best solution is to add an appropriate emits line to /etc/init/rc-sysinit.conf in the Ubuntu Upstart package for the deconfiguring-networking event:

  emits runlevel
+ deconfiguring-networking

This will pacify "initctl check-config" without having to resort to the --ignore-events option.

See also bug 791866.

Tags: bitesize
Steve Langasek (vorlon)
affects: dbus (Ubuntu) → upstart (Ubuntu)
Changed in upstart (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Steve Langasek (vorlon) wrote :

This bug was fixed in upstart 1.3-0ubuntu6. Changelog:

upstart (1.3-0ubuntu6) oneiric; urgency=low

  [ Steve Langasek ]
  * Fix maintainer field to be compliant with policy definition

  [ Clint Byrum ]
  * conf/rc.conf: document events that are emitted by sysvinit
    jobs to quiet 'initctl check-config'
  * extra/conf/upstart-udev-bridge.conf: narrow definition to
    only the events actually emitted. (LP: #819928)
  * debian/conf/failsafe.conf: new job for critical services to
    start on.
  * conf/rc-sysinit.conf: start after static-network-up or failsafe
    so that runlevel 2 is only entered with all static net interfaces
    up. (LP: #580319)

 -- Clint Byrum <email address hidden> Wed, 10 Aug 2011 08:44:43 -0500

Changed in upstart (Ubuntu):
status: Triaged → 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.