Bug 15481 - broken ifplugd support
Summary: broken ifplugd support
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: etcnet (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-27 17:52 MSD by Sergey Bolshakov
Modified: 2008-07-30 01:38 MSD (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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