#1037308 php8.2-fpm: Fails to start when /run/php doesn't exist.

Package:
php8.2-fpm
Source:
php8.2-fpm
Description:
server-side, HTML-embedded scripting language (FPM-CGI binary)
Submitter:
Mike Hommey
Date:
2024-12-02 07:42:04 UTC
Severity:
normal
Tags:
#1037308#5
Date:
2023-06-11 00:31:54 UTC
From:
To:
Dear Maintainer,

(In case this is relevant, this is happening in a LHC container, but I
don't think this is related.)

php8.2-fpm fails to start with:

ERROR: unable to bind listening socket for address '/run/php/php8.2-fpm.sock': No such file or directory (2)
ERROR: FPM initialization failed

/run/php doesn't exist. Creating it fixes the issue. (/run is a tmpfs in
the container, just like it is on a normal Debian install)

#1037308#10
Date:
2023-06-11 06:27:57 UTC
From:
To:
The package needs systemd-tmpfiles script to work. It has been explicitly requested to not enforce the dependency on systemd because of “containers”, so I’ve removed it.

So, I am not going to fix this.

Ondřej
--
Ondřej Surý <ondrej@sury.org> (He/Him)

#1037308#19
Date:
2023-06-11 20:38:07 UTC
From:
To:
Package systemd-tmpfiles is a virtual package provided by:
  systemd-standalone-tmpfiles 252.6-1 (= 252.6-1)
  systemd 252.6-1 (= 252.6-1)

and systemd is installed...

Mike