Add emits stanza for unmounted-remote-filesystems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Confirmed
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
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-
$
This event is actually emitted by the SysV script /etc/init.
I propose the best solution is to add an appropriate emits line to /etc/init/
emits runlevel
+ emits unmounted-
This will pacify "initctl check-config" without having to resort to the --ignore-events option.
Related branches
tags: | added: bitesize |
description: | updated |
affects: | upstart (Ubuntu) → portmap (Ubuntu) |
affects: | portmap (Ubuntu) → upstart (Ubuntu) |
Changed in upstart (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in upstart: | |
status: | New → Confirmed |
since this job is present upstream, maybe we want to include the change there.