Re: iptables-1.8.12 systemctl errors- BLFS 13.0

"Bruce Dubbs" ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 12 Apr 2026 20:51:01 -0500
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1776045071-12541-23471
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 4/12/26 4:16 PM, rhubarbpieguy ([email protected] via blfs-support Mailing 
List) wrote:
> 
> I see the following systemctl iptables errors:
> 
> × iptables.service - Load Iptables Rules
>       Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; preset: 
> enabled)
>       Active: failed (Result: exit-code) since Fri 2026-04-10 12:20:25 CDT; 11min ago
>   Invocation: ba482abfd6a947f793bc2c161eca712a
>      Process: 351 ExecStart=/etc/systemd/scripts/iptables (code=exited, status=3)
>     Mem peak: 5.3M
>          CPU: 35ms
> 
> Apr 10 12:20:25 lfs iptables[373]: Perhaps iptables or your kernel needs to be upgraded.
> Apr 10 12:20:25 lfs iptables[380]: modprobe: ERROR: could not insert 'ip_tables': 
> Exec format error
> Apr 10 12:20:25 lfs iptables[375]: iptables v1.8.12 (legacy): can't initialize 
> iptables table `filter': Table does not exist (do you need to insmod?)
> Apr 10 12:20:25 lfs iptables[375]: Perhaps iptables or your kernel needs to be upgraded.
> Apr 10 12:20:25 lfs iptables[383]: modprobe: ERROR: could not insert 'ip_tables': 
> Exec format error
> Apr 10 12:20:25 lfs iptables[381]: iptables v1.8.12 (legacy): can't initialize 
> iptables table `filter': Table does not exist (do you need to insmod?)
> Apr 10 12:20:25 lfs iptables[381]: Perhaps iptables or your kernel needs to be upgraded.
> Apr 10 12:20:25 lfs systemd[1]: iptables.service: Control process exited, 
> code=exited, status=3/NOTIMPLEMENTED
> Apr 10 12:20:25 lfs systemd[1]: iptables.service: Failed with result 'exit-code'.
> Apr 10 12:20:25 lfs systemd[1]: Failed to start Load Iptables Rules.
> 
> I compiled iptables-1.8.12 and built all kernel options (including legacy) shown in 
> the documentation.  I'm using the Personal Firewall and see the /etc/systemd/scripts/ 
> iptables script.

Did you build the kernel options as modules or did you build them into the kernel?
You have two modprobe errors.  If you built modules, did you do the kernel 
'modules_install' command?  If you built the modules into the kernel then you need to 
remove/comment out the modprobe commands in the /etc/systemd/scripts/iptables file.

   -- Bruce



------------=_1776045071-12541-23471
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1776045071-12541-23471--