[netctl] netctl@.service fails to start at boot
Task Info (Flyspray) | |
---|---|
Opened By | Erich Eckner (deepthought) |
Task ID | 62936 |
Type | Bug Report |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2019-06-19 07:27:45 UTC |
Status | Assigned |
Assignee | Jouke Witteveen (jouke) |
Details
Description:
I have a netctl@ethernet-dhcp.service enabled which fails to start at boot due to:
Jun 19 08:57:22 network[478]: Starting network profile 'ethernet-dhcp'... Jun 19 08:57:28 network[478]: No connection found on interface 'eth0' (timeout) Jun 19 08:57:28 network[478]: Failed to bring the network up for profile 'ethernet-dhcp' Jun 19 08:57:28 kernel: e1000e: eth0 NIC Link is Down Jun 19 08:57:28 systemd[1]: netctl@ethernet\x2ddhcp.service: Main process exited, code=exited, status=1/FAILURE
Once booted, the unit can be started right away with $ netctl start ethernet-dhcp
Might this be a connectivity problem? Once the net is up, I experience no problems. I also checked the cable and it is plugged in orderly. :-/
Additional info:
-
package version(s) netctl 1.20-1 systemd 242.29-1 linux 5.1.11.arch1-1
-
config and/or log files etc.
$ cat /etc/netctl/ethernet-dhcp Description='A basic dhcp ethernet connection' Interface=eth0 Connection=ethernet IP=dhcp
$ journalctl -b 0 | grep 'netctl|eth0|network' Jun 19 08:56:56 systemd[1]: /etc/systemd/system/netctl@ethernet\x2ddhcp.service:1: .include directives are deprecated, and support for them will be removed in a future version of systemd. Please use drop-in files instead. Jun 19 08:57:19 kernel: e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) d4:be:d9:9c:1b:da Jun 19 08:57:19 kernel: e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection Jun 19 08:57:19 kernel: e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: E041FF-0FF Jun 19 08:57:22 network[478]: Starting network profile 'ethernet-dhcp'... Jun 19 08:57:28 network[478]: No connection found on interface 'eth0' (timeout) Jun 19 08:57:28 network[478]: Failed to bring the network up for profile 'ethernet-dhcp' Jun 19 08:57:28 kernel: e1000e: eth0 NIC Link is Down Jun 19 08:57:28 systemd[1]: netctl@ethernet\x2ddhcp.service: Main process exited, code=exited, status=1/FAILURE Jun 19 08:57:29 kernel: audit: type=1130 audit(1560927448.698:27): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@ethernet\x2ddhcp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 08:57:28 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@ethernet\x2ddhcp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 08:57:28 systemd[1]: netctl@ethernet\x2ddhcp.service: Failed with result 'exit-code'. Jun 19 08:57:28 systemd[1]: Starting TLS tunnel for network daemons... Jun 19 08:57:33 systemd[1]: Started TLS tunnel for network daemons. Jun 19 08:58:28 network-wait-online[548]: 11111111111111111111111111111111111111111111111111111111111Kein Link Jun 19 08:58:28 systemd[1]: network-wait-online.service: Main process exited, code=exited, status=1/FAILURE Jun 19 08:58:28 systemd[1]: network-wait-online.service: Failed with result 'exit-code'. Jun 19 08:58:28 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=network-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 08:58:28 kernel: audit: type=1130 audit(1560927508.682:38): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=network-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 08:58:38 systemd[903]: Listening on GnuPG network certificate management daemon. Jun 19 08:59:45 network[2436]: Starting network profile 'ethernet-dhcp'... Jun 19 08:59:48 kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None Jun 19 08:59:48 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Jun 19 08:59:49 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@ethernet\x2ddhcp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 19 08:59:49 kernel: audit: type=1130 audit(1560927589.119:114): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@ethernet\x2ddhcp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 19 08:59:50 dhcpcd[2727]: eth0: IAID d9:9c:1b:da Jun 19 08:59:50 ntpd[567]: unable to create socket on eth0 (4) for fe80::d6be:d9ff:fe9c:1bda%2#123 Jun 19 08:59:51 dhcpcd[2727]: eth0: rebinding lease of 141.35.50.156 Jun 19 08:59:51 dhcpcd[2727]: eth0: carrier lost Jun 19 08:59:51 kernel: e1000e: eth0 NIC Link is Down Jun 19 08:59:54 dhcpcd[2727]: eth0: carrier acquired Jun 19 08:59:54 kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx Jun 19 08:59:54 dhcpcd[2727]: eth0: IAID d9:9c:1b:da Jun 19 08:59:54 sudo[2797]: erich : TTY=pts/1 ; PWD=/home/erich ; USER=root ; COMMAND=/usr/bin/journalctl -u netctl@ethernetx2ddhcp.service -b 0 Jun 19 08:59:55 dhcpcd[2727]: eth0: rebinding lease of 141.35.50.156 Jun 19 08:59:56 ntpd[567]: Listen normally on 5 eth0 [fe80::d6be:d9ff:fe9c:1bda%2]:123 Jun 19 08:59:58 dhcpcd[2727]: eth0: probing address 141.35.50.156/23 Jun 19 09:00:04 dhcpcd[2727]: eth0: leased 141.35.50.156 for 57600 seconds Jun 19 09:00:04 dhcpcd[2727]: eth0: adding route to 141.35.50.0/23 Jun 19 09:00:04 dhcpcd[2727]: eth0: adding default route via 141.35.50.1 Jun 19 09:00:05 network[2436]: Started network profile 'ethernet-dhcp' Jun 19 09:00:05 ntpd[567]: Listen normally on 6 eth0 141.35.50.156:123 Jun 19 09:00:08 systemd[1]: Starting Networking for netctl profile network-wait-online.service... Jun 19 09:00:08 network[3874]: Profile 'network-wait-online.service' does not exist or is not readable Jun 19 09:00:08 systemd[1]: netctl@network\x2dwait\x2donline.service.service: Main process exited, code=exited, status=1/FAILURE Jun 19 09:00:08 systemd[1]: netctl@network\x2dwait\x2donline.service.service: Failed with result 'exit-code'. Jun 19 09:00:08 systemd[1]: Failed to start Networking for netctl profile network-wait-online.service. Jun 19 09:00:08 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@network\x2dwait\x2donline.service comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 09:00:08 kernel: audit: type=1130 audit(1560927608.192:137): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@network\x2dwait\x2donline.service comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' Jun 19 09:00:17 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=network-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 19 09:00:17 kernel: audit: type=1130 audit(1560927617.142:138): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=network-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 19 09:13:37 systemd[1]: /etc/systemd/system/netctl@ethernet\x2ddhcp.service:1: .include directives are deprecated, and support for them will be removed in a future version of systemd. Please use drop-in files instead. Jun 19 09:13:51 sudo[1651]: erich : TTY=pts/6 ; PWD=/home/erich ; USER=root ; COMMAND=/usr/bin/netctl reenable ethernet-dhcp
Steps to reproduce:
netctl enable ethernet-dhcp reboot (I'm sure it's not as trivial as that, but there is really nothing special about my setup here ...)