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 created issue -
          ahochsteger made changes -
          Description Original: 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)
          New: 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:
          {noformat}chmod -R 750 /var/run/hudson /var/lib/hudson{noformat}

          Here's the pstree output, to see where it is executed from:
          {noformat}aptitude(31780)-+-dpkg(31855)---hudson.postinst(31887)---chmod(31975){noformat}
          ashlux made changes -
          Assignee New: ashlux [ ashlux ]
          ashlux made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          ahochsteger made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Richard Bywater made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135196 ] New: JNJira + In-Review [ 203325 ]

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

              Created:
              Updated:
              Resolved: