~upstart-devel/upstart/trunk

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: James Hunt
  • Date: 2014-09-03 16:28:24 UTC
  • mfrom: (1660.1.1 upstart-bug-1357252)
  • Revision ID: james.hunt@ubuntu.com-20140903162824-4f039oykmggh18kh
* Merge of lp:~jamesodhunt/upstart/bug-1357252.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2014-08-29  James Hunt  <james.hunt@ubuntu.com>
 
2
 
 
3
        * init/cgroup.c:
 
4
          - Removed nih_debug() and nih_warn() calls since, although
 
5
            useful, this output pollutes job logs when running in debug mode.
 
6
          - cgroup_clear(): New function to request cgroups be removed.
 
7
          - cgroup_create(): Don't mark cgroups 'remove-on-empty' since Upstart
 
8
            can race with cgmanager.
 
9
        * init/job.c: job_last_process(): New helper function.
 
10
        * init/job_process.c:
 
11
          - job_process_spawn_with_fd(): Request that the
 
12
            cgroup manager destroy all job cgroups after upstart has created
 
13
            required cgroups for last job process which avoids the
 
14
            'remove-on-empty' race (LP: #1357252).
 
15
          - job_process_error_handler(): Added handling for new
 
16
            JOB_PROCESS_ERROR_CGROUP_CLEAR error.
 
17
        * init/job_process.h: JobProcessErrorType: Added new
 
18
          JOB_PROCESS_ERROR_CGROUP_CLEAR error.
 
19
        * init/tests/test_job.c: test_job_last_process(): New test for
 
20
          job_last_process().
 
21
 
1
22
2014-08-14  James Hunt  <james.hunt@ubuntu.com>
2
23
 
3
24
        * init/control.c: Disallow modifying system jobs via SetEnv,