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

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

    <bug>
          <bug_id>9937</bug_id>
          
          <creation_ts>2006-08-30 13:49:33 +0400</creation_ts>
          <short_desc>обрабатываются лишние файлы в /etc/net/options.d/* (rpmsave)</short_desc>
          <delta_ts>2007-02-21 12:17:36 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Archive</classification>
          <product>Branch 3.0</product>
          <component>etcnet</component>
          <version>3.0</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Y. Afonin">asy</reporter>
          <assigned_to name="Denis Ovsienko">pilot</assigned_to>
          
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39875</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2006-08-30 13:49:34 +0400</bug_when>
    <thetext>&gt; pickup_defaults()
&gt; {
&gt;         for optionsfile in /etc/net/options /etc/net/options.d/*; do
&gt;                 [ -s &quot;$optionsfile&quot; ] &amp;&amp; . $optionsfile
&gt;         done

хватает всё, но, при установке, могут появиться файлы *.rpmsave. Надо бы
придумать исключение. При этом, видимо, стоит сделать исключение конфигурируемым
в рассчёте на какие-нибудь другие пакетные менеджеры.

Отдельный момент. Где-то гарантируется, что for ... in ... будет работать с 
сортированным списком ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39877</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2006-08-30 13:58:00 +0400</bug_when>
    <thetext>В Сизифе уже исправлено оказывается, перевешиваю на 3.0
Обновить бы тогда.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40049</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2006-09-05 20:58:46 +0400</bug_when>
    <thetext>Упорядоченность списка обеспечивается sh при раскрытии шаблона (цитирую из man
bash):

       LC_CTYPE
              This  variable  determines  the interpretation of characters and
              the behavior of character classes within pathname expansion  and
              pattern matching.
[...]
   Pathname Expansion
       After  word  splitting,  unless  the -f option has been set, bash scans
       each word for the characters *, ?, and [.  If one of  these  characters
       appears,  then  the word is regarded as a pattern, and replaced with an
       alphabetically sorted list of file names matching the pattern.   If  no

Запрос обновить для C3.0 принимается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40119</commentid>
    <comment_count>3</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2006-09-10 02:00:49 +0400</bug_when>
    <thetext>Помещено в ветку etcnet-0.7-maintenance, будет включено в версию 0.7.17.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>