Package: zabbix-web-service Version: 1:7.0.29+dfsg-2 Severity: important Tags: patch X-Debbugs-Cc: [email protected]
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
--- 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

