Bug 53986 - Неправильная генерация spawn-fcgi.service
Summary: Неправильная генерация spawn-fcgi.service
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: spawn-fcgi (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 minor
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 18:29 MSK by Дмитрий Андреев
Modified: 2025-04-29 21:46 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.