]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(network-legacy): always include af_packet
authorMartin Wilck <mwilck@suse.com>
Tue, 7 Feb 2023 20:59:51 +0000 (21:59 +0100)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 13 Feb 2023 15:17:45 +0000 (16:17 +0100)
commitb074216be93dc4512b76fcd6b77a727aef11b22b
treee054793423d4c390277c28987d6e702fe9298e10
parent7ff255a4488f63cf84179d4572f44fe3a1bd29ec
fix(network-legacy): always include af_packet

For static IPv4 configurations, we use arping to check for duplicate
IP addresses. arping requires the af_packet module to work, and if arping
fails, the IP address will not be set and booting will fail.
af_packet may not be loaded / required in the running system, for example if
the system had been booted in an IPv6 configuration, or if it had been
manually unloaded. Make sure it's included in initramfs in hostonly mode, too.
modules.d/35network-legacy/module-setup.sh