sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 13823] New: ifup always thinks devices are "up"
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13823] New: ifup always thinks devices are "up"
- Date: 8 Jun 2007 20:50:39 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13823
Summary: ifup always thinks devices are "up"
Product: Codex
Version: stable grimoire
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: net
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: eric AT sandall.us
CC: dmlb2000 AT gmail.com
With commit abf1c680459fb0bba9db4718b4d2c9faaec21388 for Bug #13773, ifup
always treats devices as "up" even if they are not really up. This breaks
ifplugd's functionality.
e.g.
With commit abf1c680459fb0bba9db4718b4d2c9faaec21388
Plug an Ethernet cable in:
# tail /var/log/everything/current
Jun 08 13:35:38 [kernel] e100: eth0: e100_watchdog: link up, 100Mbps,
full-duplex
Jun 8 13:35:39 [ifplugd(eth0)] Link beat detected.
Jun 8 13:35:40 [ifplugd(eth0)] Executing '/etc/ifplugd/ifplugd.action eth0
up'.
Jun 8 13:35:40 [ifplugd(eth0)] client: ifup: eth0 already up_E
Jun 8 13:35:40 [ifplugd(eth0)] Program executed successfully.
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:06:1B:D4:97:36
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:252274 errors:0 dropped:0 overruns:0 frame:0
TX packets:190605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76693259 (73.1 Mb) TX bytes:127431651 (121.5 Mb)
Without commit abf1c680459fb0bba9db4718b4d2c9faaec21388
Plug an Ethernet cable in:
# tail /var/log/everything/current
Jun 08 13:46:04 [kernel] e100: eth0: e100_watchdog: link up, 100Mbps,
full-duplex
Jun 8 13:46:04 [ifplugd(eth0)] Link beat detected.
Jun 8 13:46:05 [ifplugd(eth0)] Executing '/etc/ifplugd/ifplugd.action eth0
up'.
Jun 8 13:46:06 [dhcpcd] MAC address = 00:06:1b:d4:97:36
Jun 8 13:46:06 [dhcpcd] verified 192.168.100.101 address is not in use
Jun 8 13:46:06 [dhcpcd] your IP address = 192.168.100.101
Jun 8 13:46:06 [ifplugd(eth0)] client: ifup: Starting dhcpcd on eth0
..._Edhcpcd.exe: interface eth0 has been configured with new
IP=192.168.100.101
Jun 8 13:46:06 [dhcpcd.exe] interface eth0 has been configured with new
IP=192.168.100.101
Jun 8 13:46:07 [ifplugd(eth0)] Program executed successfully
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:06:1B:D4:97:36
inet addr:192.168.100.101 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:252304 errors:0 dropped:0 overruns:0 frame:0
TX packets:190636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76710325 (73.1 Mb) TX bytes:127438786 (121.5 Mb)
I will try to fix this without breaking Xen machines.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 13823] New: ifup always thinks devices are "up", bugzilla-daemon, 06/08/2007
Archive powered by MHonArc 2.6.24.