lp:~jamesodhunt/upstart/fix-for-bug-912558-slangasek
- Get this branch:
- bzr branch lp:~jamesodhunt/upstart/fix-for-bug-912558-slangasek
Branch merges
Branch information
Recent revisions
- 1354. By James Hunt
-
* init/log.c:
- log_destroy():
- Fixed fd leak in the case unflushed data exists but cannot be
written.
- Handle EBADF resulting from non-existent exec(2)'d
command (LP: #912558)
- Made fd check safer.
- log_io_error_handler( ): Set log->io to NULL.
- log_file_write(): Unflushed data handling needed to consider whether
there was any new data.
* init/tests/test_job_ process. c: test_run(): Add new test
"with single-line command running an invalid command".
* util/tests/test_user_ sesions. sh:
ensure_no_output( ): Call check_job_output() and delete_job() to
simplify logic.
check_job_output( ): New function to check for any log files.
delete_job(): Make use of get_job_file().
start_job(): New 'allow_failure' parameter.
test_ensure_ no_unexpected_ output( ): New test
"ensure command job does not create log file with invalid command". - 1353. By James Hunt
-
* init/man/init.5: Explain that all job processes affected
by 'setuid' and 'setgid' stanzas. - 1352. By James Hunt
-
* init/tests/
test_job_ process. c: test_run():
- Changed timeout for test feature "ensure that no log
file written for CONSOLE_NONE".
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart