🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Guilhem Mon, 23 Nov 2026 18:10
Bug#1142060: php8.4-fpm: The /run/php/php-fpm.sock alternative breaks on reboot
#5802
Author: Guilhem
Date: Mon, 23 Nov 2026 18:10
33 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads