Public bug reported:

Binary package hint: upstart

Finding where events are asserted and which *.conf files are sensitive
to an asserted event is difficult.

As a documentation habit, it would be good to have comments in both the
*.conf files and the scripts that make assertiongs and the man pages for
commands that assert events.

For example,  /etc/init/rc-sysinit.conf is sensitive to the events
"filesystem" and "net-device-up IFACE=lo".

I believe "filesystem" is asserted by mountall,
"strings /sbin/mountall" shows me strings for virtual-, local-, and 
remote-filesystems which I see in /etc/init/*.conf files.

I see the assertion for "net-device-up" in /etc/network/if-up.d/upstart
.

These linkages would be easier to track and maintain if   
/etc/init/rc-sysinit.conf  pointed to mountall(8) and
/etc/network/if-up.d/upstart  and if  those would point at   
/etc/init/rc-sysinit.conf .

It might be useful to add an  "assert"  stanza to *.conf scripts so the
absence of a support file, especially when it is unique, would be noted
in an warning message or even cause an error.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cross-comment events and *.conf files
https://bugs.launchpad.net/bugs/585908
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to