Merge lp://qastaging/~jamesodhunt/ubuntu/oneiric/upstart/fixes-for-user-sessions into lp://qastaging/ubuntu/oneiric/upstart
Status: | Merged |
---|---|
Merge reported by: | Sebastien Bacher |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~jamesodhunt/ubuntu/oneiric/upstart/fixes-for-user-sessions |
Merge into: | lp://qastaging/ubuntu/oneiric/upstart |
Diff against target: |
1957 lines (+991/-211) 13 files modified
ChangeLog (+34/-0) TESTING.sessions (+38/-12) debian/changelog (+7/-0) init/job_process.c (+108/-58) init/job_process.h (+1/-0) init/man/init.5 (+16/-2) init/session.c (+50/-9) init/session.h (+13/-11) po/en@boldquot.po (+54/-39) po/en@quot.po (+54/-39) po/upstart.pot (+54/-39) util/man/initctl.8 (+9/-2) util/tests/test_user_sessions.sh (+553/-0) |
To merge this branch: | bzr merge lp://qastaging/~jamesodhunt/ubuntu/oneiric/upstart/fixes-for-user-sessions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Approve | ||
Ubuntu branches | Pending | ||
Review via email:
|
Description of the change
Quite a bit of change wrt user sessions. If someone could check my fixup for <email address hidden> and <email address hidden>, that'd be great! Thanks.
The details:
* init/man/init.5: Explain that symbolic links are not supported.
* init/session.c: session_
home directory is changed or where a uid is re-used for a
different username.
* init/session.h: Updated comments for Session object.
* TESTING.sessions: Updated with information on user sessions.
* init/job_process.c:
- job_process_
- Change group before user and do it as early as possible.
- Ensure non-priv user is able to read script fd. Default system
behaviour is seemingly not consistent/defined, so force it
to be (LP: #813052)
- Ensure cwd for user job is home directory by default.
- job_process_
- Added handling for JOB_PROCESS_
- Added new entry for JOB_PROCESS_
* init/job_process.h:
- Added entry for JOB_PROCESS_
* init/man/init.5: Update for user jobs explaining behaviour of stanzas
which manipulate system resource limits and when the init
daemon reads the users job directory.
* util/tests/
(NOTE: this is *NOT* run automatically).
Looks good, I do a testbuild now and install it.
As for the <email address hidden> fixups this looks ok. Usually it should be enough to just
refresh the po files. The .gmo stuff is autogenerated and not part of the bzr tree.