[arch-general] fresh install: netctl and interface renaming
Hi, I am trying to setup network with netctl on fresh arch install. Netctl fails to start static profile due to different interface name. It looks like netctl is trying to start (twice?) before kernel finishes network interface renaming. What can be wrong? Here are parts of my journal log from boot: May 07 22:40:12 serenity kernel: Booting paravirtualized kernel on bare hardware ...skipping... May 07 22:40:12 serenity network[345]: Interface 'enp0s25' does not exist May 07 22:40:12 serenity network[345]: Failed to bring the network up for profile 'internal' May 07 22:40:12 serenity systemd[1]: netctl@internal.service: main process exited, code=exited, status=1/FAILURE May 07 22:40:12 serenity systemd[1]: Failed to start Networking for netctl profile internal. -- Subject: Unit netctl@internal.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit netctl@internal.service has failed. -- -- The result is failed. May 07 22:40:12 serenity systemd[1]: Unit netctl@internal.service entered failed state. May 07 22:40:12 serenity systemd[1]: netctl@internal.service failed. May 07 22:40:12 serenity systemd[1]: Started Initialize hardware monitoring sensors [cut] May 07 22:40:12 serenity systemd[1]: Starting Getty on tty1... -- Subject: Unit getty@tty1.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- ...skipping... May 07 22:40:12 serenity network[365]: Interface 'enp0s25' does not exist May 07 22:40:12 serenity network[365]: Failed to bring the network up for profile 'internal' May 07 22:40:12 serenity systemd[1]: netctl@internal.service: main process exited, code=exited, status=1/FAILURE May 07 22:40:12 serenity systemd[1]: Failed to start Networking for netctl profile internal. -- Subject: Unit netctl@internal.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit netctl@internal.service has failed. -- -- The result is failed. May 07 22:40:12 serenity systemd[1]: Unit netctl@internal.service entered failed state. May 07 22:40:12 serenity systemd[1]: netctl@internal.service failed. May 07 22:40:12 serenity netctl[359]: Job for netctl@internal.service failed. See "systemctl status netctl@internal.service" and "journalctl -xe" for details. May 07 22:40:12 serenity systemd[1]: Started (Re)store the netctl profile state. -- Subject: Unit netctl.service has finished start-up [cut] May 07 22:40:12 serenity kernel: e1000e 0000:00:19.0 enp0s25: renamed from eth0 May 07 22:40:12 serenity kernel: iTCO_vendor_support: vendor-support=0 May 07 22:40:12 serenity kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11 May 07 22:40:12 serenity kernel: iTCO_wdt: Found a 9 Series TCO device (Version=2, TCOBASE=0x1860) May 07 22:40:12 serenity kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) May 07 22:40:12 serenity kernel: sound hdaudioC0D0: ALC1150: SKU not ready 0x00000000
Hi Lukasz, On 07/05/15, Łukasz Michalski wrote:
Hi,
I am trying to setup network with netctl on fresh arch install.
Netctl fails to start static profile due to different interface name. It looks like netctl is trying to start (twice?) before kernel finishes network interface renaming.
Have you seen this [1] part of the Wiki? [1]: https://wiki.archlinux.org/index.php/Network_configuration#Device_names --
Netctl fails to start static profile due to different interface name. It looks like netctl is trying to start (twice?) before kernel finishes network interface renaming.
Have you seen this [1] part of the Wiki?
[1]: https://wiki.archlinux.org/index.php/Network_configuration#Device_names
Hi, Yes I saw. I am OK with Predictable Network Interface Names names set by systemd. The problem is that interface name is changed after netctl tries to setup network profile. I am not very familiar with systemd dependencies - any idea how to debug it? It looks like there is a missing dependency and netctl tries to start its profiles to early. Thanks, Łukasz
On 05/07/2015 10:57 PM, Łukasz Michalski wrote:
Netctl fails to start static profile due to different interface name. It looks like netctl is trying to start (twice?) before kernel finishes network interface renaming.
Have you seen this [1] part of the Wiki?
[1]: https://wiki.archlinux.org/index.php/Network_configuration#Device_names
Hi,
Yes I saw.
I am OK with Predictable Network Interface Names names set by systemd. The problem is that interface name is changed after netctl tries to setup network profile. I am not very familiar with systemd dependencies - any idea how to debug it? It looks like there is a missing dependency and netctl tries to start its profiles to early.
Just for reference: I forgot to re-enable profile after changing Interface= in it. I had different interface names in systemd unit and netctl profile. Both were valid so it was hard to figure out what was going on. Regards, Łukasz
participants (2)
-
Leonidas Spyropoulos
-
Łukasz Michalski