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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • Ubuntu 10.10 tomcat6

      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.

            Unassigned Unassigned
            ssbarnea Sorin Sbarnea
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: