Article View: linux.debian.bugs.dist
Article #5802Bug#1142060: php8.4-fpm: The /run/php/php-fpm.sock alternative breaks on reboot
From: Guilhem
Date: Mon, 23 Nov 2026 18:10
Date: Mon, 23 Nov 2026 18:10
33 lines
2570 bytes
2570 bytes
I can confirm I can reproduce the same issue and the workaround works.
It needs to be added in the systemd and change of the script update if
possible with an exit code if failure:
#!/bin/sh
DEFAULT_SOCKET="${2}"
POOL_FILE="${3}"
PRIORITY="${4}"
[ -r "${POOL_FILE}" ] || exit 0
SOCKET=$(sed -n
's/^listen[[:space:]]*=[[:space:]]*\([^[:space:]]*\)/\1/p' "${POOL_FILE}")
[ -S "${SOCKET}" ] || exit 0
case "$1" in
start|install)
/usr/bin/update-alternatives --quiet --install
"${DEFAULT_SOCKET}" php-fpm.sock "${SOCKET}" "${PRIORITY}" || exit 1
;;
stop|remove)
/usr/bin/update-alternatives --quiet --remove php-fpm.sock
"${SOCKET}" || exit 1
;;
*)
exit 1
;;
esac
exit 0
Technical Details
Message-ID:
<O2GEh-dIs7-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NgOXw-4Jgw-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Guilhem <guilhem@vpntls.eu> Newsgroups: linux.debian.bugs.dist Subject: Bug#1142060: php8.4-fpm: The /run/php/php-fpm.sock alternative breaks on reboot Date: Mon, 23 Nov 2026 19:10:01 +0100 Message-ID: <O2GEh-dIs7-3@gated-at.bofh.it> References: <NgOXw-4Jgw-3@gated-at.bofh.it> X-Original-To: 1142060@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 23 18:03:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Guilhem <guilhem@vpntls.eu>, 1142060@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-php@tracker.debian.org X-Debian-Pr-Message: followup 1142060 X-Debian-Pr-Package: php8.4-fpm X-Debian-Pr-Source: php8.4 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: fr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: delayed 423 seconds by postgrey-1.37 at buxtehude; Mon, 23 Nov 2026 18:01:10 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004499 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 23 Nov 2026 18:54:01 +0100 X-Original-Message-ID: <1b4a5180-c3a2-4172-92fa-996582197f8d@vpntls.eu> X-Original-References: <178404891805.827892.4190847131523600787.reportbug@porkrind.org>