#1086500 fcgiwrap: Current use of ExecStart= prevents multiple arguments in DAEMON_OPTS

Package:
fcgiwrap
Source:
fcgiwrap
Description:
simple server to run CGI applications over FastCGI
Submitter:
iBug
Date:
2024-10-31 11:15:02 UTC
Severity:
normal
Tags:
#1086500#5
Date:
2024-10-31 11:09:55 UTC
From:
To:
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.