[netctl] .service restore failing due to uninitialized interface
Task Info (Flyspray) | |
---|---|
Opened By | Daniel Albers (al) |
Task ID | 35831 |
Type | Bug Report |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2013-06-17 10:56:20 UTC |
Status | Assigned |
Assignee | Jouke Witteveen (jouke) |
Details
In my freshly set up KVM installation netctl.service fails to restore a working profile on boot, due to
- interface driver not being fully loaded
- predictable interface name ("ens3" in this case) not yet established by udev.
Running netctl start ethernet-dhcp
once the boot sequence finishes succeeds without error.
[root@localhost ~]# journalctl -b | egrep 'netctl|eth|ens3' Jun 17 10:43:38 localhost kernel: 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) Jun 17 10:43:38 localhost network[155]: Starting network profile 'ethernet-dhcp'... Jun 17 10:43:38 localhost network[155]: Interface 'ens3' does not exist Jun 17 10:43:38 localhost network[155]: Failed to bring the network up for profile 'ethernet-dhcp' Jun 17 10:43:38 localhost systemd[1]: netctl@ethernet\x2ddhcp.service: main process exited, code=exited, status=1/FAILURE Jun 17 10:43:38 localhost systemd[1]: Failed to start Networking for netctl profile ethernet-dhcp. Jun 17 10:43:38 localhost systemd[1]: Unit netctl@ethernet\x2ddhcp.service entered failed state. Jun 17 10:43:38 localhost netctl[140]: Job for netctl@ethernet\x2ddhcp.service failed. See 'systemctl status netctl@ethernet\x2ddhcp.service' and 'journalctl -xn' for details. Jun 17 10:43:38 localhost systemd[1]: Started (Re)store the netctl profile state. Jun 17 10:43:38 localhost kernel: 8139cp 0000:00:03.0 eth0: RTL-8139C+ at 0xffffc90000658000, 52:54:00:aa:bd:68, IRQ 11 Jun 17 10:43:38 localhost kernel: 8139too: 8139too Fast Ethernet driver 0.9.28 Jun 17 10:43:38 localhost kernel: microcode: Microcode Update Driver: v2.00 tigran@aivazian.fsnet.co.uk, Peter Oruba Jun 17 10:43:39 localhost systemd-udevd[135]: renamed network interface eth0 to ens3
[root@localhost ~]# netctl list
- ethernet-dhcp [root@localhost ~]# cat /etc/netctl/ethernet-dhcp Description='A basic dhcp ethernet connection' Interface=ens3 Connection=ethernet IP=dhcp