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.
Created attachment 106532 [details] emerge --info
I noticed that net.eth0 was not added to default runlevel so this might have something to do with that fact.
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.
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.
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.
Created attachment 106699 [details] This should work :) OK, please test this :)
Fixed in alpha12