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

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

    <bug>
          <bug_id>16647</bug_id>
          
          <creation_ts>2008-08-11 01:04:17 +0400</creation_ts>
          <short_desc>/etc/rc.d/scripts/cleanup удаляет подкаталоги в /var/run</short_desc>
          <delta_ts>2008-08-30 01:41:08 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>startup</component>
          <version>unstable</version>
          <rep_platform>all</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>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Kornilov">hiddenman</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>evg</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75186</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2008-08-11 01:04:17 +0400</bug_when>
    <thetext>Уже очень давно, как оказалось, /etc/rc.d/scripts/cleanup удаляет подкаталоги в /var/run/$name/ (например, /var/run/ambs/radius), тогда как http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA говорит нам:
* _Files_ (выделение моё) under this directory must be cleared (removed or truncated as appropriate) at the beginning of the boot process.
* Programs may have a subdirectory of /var/run; this is encouraged for programs that use more than one run-time file.

Или, раз тут указан один подкаталог, то всё остальное должно удаляться? Мне кажется, что это не самая лучшая идея. Данная функциональность заставила меня понервничать и искать её решение не там, где оказалось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76607</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-08-30 01:32:19 +0400</bug_when>
    <thetext>(In reply to comment #0)
&gt; Уже очень давно, как оказалось, /etc/rc.d/scripts/cleanup удаляет подкаталоги в /var/run/$name/

Да, это уже давно, всё никак не соберусь это переделать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76609</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-08-30 01:41:08 +0400</bug_when>
    <thetext>Try 0.9.8.20-alt1-1-g20b0d31</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>