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

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

    <bug>
          <bug_id>8929</bug_id>
          
          <creation_ts>2006-01-25 13:35:45 +0300</creation_ts>
          <short_desc>Broken options VERBOSE and PROGRESS when set in options files</short_desc>
          <delta_ts>2006-05-10 11:28:56 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>etcnet</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuriy Kashirin">yura</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35086</commentid>
    <comment_count>0</comment_count>
    <who name="Yuriy Kashirin">yura</who>
    <bug_when>2006-01-25 13:35:45 +0300</bug_when>
    <thetext>В etcnet версий 0.8.{0,1} установка опций VERBOSE и PROGRESS в    
файлах /etc/net/options, /etc/net/options.d/* никак не влияет на    
&quot;многословность&quot; скриптов if{up,down}.    
    
Просмотр скриптов показал, что причина в том, что в /etc/net/functions сначала    
определяются функции print_message(), print_progress(), print_nack(), а сами    
опции читаются из файлов позднее (само определение функций зависит    
от состояния указанных опций).   
    
В 0.7.x работало, поскольку в начале файла /etc/net/functions было чтение    
опций из файлов, а потом определение функций.    
  
Steps to Reproduce:
1. cat &gt;/etc/net/options.d/99-verbose &lt;&lt;EOF 
VERBOSE=yes 
PROGRESS=yes 
EOF 
2. ifup ppp0 
(отрабатывает молча) 
 
3. VERBOSE=yes PROGRESS=yes ifup ppp0 
(работает многословно, показывает прогрес)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35091</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2006-01-25 16:15:50 +0300</bug_when>
    <thetext>А ведь действительно. Если это возможно с текущим кодом, починю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37472</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2006-04-20 16:41:47 +0400</bug_when>
    <thetext>0.8.3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>