Hello community, here is the log from the commit of package fcgiwrap for openSUSE:Factory checked in at 2020-05-14 23:28:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcgiwrap (Old) and /work/SRC/openSUSE:Factory/.fcgiwrap.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcgiwrap" Thu May 14 23:28:32 2020 rev:3 rq:805643 version:1.1.0+18+g99c942c Changes: -------- --- /work/SRC/openSUSE:Factory/fcgiwrap/fcgiwrap.changes 2019-02-27 15:09:05.366393296 +0100 +++ /work/SRC/openSUSE:Factory/.fcgiwrap.new.2738/fcgiwrap.changes 2020-05-14 23:28:35.609478434 +0200 @@ -1,0 +2,10 @@ +Wed May 6 11:38:36 UTC 2020 - Martin Wilck <mwi...@suse.com> + +- Fix issue with spawn-fcgi: in this case, fcgiwrap needs to be able + to use a listening socket passed via fd 0 (stdin). + * Drop patch: Quit-without-listening-socket.patch +- Fix the issue with systemd socket activation by making the service + depend on the socket unit. + * Add patch: fcgiwrap.service-depend-on-fcgiwrap.socket.patch + +------------------------------------------------------------------- Old: ---- Quit-without-listening-socket.patch New: ---- fcgiwrap.service-depend-on-fcgiwrap.socket.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcgiwrap.spec ++++++ --- /var/tmp/diff_new_pack.Q6YY6c/_old 2020-05-14 23:28:37.193481891 +0200 +++ /var/tmp/diff_new_pack.Q6YY6c/_new 2020-05-14 23:28:37.193481891 +0200 @@ -1,7 +1,7 @@ # # spec file for package fcgiwrap # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,7 +37,7 @@ Patch4: support-p-flag-in-sysconfig.patch Patch5: fix-kill-parameter-sequence.patch Patch6: fix-run-fcgiwrap-script.patch -Patch7: Quit-without-listening-socket.patch +Patch7: fcgiwrap.service-depend-on-fcgiwrap.socket.patch BuildRequires: FastCGI-devel BuildRequires: autoconf BuildRequires: automake ++++++ fcgiwrap.service-depend-on-fcgiwrap.socket.patch ++++++ >From 9d701fe1c729d5b0076c2993202fbc4bf113b0e7 Mon Sep 17 00:00:00 2001 From: Martin Wilck <mwi...@suse.com> Date: Wed, 6 May 2020 16:14:13 +0200 Subject: [PATCH] fcgiwrap.service: depend on fcgiwrap.socket Without this dependency, users may run "systemctl start fcgiwrap.service" without the socket being started first, resulting in fcgiwrap trying to do CGI communication via stdin (/dev/null), which fails and spits out lots of confusing error messages. --- systemd/fcgiwrap.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd/fcgiwrap.service b/systemd/fcgiwrap.service index cd9ac22..90e5e28 100644 --- a/systemd/fcgiwrap.service +++ b/systemd/fcgiwrap.service @@ -1,6 +1,7 @@ [Unit] Description=Simple CGI Server -After=nss-user-lookup.target +After=nss-user-lookup.target fcgiwrap.socket +Requires=fcgiwrap.socket [Service] EnvironmentFile=-/etc/sysconfig/fcgiwrap -- 2.26.2