[opensuse-factory] "multi-user.target" drops network connection (and more)
Hello. Running the latest Factory x86_64 (it looks like 13.1 Beta 1). Changing runlevel to multi-user.target (init 3) drops my network connection: # runlevel N 5 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:13:D3:A2:29:DF inet addr:172.31.1.3 Bcast:172.31.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:d3ff:fea2:29df/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:71945 errors:0 dropped:0 overruns:0 frame:0 TX packets:28368 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24891189 (23.7 Mb) TX bytes:3509001 (3.3 Mb) Interrupt:16 # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/usr/lib/systemd/system/network.service; enabled) Active: active (exited) since Fri 2013-09-20 08:17:22 MSK; 14h ago Process: 710 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) Sep 20 08:17:21 lazy network[710]: Setting up network interfaces: Sep 20 08:17:21 lazy network[710]: lo Sep 20 08:17:21 lazy network[710]: lo IP address: 127.0.0.1/8 Sep 20 08:17:22 lazy network[710]: ..done..done eth1 Startmode is 'off' -> skipping Sep 20 08:17:22 lazy ifup[1383]: eth1 Startmode is 'off' -> skipping Sep 20 08:17:22 lazy network[710]: ..skippedSetting up service network . . . . . . . . . . . . ...done Sep 20 08:17:22 lazy systemd[1]: Started LSB: Configure network interfaces and set up routing. This is the first strange thing: eth0 isn't displayed in the status. # systemctl isolate multi-user.target # runlevel 5 3 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:13:D3:A2:29:DF BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:71955 errors:0 dropped:0 overruns:0 frame:0 TX packets:28384 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24893137 (23.7 Mb) TX bytes:3510177 (3.3 Mb) Interrupt:16 Network is down. gpm (console mouse) service has also get down. It was happened about a week ago, after some of systemd updates. -- WBR Kyrill
В Fri, 20 Sep 2013 23:35:43 +0400 Kyrill Detinov <lazy.kent@opensuse.org> пишет:
Hello.
Running the latest Factory x86_64 (it looks like 13.1 Beta 1). Changing runlevel to multi-user.target (init 3) drops my network connection:
# runlevel N 5 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:13:D3:A2:29:DF inet addr:172.31.1.3 Bcast:172.31.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:d3ff:fea2:29df/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:71945 errors:0 dropped:0 overruns:0 frame:0 TX packets:28368 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24891189 (23.7 Mb) TX bytes:3509001 (3.3 Mb) Interrupt:16 # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/usr/lib/systemd/system/network.service; enabled) Active: active (exited) since Fri 2013-09-20 08:17:22 MSK; 14h ago Process: 710 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS)
Sep 20 08:17:21 lazy network[710]: Setting up network interfaces: Sep 20 08:17:21 lazy network[710]: lo Sep 20 08:17:21 lazy network[710]: lo IP address: 127.0.0.1/8 Sep 20 08:17:22 lazy network[710]: ..done..done eth1 Startmode is 'off' -> skipping Sep 20 08:17:22 lazy ifup[1383]: eth1 Startmode is 'off' -> skipping Sep 20 08:17:22 lazy network[710]: ..skippedSetting up service network . . . . . . . . . . . . ...done Sep 20 08:17:22 lazy systemd[1]: Started LSB: Configure network interfaces and set up routing.
This is the first strange thing: eth0 isn't displayed in the status.
When using ifup interfaces are now started as separate service; look for network@eth0.service
# systemctl isolate multi-user.target # runlevel 5 3 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:13:D3:A2:29:DF BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:71955 errors:0 dropped:0 overruns:0 frame:0 TX packets:28384 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24893137 (23.7 Mb) TX bytes:3510177 (3.3 Mb) Interrupt:16
Network is down. gpm (console mouse) service has also get down.
It was happened about a week ago, after some of systemd updates.
On Sat, 21 Sep 2013 08:01:56 +0400 Andrey Borzenkov wrote:
When using ifup interfaces are now started as separate service; look for network@eth0.service
# systemctl status network@eth0.service network@eth0.service - ifup managed network interface eth0 Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: active (exited) since Sun 2013-09-22 08:37:40 MSK; 4h 18min ago Process: 1198 ExecStart=/sbin/ifup %i (code=exited, status=0/SUCCESS) Sep 22 08:37:40 lazy ifup[1198]: eth0 device: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit...v 15) Sep 22 08:37:40 lazy systemd[1]: Started ifup managed network interface eth0. Hint: Some lines were ellipsized, use -l to show in full. # systemctl start gpm.service # systemctl status gpm.service gpm.service - LSB: Console mouse support Loaded: loaded (/etc/init.d/gpm) Active: active (running) since Sun 2013-09-22 12:58:05 MSK; 11s ago Process: 2628 ExecStart=/etc/init.d/gpm start (code=exited, status=0/SUCCESS) CGroup: /system.slice/gpm.service └─2636 /usr/sbin/gpm -m /dev/input/mice -t ps2 Sep 22 12:58:05 lazy systemd[1]: Starting LSB: Console mouse support... Sep 22 12:58:05 lazy /usr/sbin/gpm[2636]: *** info [daemon/startup.c(136)]: Sep 22 12:58:05 lazy /usr/sbin/gpm[2636]: Started gpm successfully. Entered daemon mode. Sep 22 12:58:05 lazy gpm[2628]: Starting console mouse support (gpm)..done Sep 22 12:58:05 lazy systemd[1]: Started LSB: Console mouse support. # systemctl isolate multiuser.target # systemctl status network@eth0.service network@eth0.service - ifup managed network interface eth0 Loaded: loaded (/usr/lib/systemd/system/network@.service; static) Active: inactive (dead) Sep 22 08:37:40 lazy systemd[1]: Starting ifup managed network interface eth0... Sep 22 08:37:40 lazy ifup[1198]: eth0 device: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15) Sep 22 08:37:40 lazy systemd[1]: Started ifup managed network interface eth0. Sep 22 12:59:32 lazy systemd[1]: Stopping ifup managed network interface eth0... Sep 22 12:59:32 lazy ifdown[3356]: eth0 device: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15) Sep 22 12:59:32 lazy ifdown[3445]: eth0 device: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15) Sep 22 12:59:33 lazy systemd[1]: Stopped ifup managed network interface eth0. [1] 3689 exit 3 systemctl status network@eth0.service # systemctl status gpm.service gpm.service - LSB: Console mouse support Loaded: loaded (/etc/init.d/gpm) Active: inactive (dead) since Sun 2013-09-22 12:59:33 MSK; 1min 6s ago Process: 3479 ExecStop=/etc/init.d/gpm stop (code=exited, status=0/SUCCESS) Process: 2628 ExecStart=/etc/init.d/gpm start (code=exited, status=0/SUCCESS) Sep 22 12:58:05 lazy systemd[1]: Starting LSB: Console mouse support... Sep 22 12:58:05 lazy /usr/sbin/gpm[2636]: *** info [daemon/startup.c(136)]: Sep 22 12:58:05 lazy /usr/sbin/gpm[2636]: Started gpm successfully. Entered daemon mode. Sep 22 12:58:05 lazy gpm[2628]: Starting console mouse support (gpm)..done Sep 22 12:58:05 lazy systemd[1]: Started LSB: Console mouse support. Sep 22 12:59:33 lazy systemd[1]: Stopping LSB: Console mouse support... Sep 22 12:59:33 lazy gpm[3479]: Shutting down console mouse support (gpm)..done Sep 22 12:59:33 lazy systemd[1]: Stopped LSB: Console mouse support. -- WBR Kyrill
participants (2)
-
Andrey Borzenkov
-
Kyrill Detinov