-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Mac OS X 10.6.7 (probably all OS X 10 versions)
Mac installer drops the org.jenkins-ci.plist file into /Library/LaunchAgents, which means it is loaded when every user logs in and it will run as that respective user. The permissions of JENKINS_HOME will probably cause Jenkins to fail to run for other users except the one who was the first to successfully run Jenkins. (Launch agents always run as the user who logs on, so they cannot setuid to daemon user even if the plist file so specifies.)
Expected: the org.jenkins-ci.plist file would be installed into /Library/LaunchDaemons. This would cause only one instance of Jenkins to run on the host. It would also start after reboot even if no user logs on. It would also run Jenkins as daemon user, like specified in the plist file.
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/1e308c2a7457c5e9d5929b1de39328e2e27ab3b8
Log:
[FIXED JENKINS-9398 JENKINS-9399]
These issues are fixed with pull request #166 that we just merged.
Compare: https://github.com/jenkinsci/jenkins/compare/89bd7cd...1e308c2