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

Jenkins update using apt-get on Ubuntu breaks installations due to /var/lib/jenkins ownership

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Environment:
      Ubuntu 10.10 tomcat6
    • Similar Issues:

      Description

      Jenkins is installed using distribution (apt-get install jenkins) but is configured to run inside tomcat6.

      In order to preserve default package location I added a symlink from /usr/share/tomcat6/.jenkins to /var/lib/jenkins

      After this I change the default ownership for the /var/lib/jenkins from jenkins:adm to tomcat6:tomcat6

      The problem is that after each Jenkins upgrade the server will refuse to restart because the permissions on the /var/lib/jenkins are reset and as a direct result it will fail to start because it cannot write to the /var/lib/jenkinks directory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ssbarnea Sorin Sbarnea
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: