focal cloud image on kvm does not have ip_tables kernel module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
$ sudo iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/
iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
No ip_tables.ko
```
$ ls -l /lib/modules/`uname -r`/kernel/net/ipv4
total 24
-rw-r--r-- 1 root root 11257 Aug 26 18:48 gre.ko
-rw-r--r-- 1 root root 12161 Aug 26 18:48 udp_tunnel.ko
```
Cloud images downloaded from - http://
```
$ ls -l
total 569308
-rw-rw-r-- 1 rtip rtip 543817728 Sep 7 17:35 ubuntu-
-rw-rw-r-- 1 libvirt-qemu kvm 27373249 Sep 7 17:37 ubuntu-
-rw-rw-r-- 1 libvirt-qemu kvm 11776256 Sep 7 17:37 ubuntu-
```
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: iptables 1.6.1-2ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-84-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.26
Architecture: amd64
Date: Fri Sep 17 20:57:42 2021
ProcEnviron:
LANG=C.UTF-8
SHELL=/bin/bash
TERM=vt220
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: iptables
UpgradeStatus: No upgrade log present (probably fresh install)
Hello, can you please look for ip_tables.ko in /lib/modules/ */kernel/ net/ipv4/ netfilter/ ip_tables. ko ? Which linux-modules-* package and which linux-image-* packages do you have installed?
Thanks