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

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

    <bug>
          <bug_id>15481</bug_id>
          
          <creation_ts>2008-04-27 17:52:23 +0400</creation_ts>
          <short_desc>broken ifplugd support</short_desc>
          <delta_ts>2008-07-30 01:38:02 +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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Bolshakov">sbolshakov</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>69031</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Bolshakov">sbolshakov</who>
    <bug_when>2008-04-27 17:52:23 +0400</bug_when>
    <thetext>etcnet-0.9.6-alt2
$ cat /etc/net/ifaces/onboard/options 
TYPE=eth
MODULE=r8169
USE_IFPLUGD=yes
BOOTPROTO=dhcp
$

after cable unplugging and ifplugd timeout reached ip address is still set and 
dhcp client still running.

following fixes this problem for me:
--- /etc/net/scripts/ifdown-ifplugd~    2008-04-27 17:50:56 +0400
+++ /etc/net/scripts/ifdown-ifplugd     2008-04-27 17:45:14 +0400
@@ -14,6 +14,8 @@
 [ -z &quot;$1&quot; ] &amp;&amp; usage
 NAME=$1
 
+# forget everything we have inherited from ifplugd/wpa_cli
+unset SEEN_IFACES
 export SCRIPTDIR=/etc/net/scripts
 . $SCRIPTDIR/functions
 pickup_defaults</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69036</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2008-04-27 21:39:41 +0400</bug_when>
    <thetext>Подтверждаю. Это вызвано неаккуратной оптимизацией в 0.9.6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69037</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2008-04-27 21:42:30 +0400</bug_when>
    <thetext>0.9.7
	new feature: firewall policy (-P) support 
	bugfix: firewall now ignores rpm and backup files
	bugfix: previous release introduced a regression in ifplugd support
	change: firewall &quot;human syntax&quot; is disabled by default
	update: updated examples

Можно выпускать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69045</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Bolshakov">sbolshakov</who>
    <bug_when>2008-04-28 01:35:19 +0400</bug_when>
    <thetext>я бы сказал, нужно выпускать.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71626</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Bolshakov">sbolshakov</who>
    <bug_when>2008-06-11 22:42:44 +0400</bug_when>
    <thetext>что-то мешает выпуску 0.9.7 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74499</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2008-07-30 01:37:52 +0400</bug_when>
    <thetext>fixed in Sisyphus</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>