Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161510 - sys-apps/baselayout-1.13.0_alpha11 does not handle plugging the network wire out and to another interface properly
Summary: sys-apps/baselayout-1.13.0_alpha11 does not handle plugging the network wire ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 11:14 UTC by Petteri Räty (RETIRED)
Modified: 2007-01-17 15:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.08 KB, text/plain)
2007-01-11 11:14 UTC, Petteri Räty (RETIRED)
Details
log of events (netlog.txt,8.55 KB, text/plain)
2007-01-11 11:24 UTC, Petteri Räty (RETIRED)
Details
Bring back old dependancy default (depend.patch,11.56 KB, patch)
2007-01-12 14:57 UTC, Roy Marples (RETIRED)
Details | Diff
This should work :) (depend.patch,8.35 KB, text/plain)
2007-01-12 16:22 UTC, Roy Marples (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-01-11 11:14:05 UTC
Plugging out of eth1 to eth0

pena mg4j # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:35
          inet addr:192.168.150.185  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5731 (5.5 Kb)  TX bytes:1522 (1.4 Kb)
          Interrupt:17 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:36
          inet addr:192.168.150.184  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:96323 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:118445336 (112.9 Mb)  TX bytes:30403966 (28.9 Mb)
          Interrupt:16 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16892 (16.4 Kb)  TX bytes:16892 (16.4 Kb)

pena mg4j # /etc/init.d/net.eth1 status
 * status: stopping
pena mg4j # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:35
          inet addr:192.168.150.185  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10487 (10.2 Kb)  TX bytes:1522 (1.4 Kb)
          Interrupt:17 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:36
          inet addr:192.168.150.184  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:96323 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:118445336 (112.9 Mb)  TX bytes:30403966 (28.9 Mb)
          Interrupt:16 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16892 (16.4 Kb)  TX bytes:16892 (16.4 Kb)

pena mg4j # /etc/init.d/net.eth1 status
 * status: stopping
pena mg4j # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:35
          inet addr:192.168.150.185  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24953 (24.3 Kb)  TX bytes:1522 (1.4 Kb)
          Interrupt:17 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:36
          inet addr:192.168.150.184  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:96323 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:118445336 (112.9 Mb)  TX bytes:30403966 (28.9 Mb)
          Interrupt:16 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:235 errors:0 dropped:0 overruns:0 frame:0
          TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19272 (18.8 Kb)  TX bytes:19272 (18.8 Kb)

pena mg4j # ifconfig eth1 down
pena mg4j # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8D:95:F6:35
          inet addr:192.168.150.185  Bcast:192.168.150.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:174 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:41455 (40.4 Kb)  TX bytes:3596 (3.5 Kb)
          Interrupt:17 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22477 (21.9 Kb)  TX bytes:22477 (21.9 Kb)

So basically it got stuck to the stopping phase for me and as they got addresses from the same subnet, network was not usable for me.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-01-11 11:14:33 UTC
Created attachment 106532 [details]
emerge --info
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-01-11 11:17:31 UTC
I noticed that net.eth0 was not added to default runlevel so this might have something to do with that fact.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-01-11 11:20:36 UTC
Switching seems to work fine when both are in the default runlevel. Does not remove the fact that the it should not get stuck to the stopping phase.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-01-11 11:24:43 UTC
Created attachment 106536 [details]
log of events

More weirdness. I stopped both net.eth0 and net.eth1 and everything using them. Then brought up both net.eth0 and net.eth1 which correctly started net.eth0 and made eth1 inactive as there is no wire there. The problem is that all the services started waiting on eth1. I would guess that this has to do with the fact that net.eth1 was the only in the default runlevel when I booted.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-01-12 14:57:03 UTC
Created attachment 106690 [details, diff]
Bring back old dependancy default

Adds a new variable RC_STRICT_DEPEND to /etc/conf.d/ which should fix this.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-01-12 16:22:37 UTC
Created attachment 106699 [details]
This should work :)

OK, please test this :)
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-01-17 15:17:30 UTC
Fixed in alpha12