kernel module missing at boot after kernel update, akmods build it 2 minutes after kernel need it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have Fedora 42 router/firewall, where I use the xt_geoip kernel module 
from xtables-addons in iptables. xt_geoip module is compiled using akmods 
after a kernel update during system boot. The problem is that akmods 
compilation takes place about two minutes after iptables starts - so 
iptables are not loaded at all.

Now I solve this problem with some shell script running in the background 
from rc.local and introducing the necessary delay in iptables startup.
But - is there any better "more systematic" solution?

Extract from the system log during boot after a kernel update:

...
Sep 11 14:10:44 ns iptables.init[1551]: iptables: Applying firewall rules:
Sep 11 14:10:44 ns iptables.init[1582]: Warning: Extension geoip is not supported, missing kernel module?
Sep 11 14:10:44 ns iptables.init[1582]: iptables-restore v1.8.11 (nf_tables): Couldn't load match `geoip':No such file or directory
Sep 11 14:10:44 ns iptables.init[1582]: Error occurred at line: 256
Sep 11 14:10:44 ns iptables.init[1551]: [FAILED]
Sep 11 14:10:44 ns systemd[1]: iptables.service: Main process exited, code=exited, status=1/FAILURE
...
Sep 11 14:11:11 ns akmods[1417]: Checking kmods exist for 6.16.5-200.fc42.x86_64[  OK  ]
...
Sep 11 14:13:33 ns akmods[1417]: Building and installing xtables-addons-kmod[  OK  ]
Sep 11 14:13:34 ns systemd[1]: systemd-modules-load.service: Deactivated successfully.
Sep 11 14:13:34 ns systemd[1]: Stopped systemd-modules-load.service - Load Kernel Modules.
Sep 11 14:13:34 ns systemd[1]: Stopping systemd-modules-load.service - Load Kernel Modules...
Sep 11 14:13:34 ns systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
Sep 11 14:13:34 ns systemd-modules-load[7028]: Module 'msr' is built in
Sep 11 14:13:34 ns systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
Sep 11 14:13:34 ns systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
...
-- 
Thanks in advance, Franta Hanzlik
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux