🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2452

Bug#1152342: zabbix-web-service: The shipped zabbix-web-service.service constructed a duplicated '-c' option

#2452
From: WHR
Date: Wed, 28 Oct 2026 10:50
82 lines
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==--
Technical Details
Message-ID: <NT9od-8put-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: WHR <whr@rivoreo.one>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152342: zabbix-web-service: The shipped zabbix-web-service.service constructed a duplicated '-c' option
Date: Wed, 28 Oct 2026 11:50:01 +0100
Message-ID: <NT9od-8put-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 10:49:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: WHR <whr@rivoreo.one>, 1152342@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: whr@rivoreo.one, onlyjob@debian.org
X-Debian-Pr-Message: report 1152342
X-Debian-Pr-Package: zabbix-web-service
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: zabbix
Content-Type: multipart/mixed; boundary="===============8171761264276104057=="
MIME-Version: 1.0
X-Mailer: reportbug 13.0.1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999338
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 82
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 18:47:49 +0800
X-Original-Message-ID: <179318446904.70697.11976672919790484726.reportbug@beijing-router-cm.rivoreo>