Merge lp:~stgraber/upstart/upstart-user-cwd into lp:upstart
Proposed by
Stéphane Graber
Status: | Merged |
---|---|
Merged at revision: | 1430 |
Proposed branch: | lp:~stgraber/upstart/upstart-user-cwd |
Merge into: | lp:upstart |
Diff against target: |
18 lines (+5/-3) 1 file modified
init/job_process.c (+5/-3) |
To merge this branch: | bzr merge lp:~stgraber/upstart/upstart-user-cwd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Hunt | Approve | ||
Review via email: mp+147468@code.launchpad.net |
Description of the change
The default code in upstart was to chdir to / all jobs that don't have
an explicit chdir stanza. This isn't the wanted behaviour for user jobs
where we want CWD to be inherited.
This change simply adds an explicit check for user sessions.
To post a comment you must log in.
LGTM. Merged.