Created by Daniël Sonck and last modified
Get this branch:
bzr branch lp:~daniel-sonck/upstart/cron-replacement
Only Daniël Sonck can upload to this branch. If you are Daniël Sonck please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Daniël Sonck

Recent revisions

1284. By dsonck <dsonck@daniel-desktop>

Merged with the latest startup branch

Merged branch lp:upstart
Bug #568288: init: main process can respawn even when the job is stopping
Bug #942955: upstart-socket-bridge doesn't support ipv6 sockets
Bug #1032101: job_process_spawn() uses incorrect NIH calls for some errors
Bug #1079715: 'telinit u' run from within a chroot causes a crash
Bug #1083723: 'telinit u' has a cage fight with busybox init
Bug #1086474: test_job_process can fail in test 'with environment of unnamed instance'
Bug #1120660: Kernel Panic when running 'sudo dpkg --configure -a' ?
Bug #1159895: Allow for unsetting inherited variables
Bug #1181789: second call of 'initctl start' leads to fork instead of exec ('mount: / is busy' during shutdown)
Bug #1185108: Unliftable markup in init.5
Bug #1201865: upstart on nexus4 is frequently writing :sys:power_supply-device-changed event messages
Bug #1252310: typo in man for init (5)
Bug #1275308: Correction for man page for "socket-event"(7)
Bug #1277594: Please make --no-sessions the default, and add a cmdline option for the inverse
Bug #1302117: Session Init changes umask on re-exec
Bug #1338637: continuous re-exec can result in a build-up of inotify fds [SRU]
Bug #1338968: async upstart crashes after many re-execs
1283. By dsonck <dsonck@daniel-desktop>

* Added the `time` event with environment TIME=hh:mm DAY_OF_WEEK=d DATE=mm/dd/yyyy

1282. By Scott James Remnant (Canonical)

* init/job_class.h (JobClass): Add kill signal member
* init/job_class.c (job_class_new): Initialise kill signal
* init/tests/test_job_class.c (test_new): Check kill signal initialised
* init/system.c (system_kill): Change to accept a signal rather than
a boolean.
* init/system.h: Update prototype
* init/tests/test_system.c (test_kill): Update tests to pass signals
by value.
* init/job_process.c (job_process_kill, job_process_kill_timer): Pass
the configured kill signal, or SIGKILL, to the function rather than
* init/parse_job.c (stanza_kill): Add parsing for kill signal.
* init/tests/test_parse_job.c (test_stanza_kill): Check parsing works
* init/errors.h: Add illegal signal error and string.
* init/man/init.5: Update documentation

1281. By Scott James Remnant (Canonical)

* init/job_class.h (JobClass): Replace oom_adj with oom_score_adj
* init/job_class.c (job_class_new): Replace oom_adj with oom_score_adj.
* init/job_process.c (job_process_spawn): Write the new score
adjustment, falling back to calculating and writing the old value if
* init/parse_job.c (stanza_oom): Parse both the new and old values,
converting the old value to the new value if present.
* init/errors.h: Add new error string.
* init/man/init.5: Documentation update.
* init/tests/test_job_class.c (test_new): Update check.
* init/tests/test_parse_job.c (test_stanza_oom): Update tests.

1280. By Scott James Remnant (Canonical)

* init/job_process.c (job_process_run): Always make the shell script
fd 9, since that's the highest that shells are required by POSIX to
support. Pass the file descriptor to job_process_spawn()
(job_process_run): Accept the extra file descriptor, moving it to fd 9.
(job_process_error_read): Add handling for error condition.
* init/job_process.h: Adjust prototypes, add constant
* init/tests/test_job_process.c (test_spawn): Add argument to call in

1279. By Scott James Remnant (Canonical)

* configure.ac: Bump version to 1.3
* NEWS: Begin new release

1278. By Scott James Remnant (Canonical)

* NEWS: Release 1.2

1277. By Scott James Remnant (Canonical)

* init/job_process.c (job_process_run): Correct shell redirection;
the form we used dosen't work with at least pdksh

1276. By Scott James Remnant (Canonical)

* configure.ac: Bump version to 1.2
* NEWS: Begin new release

1275. By Scott James Remnant (Canonical)

* NEWS: Release 1.1
* configure.ac (NIH_COPYRIGHT): Update

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.