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

Default shell for hudson user in debian package prevents from properly running svn commands

    XMLWordPrintable

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      When using the hudson maven release plugin, maven will trigger a SCM tag.

      This command will be ran on the user's login shell and won't reuse the svn
      permissions stored by hudson.

      The hudson user created by the current debian package doesn't allow shell, so
      the command will not be able to reuse any locally configured subversion
      logins.

      The patch works around the issue by assigning a shell to the hudson user
      created by maven. The patch doesn't address existing hudson users.

      I am not sure if this change needs to be committed or if because of security
      issues, we should let users manually modify the system configuration.

        Attachments

          Activity

          Hide
          lacostej lacostej added a comment -

          Created an attachment (id=1005)
          fix.

          Show
          lacostej lacostej added a comment - Created an attachment (id=1005) fix.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/debian/hudson.postinst
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24007
          Log:
          [FIXED JENKINS-4830] in 1.336. Thanks for the patch!

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/debian/hudson.postinst trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24007 Log: [FIXED JENKINS-4830] in 1.336. Thanks for the patch!

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lacostej lacostej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: