[Bug 793554] Re: Add emits stanza for deconfiguring-networking

Steve Langasek steve.langasek at canonical.com
Sun Mar 4 22:31:05 UTC 2012


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 <clint at ubuntu.com>  Wed, 10 Aug 2011 08:44:43 -0500


** Changed in: upstart (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/793554

Title:
  Add emits stanza for deconfiguring-networking

Status in “upstart” package in Ubuntu:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/793554/+subscriptions




More information about the foundations-bugs mailing list