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

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

    <bug>
          <bug_id>32509</bug_id>
          
          <creation_ts>2016-09-17 20:52:58 +0300</creation_ts>
          <short_desc>Нарушает ALT Secure Packaging Policy</short_desc>
          <delta_ts>2016-09-26 11:05:07 +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>bacula-director-common</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>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="Michael Shigorin">mike</assigned_to>
          <cc>real</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158644</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2016-09-17 20:52:58 +0300</bug_when>
    <thetext>Пакет нарушает ALT Secure Packaging Policy, на что ежемесячно в почту жалуется
logrotate (3.9.1-alt2 и выше):

=8&lt;=================================================
error: skipping &quot;/var/log/bacula/log&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.: согласно определению ldv в багтрекере, пакеты нарушающие SPP это блокер
для выпуска продуктов, основанных на сизифе (цитата не дословная).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158751</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-09-25 09:01:14 +0300</bug_when>
    <thetext>bacula-5.2.13-alt7 -&gt; sisyphus:

* Sun Sep 25 2016 Terechkov Evgenii &lt;evg@altlinux&gt; 5.2.13-alt7
- Make catalog backup work like rhel7/centos7 to work around ALT #31692

* Wed Sep 14 2016 Terechkov Evgenii &lt;evg@altlinux&gt; 5.2.13-alt6
- add systemd unit for bacula-fd (ALT #28029)
- add systemd unit for bacula-sd (ALT #28033)
- add systemd unit for bacula-dir (ALT #28030, #28031, #28032)
- change mode of %_logdir/bacula to 1770 according to ALT Secure Packaging Policy (ALT #32509)
- drop obsoleted alternatives calls
- move tmpfiles config to %_tmpfilesdir
- change mode of %_var/run/bacula to 1770 to enforce privilege separation under systemd
- change mode of %_localstatedir/bacula to 1770 to enforce privilege separation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158761</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2016-09-26 11:05:07 +0300</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>