Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9399

Jenkins installs as a launch agent, not as launch daemon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • 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.

            Unassigned Unassigned
            sti Sami Tikka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: