Bug 53986

Summary: Неправильная генерация spawn-fcgi.service
Product: Sisyphus Reporter: Дмитрий Андреев <andreevds>
Component: spawn-fcgiAssignee: Anton Farygin <rider>
Status: NEW --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P5 CC: alimektor, rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Дмитрий Андреев 2025-04-24 18:29:58 MSK
В файле etc/init.d/spawn-fcgi строка
# pidfile: /var/run/spawn-fcgi.pid
не соответствует 
PIDFILE=/var/run/spawn-fcgi/spw-cgi.pid

В результате systemd-sysv-generator генерирует spawn-fcgi.service, с неправильным значением PIDFile и сервис "не стартует".
Comment 1 Evgeny Shesteperov 2025-04-29 21:46:53 MSK
# apt-get install -y spawn-fcgi
# systemctl enable --now spawn-fcgi.service && sleep 5; systemctl status spawn-fcgi.service --no-pager -l
○ spawn-fcgi.service - LSB: start and stop spawn-fcgi
     Loaded: loaded (/etc/rc.d/init.d/spawn-fcgi; generated)
     Active: inactive (dead)
       Docs: man:systemd-sysv-generator(8)

апр 29 21:42:11 server-11-0-beta20250213-x86-64-minimal systemd[1]: /run/systemd/generator.late/spawn-fcgi.service:22: PIDFile= references a path below legacy directory /var/run/, updating /var/run/spawn-fcgi.pid → /run/spawn-fcgi.pid; please update the unit file accordingly.
апр 29 21:42:11 server-11-0-beta20250213-x86-64-minimal systemd[1]: /run/systemd/generator.late/spawn-fcgi.service:22: PIDFile= references a path below legacy directory /var/run/, updating /var/run/spawn-fcgi.pid → /run/spawn-fcgi.pid; please update the unit file accordingly.

Воспроизводится в P11.