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

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

    <bug>
          <bug_id>34024</bug_id>
          
          <creation_ts>2017-10-18 13:30:48 +0300</creation_ts>
          <short_desc>Добавить запрет на популярные ошибочные каталоги</short_desc>
          <delta_ts>2018-05-11 15:49:12 +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>sisyphus_check</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
    
    <cc>placeholder</cc>
    
    <cc>snejok</cc>
    
    <cc>viy</cc>
    
    <cc>vseleznv</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166385</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-18 13:30:48 +0300</bug_when>
    <thetext>Предлагаю добавить запрет на упаковку каталогов
/var/lib/run/
/var/lib/lib/
/usr/share/CMake/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166386</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-18 13:34:34 +0300</bug_when>
    <thetext>На данный момент ситуация в Сизифе такая:

$ epmsf /var/lib/run/
Locate contents index file(s) ...
...
 $ cat contents_index  | egrep -i —color — &quot;(/var/lib/run/)&quot;
nfs-ganesha: /var/lib/run/ganesha
kup-server: /var/lib/run/kup
kup-server: /var/lib/run/kup/lock

$ epmsf /var/lib/lib/
 $ cat contents_index  | egrep -i —color — &quot;(/var/lib/lib/)&quot;
bro: /var/lib/lib/bro
bro: /var/lib/lib/bro/host
bro: /var/lib/lib/bro/site</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166475</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2017-10-23 14:28:15 +0300</bug_when>
    <thetext>(В ответ на комментарий №0)
&gt; Предлагаю добавить запрет на упаковку каталогов
&gt; /usr/share/CMake/
Достаточно пропатчить cmake, а не ломать совместимость с p8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166503</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-24 09:54:51 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; (В ответ на комментарий №0)
&gt; &gt; Предлагаю добавить запрет на упаковку каталогов
&gt; &gt; /usr/share/CMake/
&gt; Достаточно пропатчить cmake, а не ломать совместимость с p8.
Вы правы. Спасибо за
2017-10-23 Sergey V Turchin &lt;zerg at altlinux.org&gt; 3.9.2-alt0.4 
- search old sharedir CMake directory too
!


(В ответ на комментарий №1)
&gt; На данный момент ситуация в Сизифе такая:
пакеты nfs-ganesha и bro я исправил.
На kup-server завёл багу
https://bugzilla.altlinux.org/show_bug.cgi?id=34042</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166541</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-10-25 02:19:52 +0300</bug_when>
    <thetext>sisyphus_check-0.8.43-alt1 -&gt; sisyphus:

Wed Oct 25 2017 Dmitry V. Levin &lt;ldv@altlinux.org&gt; 0.8.43-alt1
- 130-check-fhs (check_fhs): disallow invalid path names (closes: #34024).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171025</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2018-05-11 15:49:12 +0300</bug_when>
    <thetext>Задания на копирование в p8: 206251
в c8.1: 206252

попросил их пропустить. Нарушений там немного:

$ egrep -e &apos;^/var/lib/(cache|lib|lock|log|nis|run|spool|www|yp)/.*&apos; /ALT/p8/{x86_64,noarch}/base/contents_index 
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/bro	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/bro/host	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/bro/site	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/dpkg	dpkg
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/dpkg/alternatives	dpkg
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/dpkg/info	dpkg
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/dpkg/parts	dpkg
/ALT/p8/x86_64/base/contents_index:/var/lib/lib/dpkg/updates	dpkg
/ALT/p8/x86_64/base/contents_index:/var/lib/log/bro	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/log/bro/archive	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/log/bro/sorted-logs	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/log/bro/stats	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/run/ganesha	nfs-ganesha
/ALT/p8/x86_64/base/contents_index:/var/lib/spool/bro	bro
/ALT/p8/x86_64/base/contents_index:/var/lib/spool/bro/tmp	bro
/ALT/p8/noarch/base/contents_index:/var/lib/run/kup	kup-server
/ALT/p8/noarch/base/contents_index:/var/lib/run/kup/lock	kup-server
$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>