lp:~jamesodhunt/upstart/807293

Created by James Hunt and last modified
Get this branch:
bzr branch lp:~jamesodhunt/upstart/807293
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
upstart
Status:
Development

Recent revisions

1320. By James Hunt

XXX: TEMPORARY COMMIT.

* TESTING.sessions: Updated with information on user sessions.
* init/job_process.h:
  - Added entry for JOB_PROCESS_ERROR_CHOWN in JobProcessErrorType;
* init/job_process.c:
  - job_process_spawn():
    - Added dup2() return check.
    - Change group before user and do it as early as possible
      (LP: #807293).
    - Ensure non-priv user is able to read script fd. Default system behaviour
      is not consistent/defined, so force it to be (LP: #813052)
    - Ensure cwd for user job is home directory by default.
  - job_process_error_read():
    - Added handling for JOB_PROCESS_ERROR_SETUID and JOB_PROCESS_ERROR_SETGID.
    - Added new entry for JOB_PROCESS_ERROR_CHOWN.
* init/man/init.5: Update for user jobs explaining behaviour of stanzas
  which manipulate system resource limits.
* util/tests/test_user_sessions.sh: New
* util/Makefile.am: Updated for test_user_sessions.sh.

1319. By James Hunt

* util/man/initctl.8: Clarify semantics of restart(8)
  command (LP: #731225).
* ChangeLog: Updated.

1318. By James Hunt

* util/tests/test_initctl.c:
  - test_show_config(): /* fall through :) */
  - test_check_config(): manually start and stop dbus-daemon to work
    around change in dbus autostart behaviour which causes issues when
    running the tests in a chroot and non-X11 environment (see dbus commit
    cea055514a9dfc74e7f0515cf4a256da10a891bc).
* Changelog: Updated.

1317. By James Hunt

* init/main.c: main(): Display a message to say sessions are disabled if
  debug enabled.

1316. By James Hunt

* util/tests/test_initctl.c: START_UPSTART: Added missing
  "--no-sessions" to ensure traditional behaviour.

1315. By James Hunt

* init/control.c: Typo.

1314. By James Hunt

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

1313. By James Hunt

* Changelog: Release entry.
* NEWS: Release 1.3.

1312. By James Hunt

* TESTING.sessions: Typo.

Branch metadata

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

Subscribers