Package: fcgiwrap
Version: 1.1.0-14
Severity: important
Tags: patch
X-Debbugs-Cc: i...@ibugone.com

The systemd service file `/lib/systemd/system/fcgiwrap.service` is
currently written like this:

    ExecStart=/usr/sbin/fcgiwrap ${DAEMON_OPTS}

According to systemd.service(5), section "COMMAND LINES", this causes
DAEMON_OPTS to be expanded to a single argv for the spawned process.
Any attempt to include extra arguments (e.g. "DAEMON_OPTS=-f -c 8")
causes fcgiwrap not to recognize the space as a valid option.

This line should have been written without the braces:

    ExecStart=/usr/sbin/fcgiwrap $DAEMON_OPTS

At the time of reporting, both bookworm (1.1.0-14) and
bookworm-proposed-updates (1.1.0-14+deb12u1) are affected, but testing
and unstable (both are on 1.1.0-16) have been corrected.

Please backport this trivial fix (removing the braces) to
bookworm-updates.


-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.8-3-pve (SMP w/80 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fcgiwrap depends on:
ii  init-system-helpers        1.65.2
ii  libc6                      2.36-9+deb12u8
ii  libfcgi0ldbl               2.4.2-2
ii  libsystemd0                252.30-1~deb12u2
ii  lsb-base                   11.6
ii  systemd                    252.30-1~deb12u2
ii  sysvinit-utils [lsb-base]  3.06-4

fcgiwrap recommends no packages.

fcgiwrap suggests no packages.

-- no debconf information

Reply via email to