Merge lp:~jamesodhunt/upstart/disable-system-bus into lp:upstart
Status: | Superseded |
---|---|
Proposed branch: | lp:~jamesodhunt/upstart/disable-system-bus |
Merge into: | lp:upstart |
Diff against target: |
200 lines (+108/-12) 5 files modified
ChangeLog (+8/-0) init/control.c (+1/-1) init/main.c (+31/-11) init/man/init.8 (+4/-0) util/tests/test_initctl.c (+64/-0) |
To merge this branch: | bzr merge lp:~jamesodhunt/upstart/disable-system-bus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Hunt | Needs Resubmitting | ||
Review via email: mp+186599@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-11-04.
Description of the change
* init/control.c: Typo.
* init/main.c: Add '--no-dbus' command-line option.
init/man/init.8: Added '--no-dbus' option.
This option has the effect of stopping Session Inits having access to system-level events for those systems which require such behaviour; in such environments, even if the upstart-
A side-effect of booting with '--no-dbus' is that a non-priv user will be unable to query system jobs using initctl (since such users will not have access to the private socket). However, for those making use of '--no-dbus', such behaviour would be deemed a security advantage rather than a limitation.
The code looks good to me, we should just add one test to confirm that upstart with --disable-dbus won't do anything on SIGUSR1.