Package: fcgiwrap Version: 1.1.0-2 Severity: normal After moving to systemd fcgiwrap no longer started at boot. The following was logged:
Mar 23 13:37:16 hostname systemd[1]: Starting Simple CGI Server...
Mar 23 13:37:16 hostname systemd[1]: Started Simple CGI Server.
Mar 23 13:37:16 hostname fcgiwrap[27648]: Cannot get script name, are
DOCUMENT_ROOT and SCRIPT_NAME (or SCRIPT_FILENAME) set and is the script
executable?
Mar 23 13:37:16 hostname fcgiwrap[27648]: Status: 502 Bad Gateway
Mar 23 13:37:16 hostname fcgiwrap[27648]: Content-type: text/plain
Mar 23 13:37:16 hostname fcgiwrap[27648]: An error occurred while reading CGI
reply (no response received
Investigating, I found that fcgiwrap has both a service and a socket
file and on my box fcgiwrap.service was enabled but fcgiwrap.socket
was not.
# systemctl status fcgiwrap.socket
fcgiwrap.socket - fcgiwrap Socket
Loaded: loaded (/lib/systemd/system/fcgiwrap.socket; disabled)
Active: inactive (dead)
Listen: /run/fcgiwrap.socket (Stream)
After enabling fcgiwrap.socket it worked as expected.
Perhaps using --with systemd for dh would make it "do the right
thing".
https://wiki.debian.org/systemd/Packaging?action=show&redirect=Systemd%2FPackaging
signature.asc
Description: PGP signature

