Jenkins installs as a launch agent, not as launch daemon

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • Environment:
      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.

            Assignee:
            Unassigned
            Reporter:
            Sami Tikka
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: