Current jenkins.service systemd unit have Type=forking. Besides Jenkins start successfully, systemd service is stopped after timeout. After changing to Type=simple it started to work. Testing with openjdk11.
Created the following PR: https://github.com/gentoo/gentoo/pull/24186
(In reply to Samuel Bernardo from comment #0) > Current jenkins.service systemd unit have Type=forking. > Besides Jenkins start successfully, systemd service is stopped after timeout. > > After changing to Type=simple it started to work. > > Testing with openjdk11. Same problem and solution here. Thanks.
Same problem and solution. Thanks!
Fixed for the :0 slot so this can be tested. I'll update the :lts slot when a new version is out for it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbcc867d821a6ccd39ff7be74cc595daf990b390 commit dbcc867d821a6ccd39ff7be74cc595daf990b390 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2022-07-29 06:59:41 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2022-07-29 07:01:05 +0000 dev-util/jenkins-bin: add 2.361 Bug: https://bugs.gentoo.org/828651 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/files/jenkins-bin-r3.service | 11 ++++++ dev-util/jenkins-bin/jenkins-bin-2.361.ebuild | 45 +++++++++++++++++++++++ 3 files changed, 57 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65556c74985355f88b77ea52e90da9f8a8c760ec commit 65556c74985355f88b77ea52e90da9f8a8c760ec Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2022-08-11 04:11:45 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2022-08-11 04:12:44 +0000 dev-util/jenkins-bin: add 2.346.3 Closes: https://bugs.gentoo.org/828651 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/jenkins-bin-2.346.3.ebuild | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+)