[Merge] lp:~jamesodhunt/upstart/handle-no-home-var into lp:upstart

James Hunt james.hunt at canonical.com
Wed Mar 12 14:35:31 UTC 2014


James Hunt has proposed merging lp:~jamesodhunt/upstart/handle-no-home-var into lp:upstart.

Requested reviews:
  Upstart Reviewers (upstart-reviewers)

For more details, see:
https://code.launchpad.net/~jamesodhunt/upstart/handle-no-home-var/+merge/210621

Currently, if $HOME is unset and upstart is run as a Session Init, it will spin at 100% CPU,due to the following in main():

592  dirs = NIH_MUST (get_user_upstart_dirs ());

We could just change that logic, but a better approach is to query the password database to determine the users home directory as that is a more reliable method anyway.
-- 
https://code.launchpad.net/~jamesodhunt/upstart/handle-no-home-var/+merge/210621
Your team Upstart Reviewers is requested to review the proposed merge of lp:~jamesodhunt/upstart/handle-no-home-var into lp:upstart.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2404 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20140312/f6134816/attachment.diff>


More information about the upstart-devel mailing list