<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>53986</bug_id>
          
          <creation_ts>2025-04-24 18:29:58 +0300</creation_ts>
          <short_desc>Неправильная генерация spawn-fcgi.service</short_desc>
          <delta_ts>2025-05-26 14:44:57 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>spawn-fcgi</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Дмитрий Андреев">andreevds</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>alimektor</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263517</commentid>
    <comment_count>0</comment_count>
    <who name="Дмитрий Андреев">andreevds</who>
    <bug_when>2025-04-24 18:29:58 +0300</bug_when>
    <thetext>В файле 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 и сервис &quot;не стартует&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263799</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2025-04-29 21:46:53 +0300</bug_when>
    <thetext># apt-get install -y spawn-fcgi
# systemctl enable --now spawn-fcgi.service &amp;&amp; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265610</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-05-26 14:44:57 +0300</bug_when>
    <thetext>spawn-fcgi-1.6.5-alt2 -&gt; sisyphus:

 Mon May 26 2025 Anton Farygin &lt;rider@altlinux.com&gt; 1.6.5-alt2
 - fixed pid file location in the startup service (closes: #53986)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>