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

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

    <bug>
          <bug_id>51622</bug_id>
          
          <creation_ts>2024-10-02 17:01:10 +0300</creation_ts>
          <short_desc>Вы неправильно создаёте каталог в /run</short_desc>
          <delta_ts>2024-10-27 15:48:49 +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>byedpi</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ruslandh">ruslandh</reporter>
          <assigned_to name="Andrew Savchenko">bircoph</assigned_to>
          <cc>bircoph</cc>
    
    <cc>grizlik78</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>252462</commentid>
    <comment_count>0</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2024-10-02 17:01:10 +0300</bug_when>
    <thetext>Вы включили в rpm каталог в /run

Но это динамический каталог, это так не работает. 
Для того, чтобы systemd создал каталог в /run, надо создать файл в /usr/lib/tmpfiles.d

Пример создания такого файла можно посмотреть, например, в спеке альтератора:
https://packages.altlinux.org/ru/sisyphus/srpms/alterator/specfiles/


cat &gt;%buildroot%_tmpfilesdir/%name.conf&lt;&lt;EOF
d /run/alteratord 0710 root _alteratord -
EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252465</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Savchenko">bircoph</who>
    <bug_when>2024-10-02 19:05:46 +0300</bug_when>
    <thetext>Да, перепутал. Исправлю на следующей неделе, заодно добавлю поддержку systemd. Сейчас некогда.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253484</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-10-27 15:48:49 +0300</bug_when>
    <thetext>byedpi-0.14.1.0.8.g322f-alt2 -&gt; sisyphus:

 Sun Oct 27 2024 Andrew Savchenko &lt;bircoph@altlinux&gt; 0.14.1.0.8.g322f-alt2
 - Use tmpfilesd (Closes: #51622)
 - Add LSB header to the init script</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>