Fixed
Details
Assignee
Benjamin ReedBenjamin ReedReporter
Jesse WhiteJesse WhiteComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Benjamin Reed
Benjamin ReedReporter
Jesse White
Jesse WhiteComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created October 25, 2016 at 3:20 PM
Updated October 25, 2016 at 8:01 PM
Resolved October 25, 2016 at 4:01 PM
When starting minion via /etc/init.d/minion start, the following errors appear in the console
sudo /etc/init.d/minion start find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied
It appears that these come from the `find-java.sh` script:
/usr/bin/sudo -u minion /opt/minion/bin/find-java.sh 1.8.0 1.8.9999 find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied /usr/java/jdk1.8.0_60
In this case, /opt contains folders which are owned by root, and cannot be read by the Minion user. Perhaps we should suppress these errors when attempting to locate the JRE.