-
Bug
-
Resolution: Fixed
-
Blocker
-
None
There is a bug in debian/debian/jenkins.postinst. If JENKINS_USER and/or JENKINS_GROUP are created before run it, jenkins.postinst will exits with status code 1.
The cause of this bug is that addgroup or adduser always run even if JENKINS_USER or JENKINS_GROUP exists on system.
This bug is mixed at this commit: https://github.com/jenkinsci/jenkins/commit/7216aab0d3f7215be7d71109936ad4b3aa0a583b#diff-9e43a327b861c17bacb4b0991828debd
Code changed in jenkins
User: Oliver Gondža
Path:
debian/debian/jenkins.postinst
http://jenkins-ci.org/commit/jenkins/05ae0809cccaa1ea714a5b8685e7d996e0e9b3a5
Log:
[FIXED JENKINS-22715] Merge pull request #1208 from mika/mika/fix_debian_upgrades
Debian postinst: check for present user/group before adding them