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

Updating Hudson using debian packages takes ages because of chmod

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Ubuntu 8.04LTS, Hudson Debian Package

      Description

      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)

        Activity

        Hide
        ahochsteger ahochsteger added a comment -

        It is maybe related to JENKINS-4047.

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

        Possible solution for this is attached to JENKINS-4047.

        Show
        ashlux ashlux added a comment - Possible solution for this is attached to JENKINS-4047 .
        Hide
        scm_issue_link 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.

        Show
        scm_issue_link 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.
        Hide
        scm_issue_link 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.

        Show
        scm_issue_link 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 .
        Hide
        ashlux ashlux added a comment -

        Fix committed for 1.342.

        Show
        ashlux ashlux added a comment - Fix committed for 1.342.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: