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

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

    <bug>
          <bug_id>32832</bug_id>
          
          <creation_ts>2016-12-01 05:22:42 +0300</creation_ts>
          <short_desc>Нарушает ALT Secure Packaging Policy</short_desc>
          <delta_ts>2016-12-01 10:12:46 +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>snort</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://www.altlinux.org/Secure_Packaging_Policy</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgenii Terechkov">evg</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>aen</cc>
    
    <cc>oddity</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>160345</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2016-12-01 05:22:42 +0300</bug_when>
    <thetext>Пакет нарушает ALT Secure Packaging Policy, на что ежедневно в почту жалуется
logrotate (3.9.1-alt2 и выше):

=8&lt;=======================================================================
error: skipping &quot;/var/log/snort/snort.log.1480503381&quot; because parent directory has insecure permissions (it&apos;s group writable and has no sticky bit set); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480496531&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480497478&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480498666&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480498719&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480499917&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480500364&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth0/snort.u2.1480503469&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth1/snort.u2.1480500364&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping &quot;/var/log/snort/eth1/snort.u2.1480503469&quot; because parent directory has insecure permissions (it&apos;s not owned by &quot;root&quot;); consider using &quot;su&quot; directive in config file to tell logrotate which user/group should be used for rotation.
=8&lt;=======================================================================

Полиси гласит:
=8&lt;=======================================================================
Пакеты не должны содержать каталоги, принадлежащие псевдо-пользователям. Вместо
этого следует использовать каталоги, принадлежащие root, с установленным sticky
bit и доступом группы по записи.
=8&lt;=======================================================================

P.S.: предыстория здесь: https://bugzilla.altlinux.org/show_bug.cgi?id=31623

P.P.S.: согласно определению ldv в багтрекере, пакеты нарушающие SPP это блокер
для выпуска продуктов, основанных на сизифе (цитата не дословная).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>