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

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

    <bug>
          <bug_id>38758</bug_id>
          
          <creation_ts>2020-07-24 13:07:51 +0300</creation_ts>
          <short_desc>перенести создание каталогов в /var/run/ из init-скрипта в правила в /lib/tmpfiles.d</short_desc>
          <delta_ts>2020-08-31 12:58:22 +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>apache2-mod_fcgid</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>asy</cc>
    
    <cc>vercha</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>191547</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-07-24 13:07:51 +0300</bug_when>
    <thetext>Система: ALT Server
Версия пакета: apache2-mod_fcgid-2.3.9-alt2

После перезагрузки системы сервис httpd2 не запускается.

В логах /var/log/httpd2/error_log ошибки следующие:

[fcgid:emerg] [pid 3999] (2)No such file or directory: mod_fcgid: Can&apos;t create shared memory for size 1200712 bytes

Проблема возникает из-за того, что после перезагрузки удаляется каталог /var/run/mod_fcgid, потому-что расположен в tmpfs:

# l /var/run/mod_fcgid
ls: невозможно получить доступ к &apos;/var/run/mod_fcgid&apos;: Нет такого файла или каталога

# rpm -ql apache2-mod_fcgid | grep run
/var/run/mod_fcgid
/var/run/mod_fcgid/fcgid_sock</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192028</commentid>
    <comment_count>1</comment_count>
    <who name="Vera Blagoveschenskaya">vercha</who>
    <bug_when>2020-08-25 13:41:58 +0300</bug_when>
    <thetext>Тоже напоролась на эту ошибку :(
Прошу исправить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192121</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2020-08-31 10:23:54 +0300</bug_when>
    <thetext>Я уж и забыл, зачем я его собирал. Но этой ошибки быть не должно:

* Mon Oct 24 2016 Sergey Y. Afonin &lt;asy@altlinux.ru&gt; 2.3.9-alt2
- Added init script for check subdirectories in %%_runtimedir

Это, конечно, не модный сейчас метод через /lib/tmpfiles.d, но должно работать. LSB-заголовок в init-скрипте есть, systemd должен подхватывать.

В общем chkconfig mod_fcgid on должно помочь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192125</commentid>
    <comment_count>3</comment_count>
    <who name="Vera Blagoveschenskaya">vercha</who>
    <bug_when>2020-08-31 11:43:40 +0300</bug_when>
    <thetext>(Ответ для Sergey Y. Afonin на комментарий #2)
&gt; Я уж и забыл, зачем я его собирал. Но этой ошибки быть не должно:
&gt; 
&gt; * Mon Oct 24 2016 Sergey Y. Afonin &lt;asy@altlinux.ru&gt; 2.3.9-alt2
&gt; - Added init script for check subdirectories in %%_runtimedir
&gt; 
&gt; Это, конечно, не модный сейчас метод через /lib/tmpfiles.d, но должно
&gt; работать. LSB-заголовок в init-скрипте есть, systemd должен подхватывать.
&gt; 
&gt; В общем chkconfig mod_fcgid on должно помочь.

Спасибо. Сделала chkconfig mod_fcgid.
После перезагрузки сервис httpd2 запущен.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>