lp:~jamesodhunt/upstart/bug-1240686
- Get this branch:
- bzr branch lp:~jamesodhunt/upstart/bug-1240686
Branch merges
- Dimitri John Ledkov: Approve
-
Diff: 528 lines (+170/-40)8 files modifiedChangeLog (+21/-1)
init/job_class.c (+8/-1)
init/job_process.c (+2/-2)
init/main.c (+8/-3)
init/tests/test_main.c (+8/-8)
test/test_util_common.c (+9/-5)
test/test_util_common.h (+4/-3)
util/tests/test_initctl.c (+110/-17)
Related bugs
Bug #1240686: Upstart overrides the user's umask | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 1544. By James Hunt
-
* init/job_class.c:
- job_class_new(): Set umask for job to current value for Session
Init by default (LP: #1240686).
* init/job_process.c: Comments.
* init/main.c: main(): Save current umask.
* test/test_util_common. c:
- start_upstart_common( ): Add extra param for inheriting environment
rather than hard-coding '--no-inherit-env'.
- start_upstart(: Updated call to start_upstart_common( ).
* init/tests/test_main. c: Updated calls to start_upstart_ common( ).
* test/test_util_common. h: START_UPSTART(): Updated call to
start_upstart_ common( ).
* util/tests/test_initctl. c:
- Updated calls to start_upstart_common( ).
- test_umask(): New tests:
- "ensure Session Init inherits umask by default"
- "ensure Session Init defaults umask with '--no-inherit-env'" - 1543. By Scott James Remnant (Canonical)
-
Do not respawn jobs, that are being stopped and running pre-stop already.
- 1538. By James Hunt
-
* test/test_
util_common. c:
- set_upstart_session( ): Call get_initctl_ binary( ) rather than using
define value.
- get_initctl(): As above.
- get_initctl_binary( ): Check that file exists for parity with
get_upstart_ binary( ). - 1537. By James Hunt
-
* extra/upstart-
file-bridge. c:
- upstart_job_added( ): Make quieter in manner consistent with other
bridges (only display output in debug mode).
- upstart_job_removed( ): As above.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart