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

Updating Hudson using debian packages takes ages because of chmod

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • other
    • None
    • Ubuntu 8.04LTS, Hudson Debian Package

      When updating hudson using the debian package, chmod is executed on the whole Hudson home directory, taking many minutes up to an hour if you have many jobs and builds stored.

      This is the process that is executed:

      chmod -R 750 /var/run/hudson /var/lib/hudson

      Here's the pstree output, to see where it is executed from:

      aptitude(31780)-+-dpkg(31855)---hudson.postinst(31887)---chmod(31975)

          [JENKINS-5112] Updating Hudson using debian packages takes ages because of chmod

          ahochsteger added a comment -

          It is maybe related to JENKINS-4047.

          ahochsteger added a comment - It is maybe related to JENKINS-4047 .

          ashlux added a comment -

          Possible solution for this is attached to JENKINS-4047.

          ashlux added a comment - Possible solution for this is attached to JENKINS-4047 .

          Code changed in hudson
          User: : ashlux
          Path:
          trunk/hudson/main/debian/hudson.postinst
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25795
          Log:
          [FIXED JENKINS-5112] [FIXED JENKINS-4047] Leave permissions and owner of the jobs and .ssh directory alone.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : ashlux Path: trunk/hudson/main/debian/hudson.postinst http://fisheye4.cenqua.com/changelog/hudson/?cs=25795 Log: [FIXED JENKINS-5112] [FIXED JENKINS-4047] Leave permissions and owner of the jobs and .ssh directory alone.

          Code changed in hudson
          User: : ashlux
          Path:
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25796
          Log:
          Add JENKINS-5112 and JENKINS-2175.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : ashlux Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=25796 Log: Add JENKINS-5112 and JENKINS-2175 .

          ashlux added a comment -

          Fix committed for 1.342.

          ashlux added a comment - Fix committed for 1.342.

            ashlux ashlux
            ahochsteger ahochsteger
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: