Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by WHR
Wed, 28 Oct 2026 10:50
Bug#1152342: zabbix-web-service: The shipped zabbix-web-service.service constructed a duplicated '-c' option
Author: WHR
Date: Wed, 28 Oct 2026 10:50
Date: Wed, 28 Oct 2026 10:50
82 lines
4267 bytes
4267 bytes
This is a multi-part MIME message sent by reportbug. --===============8171761264276104057== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: zabbix-web-service Version: 1:7.0.29+dfsg-2 Severity: important Tags: patch X-Debbugs-Cc: whr@rivoreo.one Dear maintainers, The zabbix-web-service.service unit shipped in this package contains the following directives: Environment="DAEMON_ARGS= -c /etc/zabbix/zabbix_web_service.conf" EnvironmentFile=-/etc/default/%p ExecStart=/usr/sbin/zabbix_web_service -c $DAEMON_ARGS Both the default 'DAEMON_ARGS' variable and the 'ExecStart' directive include a '-c' option. If no '/etc/default/zabbix-web-service' exists (the default) or didn't set 'DAEMON_ARGS', the final command line will contain two '-c', causing the service to fail, with error: ERROR: cannot open configuration file: open -c: no such file or directory E.g., zabbix_web_service(8) being instructed to read a configuration file named '-c'. Please remove the redundant option from 'ExecStart'. -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: riscv64 Kernel: Linux 6.1.102-rivoreo-starfive (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages zabbix-web-service depends on: ii adduser 3.159 ii libc6 2.43-7 hi systemd [systemd-tmpfiles] 255.5-1 ii sysvinit-utils 3.09-2 Versions of packages zabbix-web-service recommends: pn chromium <none> Versions of packages zabbix-web-service suggests: ii logrotate 3.21.0-2 -- no debconf information --===============8171761264276104057== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="zabbix-web-service.service.diff" --- zabbix-web-service.service.orig 2022-08-10 11:44:13.000000000 +0800 +++ zabbix-web-service.service 2026-10-28 18:43:45.696345141 +0800 @@ -8,7 +8,7 @@ EnvironmentFile=-/etc/default/%p Type=simple KillMode=control-group -ExecStart=/usr/sbin/zabbix_web_service -c $DAEMON_ARGS +ExecStart=/usr/sbin/zabbix_web_service $DAEMON_ARGS ExecStop=/bin/sh -c '[ -n "$1" ] && kill -s TERM "$1"' -- "$MAINPID" RestartSec=10s User=zabbix --===============8171761264276104057==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads