Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904101

Summary: =dev-util/jenkins-bin-2.396 fails to start. Unrecognized option: --daemon
Product: Gentoo Linux Reporter: dE <de.techno>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Severity: normal CC: graaff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description dE 2023-04-10 09:30:04 UTC
it seems this particular version fo jenkins does not take the --daemon command line option as specified in the systemd unit.

jenkins.service: Failed with result 'exit-code'.
jenkins.service: Main process exited, code=exited, status=1/FAILURE
        at executable.Main.main(
        at java.base/java.lang.reflect.Method.invoke(
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at winstone.Launcher.main(
        at winstone.Launcher.getArgsFromCommandLine(
        at winstone.cmdline.CmdLineParser.parse(
Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized option: --daemon

Removing this switch resolves the issue.
Comment 1 Larry the Git Cow gentoo-dev 2023-07-15 18:25:12 UTC
The bug has been closed via the following commit(s):

commit e6a81a66efc3b3150375e11cfc1e206db01cae91
Author:     Hans de Graaff <>
AuthorDate: 2023-07-15 18:24:06 +0000
Commit:     Hans de Graaff <>
CommitDate: 2023-07-15 18:24:06 +0000

    dev-util/jenkins-bin: fix systemd service file
    The --daemon option is no longer available with Jenkins.
    Signed-off-by: Hans de Graaff <>

 dev-util/jenkins-bin/Manifest                      |  1 +
 dev-util/jenkins-bin/files/jenkins-bin-r5.service  | 11 ++++++
 dev-util/jenkins-bin/jenkins-bin-2.401.2-r1.ebuild | 45 ++++++++++++++++++++++
 dev-util/jenkins-bin/jenkins-bin-2.414.ebuild      | 45 ++++++++++++++++++++++
 4 files changed, 102 insertions(+)