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

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

    <bug>
          <bug_id>30145</bug_id>
          
          <creation_ts>2014-06-30 16:32:42 +0400</creation_ts>
          <short_desc>При использовании SystemD не работает rotate логов</short_desc>
          <delta_ts>2021-10-04 11:43:39 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p7</product>
          <component>audit</component>
          <version>не указана</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>inger</cc>
    
    <cc>ldv</cc>
    
    <cc>manowar</cc>
    
    <cc>rider</cc>
    
    <cc>ruslandh</cc>
    
    <cc>sem</cc>
          
          <qa_contact name="qa-p7@altlinux.org">qa-p7</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146912</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2014-06-30 16:32:42 +0400</bug_when>
    <thetext>/sbin/service в случае с systemd не запускает никаких дополнительных действий кроме стандартных. 
В итоге не работает /sbin/service auditd rotate, вызываемый по крону, что может привести к переполнению диска с логами.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146972</commentid>
    <comment_count>1</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2014-07-02 13:52:42 +0400</bug_when>
    <thetext>Ну, можно вызывать по крону непосредственно /etc/init.d/auditd rotate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151497</commentid>
    <comment_count>2</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2015-05-19 09:30:04 +0300</bug_when>
    <thetext>а нельзя заменить строчку

/sbin/service auditd rotate

на

/etc/rc.d/init.d/auditd rotate

непосредственно в пакете?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151498</commentid>
    <comment_count>3</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2015-05-19 09:41:02 +0300</bug_when>
    <thetext>Перенесу-ка на Сизиф, там то-же самое</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151499</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2015-05-19 10:55:03 +0300</bug_when>
    <thetext>В Sisyphus всё работает.

root@riderbook ~ # service auditd rotate
Rotating auditd logs
                                                                                                                                                     [ DONE ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202303</commentid>
    <comment_count>5</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2021-09-03 14:12:47 +0300</bug_when>
    <thetext>Наверное, можно закрыть?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203465</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-10-04 11:43:39 +0300</bug_when>
    <thetext>Исправлено в Sisyphus, в p7 перенос не планируется.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>