Fixes T6806. We haven't seen users having issues with phd.user in a very long time.
Details
Details
- Configured daemons to run as notepriestley, got a well-explained exception.
- Configured daemons to run as epriestley, got a clean start.
- Configured daemons with phd.user=null, got a clean start.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- daemon5
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 11766 Build 14745: Run Core Tests Build 14744: arc lint + arc unit
Event Timeline
Comment Actions
- Print slightly more information in the exception message.
Usage Exception: Daemons are configured to run as user "notepriestley" in configuration option `phd.user`, but the current user is "epriestley" and `phd` was unable to switch to the correct user with `sudo`. Command output: Command failed with error #1! COMMAND exec sudo -En -u 'notepriestley' -- ./phd-daemon '-l' 'local' STDOUT (empty) STDERR sudo: unknown user: notepriestley