[opensuse] Systemd reports network is up,, but it is ifact down.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 See:
Telcontar:~ # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/etc/init.d/network) Active: active (running) since Mon, 2013-06-10 01:03:47 CEST; 59s ago Process: 994 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service └ 1846 /sbin/ifplugd -i eth1 -r /etc/sysconfig/network/scripts/ifplugd-selectif -f -I -u 0 -d 10
Jun 10 01:03:45 Telcontar.valinor network[994]: eth1 is up Jun 10 01:03:45 Telcontar.valinor network[994]: ..doneWaiting for mandatory devices: eth0 Jun 10 01:03:46 Telcontar.valinor network[994]: 15 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 IP address: fc00::14/64 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 is up Jun 10 01:03:47 Telcontar.valinor network[994]: ..done ppp0 Jun 10 01:03:47 Telcontar.valinor network[994]: ppp0 Startmode is 'manual' Jun 10 01:03:47 Telcontar.valinor network[994]: ..skippedSetting up service network . . . . . . . . . . . . ...done Jun 10 01:03:47 Telcontar.valinor systemd[1]: Started LSB: Configure network interfaces and set up routing. Telcontar:~ #
Yet there is no ping:
Telcontar:~ # ping router connect: Network is unreachable Telcontar:~ # rcgpm start redirecting to systemctl start gpm Job for gpm.service failed. See 'systemctl status gpm.service' and 'journalctl -n' for details. Telcontar:~ #
I need gpm to copy that text in text mode to a file in another terminal, in order to post it later. [...] Problem solved.
Telcontar:~ # systemctl restart gpm.service Telcontar:~ # Telcontar:~ # systemctl restart network.service Telcontar:~ # ping router PING router (192.168.1.1) 56(84) bytes of data. 64 bytes from router (192.168.1.1): icmp_seq=1 ttl=64 time=0.341 ms 64 bytes from router (192.168.1.1): icmp_seq=2 ttl=64 time=0.227 ms 64 bytes from router (192.168.1.1): icmp_seq=3 ttl=64 time=0.223 ms ^C --- router ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.223/0.263/0.341/0.057 ms Telcontar:~ # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/etc/init.d/network) Active: active (running) since Mon, 2013-06-10 01:09:01 CEST; 7s ago Process: 3655 ExecStop=/etc/init.d/network stop (code=exited, status=0/SUCCESS) Process: 4456 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service └ 5156 /sbin/ifplugd -i eth1 -r /etc/sysconfig/network/scripts/ifplugd-selectif -f -I -u 0 -d 10
Jun 10 01:08:58 Telcontar.valinor network[4456]: eth1 is up Jun 10 01:08:58 Telcontar.valinor network[4456]: ..doneWaiting for mandatory devices: eth0 Jun 10 01:09:00 Telcontar.valinor network[4456]: 17 16 Jun 10 01:09:00 Telcontar.valinor network[4456]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168
All that in text mode. If I start a graphical session without network, many applications set to start in session saved state fail and delay session start. As it is, it takes 5 entire minutes fro grub to working text prompt - I have a video to prove it. :-/ - -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG1HUkACgkQIvFNjefEBxpy3QCfUsG4yPovxOQWkDvLJ3ZiMWU7 6E4An078Brlts1KHhgUB3vX85SgTHERV =dnAU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 09/06/13 20:26, Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
See:
See, subject wrong, systemd has no capability to know anything about the network, it does not know if it is up or down or went to lunch, it does not manage the network in anyway shape or form. It only recieves status codes from the network scripts or networkmanager process.
ppp0 Jun 10 01:03:47 Telcontar.valinor network[994]: ppp0 Startmode is 'manual' Jun 10 01:03:47 Telcontar.valinor
Are you sure that "manual" is the state you want in ppp0 ?
network[994]: ..skippedSetting up service network . . . . . . . . . . . . ...done Jun 10 01:03:47 Telcontar.valinor systemd[1]: Started LSB: Configure network interfaces and set up routing. Telcontar:~ #
The script that manages the network, returned (code=exited,
status=0/SUCCESS)
- -- Cheers / Saludos,
Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlG1HUkACgkQIvFNjefEBxpy3QCfUsG4yPovxOQWkDvLJ3ZiMWU7 6E4An078Brlts1KHhgUB3vX85SgTHERV =dnAU -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-10 02:33, Cristian Rodríguez wrote:
El 09/06/13 20:26, Carlos E. R. escribió:
See:
See, subject wrong, systemd has no capability to know anything about the network, it does not know if it is up or down or went to lunch, it does not manage the network in anyway shape or form.
It only recieves status codes from the network scripts or networkmanager process.
Well, I'm not supposed to call "rcnetwork restart" myself, assuming that it is available. I issue systemd commands, and get responses from systemd. And it is systemd who is waiting on boot for several minutes...
ppp0 Jun 10 01:03:47 Telcontar.valinor network[994]: ppp0 Startmode is 'manual' Jun 10 01:03:47 Telcontar.valinor
Are you sure that "manual" is the state you want in ppp0 ?
I don't use it. The only connected interface is eth0.
network[994]: ..skippedSetting up service network . . . . . . . . . . . . ...done Jun 10 01:03:47 Telcontar.valinor systemd[1]: Started LSB: Configure network interfaces and set up routing. Telcontar:~ #
The script that manages the network, returned (code=exited,
status=0/SUCCESS)
Where is that script? Telcontar:~ # locate network.service Telcontar:~ # I can not find the service file to read it and find out... -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 09/06/13 20:52, Carlos E. R. escribió:
Telcontar:~ # locate network.service Telcontar:~ #
I can not find the service file to read it and find out...
network.service does not exists, it is an alias to either the old style /etc/init.d/network script or to NetworkManager.service if networkmanager is in use. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-10 02:56, Cristian Rodríguez wrote:
El 09/06/13 20:52, Carlos E. R. escribió:
Telcontar:~ # locate network.service Telcontar:~ #
I can not find the service file to read it and find out...
network.service does not exists, it is an alias to either the old style /etc/init.d/network script or to NetworkManager.service if networkmanager is in use.
NM? According to yast, I'm using ifup. According to XFCE, I /was/ using Network manager. I deleted the two entries in the Network Manager applet (which required root password), and that killed the network. I then restarted the service and got network back. Finally, I disabled NM from starting on the session list off applications to start. That was yesterday, I have rebooted a few times since. ifup has now both entries for fixed IP (no dhcp) for IPv4 and 6. Previously there was some delay because there was an IPv6 gateway defined, but no IP, thus no route to the GW. I solved that sometime today. And a service restart works instantly. This is from the last boot:
<4.6> 2013-06-10 01:51:27 Telcontar systemd-logind 974 - - New seat seat0. <3.6> 2013-06-10 01:51:27 Telcontar systemd 1 - - Started Login Service. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Loading service file /etc/avahi/services/sftp-ssh.service. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Loading service file /etc/avahi/services/ssh.service. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Loading service file /etc/avahi/services/udisks.service. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Network interface enumeration completed. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Registering HINFO record with values 'X86_64'/'LINUX'. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Server startup complete. Host name is Telcontar.local. Local service cookie is 3205138676. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Service "Telcontar" (/etc/avahi/services/udisks.service) successfully established. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Service "Telcontar" (/etc/avahi/services/ssh.service) successfully established. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Service "Telcontar" (/etc/avahi/services/sftp-ssh.service) successfully established. <4.6> 2013-06-10 01:51:27 Telcontar systemd-logind 974 - - Watching system buttons on /dev/input/event3 (Power Button) <4.6> 2013-06-10 01:51:27 Telcontar systemd-logind 974 - - Watching system buttons on /dev/input/event2 (Power Button) <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - lo <1.5> 2013-06-10 01:51:27 Telcontar ifup 1471 - - lo <1.5> 2013-06-10 01:51:27 Telcontar ifup 1471 - - lo <1.5> 2013-06-10 01:51:27 Telcontar ifup 1471 - - IP address: 127.0.0.1/8 <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - lo IP address: 127.0.0.1/8 <1.5> 2013-06-10 01:51:27 Telcontar ifup 1471 - - <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - ..done eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <3.6> 2013-06-10 01:51:27 Telcontar systemd 1 - - Started LSB: This services starts and stops the USB Arbitrator.. <0.6> 2013-06-10 01:51:27 Telcontar kernel - - - [ 100.539297] r8169 0000:06:00.0 eth0: link down <0.6> 2013-06-10 01:51:27 Telcontar kernel - - - [ 100.539310] r8169 0000:06:00.0 eth0: link down <0.6> 2013-06-10 01:51:27 Telcontar kernel - - - [ 100.539322] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - eth0 <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - IP address: 192.168.1.14/24 <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - eth0 IP address: 192.168.1.14/24 <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.14. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - New relevant interface eth0.IPv4 for mDNS. <3.6> 2013-06-10 01:51:27 Telcontar avahi-daemon 968 - - Registering new address record for 192.168.1.14 on eth0.IPv4. <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - IP address: fC00:0:0:0::14/64 <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - IP address: fC00:0:0:0::14/64 <1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - -
<1.5> 2013-06-10 01:51:27 Telcontar ifup 1625 - - <3.6> 2013-06-10 01:51:27 Telcontar network 943 - - [1Awaiting <3.6> 2013-06-10 01:51:28 Telcontar dbus-daemon 1411 - - dbus[1411]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' <3.5> 2013-06-10 01:51:28 Telcontar dbus 1411 - - [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' <3.6> 2013-06-10 01:51:28 Telcontar systemd 1 - - Expecting device dev-mapper-cr_cripta.device... <3.6> 2013-06-10 01:51:28 Telcontar systemd 1 - - Starting Cryptography Setup for cr_cripta... <3.6> 2013-06-10 01:51:28 Telcontar systemd 1 - - Starting Authorization Manager... <3.6> 2013-06-10 01:51:28 Telcontar ifplugd(eth1) 1789 - - ifplugd 0.28 initializing. <0.6> 2013-06-10 01:51:28 Telcontar kernel - - - [ 101.732301] r8169 0000:07:00.0 eth1: link down <0.6> 2013-06-10 01:51:28 Telcontar kernel - - - [ 101.732325] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready <3.6> 2013-06-10 01:51:28 Telcontar ifplugd(eth1) 1789 - - Using interface eth1/00:21:85:16:2D:0C with driver <r8169> (version: 2.3LK-NAPI) <3.6> 2013-06-10 01:51:28 Telcontar ifplugd(eth1) 1789 - - Using detection mode: SIOCETHTOOL <3.6> 2013-06-10 01:51:28 Telcontar ifplugd(eth1) 1789 - - Initialization complete, link beat not detected. <3.6> 2013-06-10 01:51:28 Telcontar polkitd 1787 - - Started polkitd version 0.110 <3.6> 2013-06-10 01:51:28 Telcontar network 943 - - eth1 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <1.5> 2013-06-10 01:51:28 Telcontar ifup 1771 - - eth1 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <3.6> 2013-06-10 01:51:28 Telcontar network 943 - - eth1 is controlled by ifplugd <1.5> 2013-06-10 01:51:28 Telcontar ifup 1771 - - eth1 is controlled by ifplugd <3.6> 2013-06-10 01:51:28 Telcontar network 943 - - [1Awaiting <10.5> 2013-06-10 01:51:29 Telcontar polkitd 1787 - - Loading rules from directory /etc/polkit-1/rules.d <10.5> 2013-06-10 01:51:29 Telcontar polkitd 1787 - - Loading rules from directory /usr/share/polkit-1/rules.d <10.5> 2013-06-10 01:51:29 Telcontar polkitd 1787 - - Finished loading, compiling and executing 3 rules <3.6> 2013-06-10 01:51:29 Telcontar dbus-daemon 1411 - - dbus[1411]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' <3.5> 2013-06-10 01:51:29 Telcontar dbus 1411 - - [system] Successfully activated service 'org.freedesktop.PolicyKit1' <3.6> 2013-06-10 01:51:29 Telcontar systemd 1 - - Started Authorization Manager. <10.5> 2013-06-10 01:51:29 Telcontar polkitd 1787 - - Acquired the name org.freedesktop.PolicyKit1 on the system bus <3.6> 2013-06-10 01:51:29 Telcontar dbus-daemon 1411 - - dbus[1411]: [system] Activating service name='org.freedesktop.ModemManager' (using servicehelper) <3.5> 2013-06-10 01:51:29 Telcontar dbus 1411 - - [system] Activating service name='org.freedesktop.ModemManager' (using servicehelper) <3.6> 2013-06-10 01:51:29 Telcontar dbus-daemon 1411 - - dbus[1411]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' <3.5> 2013-06-10 01:51:29 Telcontar dbus 1411 - - [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' <3.6> 2013-06-10 01:51:29 Telcontar systemd 1 - - Starting Bluetooth service... <3.6> 2013-06-10 01:51:29 Telcontar avahi-daemon 968 - - Withdrawing address record for 192.168.1.14 on eth0. <3.6> 2013-06-10 01:51:29 Telcontar avahi-daemon 968 - - Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.14. <3.6> 2013-06-10 01:51:29 Telcontar avahi-daemon 968 - - Interface eth0.IPv4 no longer relevant for mDNS. <3.6> 2013-06-10 01:51:29 Telcontar systemd 1 - - Started Network Manager. <3.6> 2013-06-10 01:51:29 Telcontar systemd 1 - - Starting Network Manager Wait Online...
Why is NM starting? :-O
<3.6> 2013-06-10 01:51:30 Telcontar network 943 - - eth1 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <3.6> 2013-06-10 01:51:30 Telcontar network 943 - - eth1 ifplugd is running
<3.6> 2013-06-10 01:51:31 Telcontar network 943 - - eth1 no cable connected
<3.6> 2013-06-10 01:51:31 Telcontar network 943 - - eth1 . . . is just beeing set up <3.6> 2013-06-10 01:51:31 Telcontar network 943 - - eth1 is up <3.6> 2013-06-10 01:51:31 Telcontar network 943 - - ..doneWaiting for mandatory devices: eth0
<3.6> 2013-06-10 01:51:32 Telcontar network 943 - - 14 <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - eth0 IP address: fc00::14/64 <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - eth0 is up <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - ..done ppp0 <1.5> 2013-06-10 01:51:32 Telcontar ifup 2406 - - ppp0 <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - ppp0 Startmode is 'manual' <1.5> 2013-06-10 01:51:32 Telcontar ifup 2406 - - ppp0 Startmode is 'manual' <3.6> 2013-06-10 01:51:32 Telcontar network 943 - - ..skippedSetting up service network . . . . . . . . . . . . ...done <3.6> 2013-06-10 01:51:32 Telcontar systemd 1 - - Started LSB: Configure network interfaces and set up routing. <3.6> 2013-06-10 01:51:35 Telcontar clamd 1418 - - Starting Clam AntiVirus daemon ..done <3.6> 2013-06-10 01:51:35 Telcontar systemd 1 - - Started LSB: virus scanner daemon. <3.5> 2013-06-10 01:52:00 Telcontar systemd 1 - - NetworkManager-wait-online.service: main process exited, code=exited, status=1/FAILURE <3.3> 2013-06-10 01:52:00 Telcontar systemd 1 - - Failed to start Network Manager Wait Online. <3.5> 2013-06-10 01:52:00 Telcontar systemd 1 - - Unit NetworkManager-wait-online.service entered failed state <3.6> 2013-06-10 01:52:01 Telcontar systemd 1 - - Starting Network. <3.6> 2013-06-10 01:52:01 Telcontar systemd 1 - - Reached target Network.
Telcontar:~ # systemctl status NetworkManager.service NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled) Active: active (running) since Mon, 2013-06-10 01:51:29 CEST; 1h 22min ago Main PID: 1430 (NetworkManager) CGroup: name=systemd:/system/NetworkManager.service └ 1430 /usr/sbin/NetworkManager --no-daemon
Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.sl... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.en... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.en... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.en... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.ne... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.wi... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.wi... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.se... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.se... name Jun 10 02:01:38 Telcontar.valinor NetworkManager[1430]: <warn> error requesting auth for org.freedesktop.NetworkManager.se... name Telcontar:~ #
Who enabled it!? :-/ I absolutely deny having enabled it myself. Never on my life on this machine!
Telcontar:~ # systemctl stop NetworkManager.service Telcontar:~ # systemctl disable NetworkManager.service rm '/etc/systemd/system/network.target.wants/NetworkManager-wait-online.service' rm '/etc/systemd/system/multi-user.target.wants/NetworkManager.service' Telcontar:~ #
ping fails... Telcontar:~ # rcnetwork restart redirecting to "systemctl restart network.service" Telcontar:~ # Sigh... :-(( Well, We'll see on next boot... -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 09/06/13 21:19, Carlos E. R. escribió:
NM?
According to yast, I'm using ifup.
Yast is well... pretty "special" :-P.. what does this command says systemctl show -p Names network.service
Why is NM starting? :-O
Ask YAST why. systemd does not have magical powers to choose between old if-up and NM.. I also do object having two different incompatible ways to setup the network but oh well.. the NM command line utilities probably need love to be really suitable for replacing if-up.. ;) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-06-10 05:52, Cristian Rodríguez wrote:
El 09/06/13 21:19, Carlos E. R. escribió:
NM?
According to yast, I'm using ifup.
Yast is well... pretty "special" :-P.. what does this command says
systemctl show -p Names network.service
Names=network.service But notice I disabled network manager. My boot is proceeding happily now, I tested it today.
Why is NM starting? :-O
Ask YAST why. systemd does not have magical powers to choose between old if-up and NM.. I also do object having two different incompatible ways to setup the network but oh well.. the NM command line utilities probably need love to be really suitable for replacing if-up.. ;)
Yes, I know, yast network handling is specially buggy this release, see release notes. But systemd was reporting that the network service had succeeded (status=0/SUCCESS), when it did not. Or it did, but was killed later and did not notice it. I'm not blaming systemd, it is just as bad as systemv >:-P - -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG3FaUACgkQIvFNjefEBxo1GACfS8PxAx+aqb0cFr92rVD4BQma xtoAoM7eqClCMYwN5l+b+e7Fc/+hVfMO =RFbF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
Yes, I know, yast network handling is specially buggy this release, see release notes.
Tell me about it. I'm writing my own network handling scripts. I'm getting tired of typing in config commands with 'ip' to bring up interfaces. All the 'if'-X scripts claim things are handled by something else which isn't handling them. I may be close to having a booting system again, but keeping fingers crossed. It's alike 'whack-a-mole'... knock down one problem and another pops up.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-10 02:26, Carlos E. R. wrote: Reposting to avoid wrap (enigmail fault): See:
Telcontar:~ # systemctl status network network-remotefs.service network.service network.target Telcontar:~ # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/etc/init.d/network) Active: active (running) since Mon, 2013-06-10 01:03:47 CEST; 59s ago Process: 994 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service └ 1846 /sbin/ifplugd -i eth1 -r /etc/sysconfig/network/scripts/ifplugd-selectif -f -I -u 0 -d 10
Jun 10 01:03:45 Telcontar.valinor network[994]: eth1 is up Jun 10 01:03:45 Telcontar.valinor network[994]: ..doneWaiting for mandatorydevices: eth0 Jun 10 01:03:46 Telcontar.valinor network[994]: 15 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 device: RealtekSemiconductor Co., Ltd. RTL8111/8168 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 IP address:fc00::14/64 Jun 10 01:03:46 Telcontar.valinor network[994]: eth0 is up Jun 10 01:03:47 Telcontar.valinor network[994]: ..done ppp0 Jun 10 01:03:47 Telcontar.valinor network[994]: ppp0 Startmode is'manual' Jun 10 01:03:47 Telcontar.valinor network[994]: ..skippedSetting up service network . . . . . . . . . . Jun 10 01:03:47 Telcontar.valinor systemd[1]: Started LSB: Configure network interfaces and set up routing.
Yet there is no ping:
Telcontar:~ # ping router connect: Network is unreachable Telcontar:~ # rcgpm start redirecting to systemctl start gpm Job for gpm.service failed. See 'systemctl status gpm.service' and 'journalctl -n' for details. Telcontar:~ #
I need gpm to copy that text in text mode to a file in another terminal, in order to post it later. [...] Problem solved.
Telcontar:~ # systemctl restart gpm.service Telcontar:~ # Telcontar:~ # systemctl restart network.service Telcontar:~ # ping router PING router (192.168.1.1) 56(84) bytes of data. 64 bytes from router (192.168.1.1): icmp_seq=1 ttl=64 time=0.341 ms 64 bytes from router (192.168.1.1): icmp_seq=2 ttl=64 time=0.227 ms 64 bytes from router (192.168.1.1): icmp_seq=3 ttl=64 time=0.223 ms ^C --- router ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.223/0.263/0.341/0.057 ms Telcontar:~ # systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/etc/init.d/network) Active: active (running) since Mon, 2013-06-10 01:09:01 CEST; 7s ago Process: 3655 ExecStop=/etc/init.d/network stop (code=exited, status=0/SUCCESS) Process: 4456 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service └ 5156 /sbin/ifplugd -i eth1 -r /etc/sysconfig/network/scripts/ifplugd-selectif -f -I -u 0 -d 10
Jun 10 01:08:58 Telcontar.valinor network[4456]: eth1 is up Jun 10 01:08:58 Telcontar.valinor network[4456]: ..doneWaiting for mandatory devices: eth0 Jun 10 01:09:00 Telcontar.valinor network[4456]: 17 16 Jun 10 01:09:00 Telcontar.valinor network[4456]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 Jun 10 01:09:01 Telcontar.valinor network[4456]: eth0 IP address: 192.168.1.14/24 Jun 10 01:09:01 Telcontar.valinor network[4456]: eth0 IP address: fc00::14/64 Jun 10 01:09:01 Telcontar.valinor network[4456]: eth0 is up Jun 10 01:09:01 Telcontar.valinor network[4456]: ..done ppp0 Jun 10 01:09:01 Telcontar.valinor network[4456]: ppp0 Startmode is 'manual' Jun 10 01:09:01 Telcontar.valinor network[4456]: ..skippedSetting up service network . . . . . . . . . Jun 10 01:09:01 Telcontar.valinor systemd[1]: Started LSB: Configure network interfaces and set up routing. Telcontar:~ #
All that in text mode. If I start a graphical session without network, many applications set to start in session saved state fail and delay session start. As it is, it takes 5 entire minutes fro grub to working text prompt - I have a video to prove it. :-/ -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Cristian Rodríguez
-
Linda Walsh