Bug 15481

Summary: broken ifplugd support
Product: Sisyphus Reporter: Sergey Bolshakov <sbolshakov>
Component: etcnetAssignee: Mikhail Efremov <sem>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: ldv, mike, rider, sem, shaba, vseleznv
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Bolshakov 2008-04-27 17:52:23 MSD
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 "$1" ] && usage
 NAME=$1
 
+# forget everything we have inherited from ifplugd/wpa_cli
+unset SEEN_IFACES
 export SCRIPTDIR=/etc/net/scripts
 . $SCRIPTDIR/functions
 pickup_defaults
Comment 1 Denis Ovsienko 2008-04-27 21:39:41 MSD
Подтверждаю. Это вызвано неаккуратной оптимизацией в 0.9.6.
Comment 2 Denis Ovsienko 2008-04-27 21:42:30 MSD
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 "human syntax" is disabled by default
	update: updated examples

Можно выпускать.
Comment 3 Sergey Bolshakov 2008-04-28 01:35:19 MSD
я бы сказал, нужно выпускать.
Comment 4 Sergey Bolshakov 2008-06-11 22:42:44 MSD
что-то мешает выпуску 0.9.7 ?
Comment 5 Denis Ovsienko 2008-07-30 01:37:52 MSD
fixed in Sisyphus