[Bug 791866] Re: Add emits stanza for unmounted-remote-filesystems

James Hunt 791866 at bugs.launchpad.net
Mon Jun 6 14:00:58 UTC 2011


** Description changed:

  Binary package hint: upstart
  
  The initctl(8) check-config command reads the "emits" stanzas (see
  init(5)). However, we have a minor problem in that portmap starts on an
  event that is not advertised using "emits":
  
  $ initctl check-config
  portmap
-   stop on: unknown event unmounted-remote-filesystems
- $ 
+   stop on: unknown event unmounted-remote-filesystems
+ $
  
  This event is actually emitted by the SysV script
  /etc/init.d/umountnfs.sh 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
- unmounted-remote-filesystems package:
+ unmounted-remote-filesystems event:
  
-   emits runlevel
+   emits runlevel
  + emits unmounted-remote-filesystems
  
  This will pacify "initctl check-config" without having to resort to the
  --ignore-events option.

-- 
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/791866

Title:
  Add emits stanza for unmounted-remote-filesystems

Status in “upstart” package in Ubuntu:
  New

Bug description:
  Binary package hint: upstart

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

  $ initctl check-config
  portmap
    stop on: unknown event unmounted-remote-filesystems
  $

  This event is actually emitted by the SysV script
  /etc/init.d/umountnfs.sh 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
  unmounted-remote-filesystems event:

    emits runlevel
  + emits unmounted-remote-filesystems

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




More information about the foundations-bugs mailing list