An install of Ubuntu 20.04 server using the 
ubuntu-20.04.4-live-server-amd64.iso installs the iptables package and creates 
links in /sbin.   The symbolic links are different, but they are there.   

An upgrade should update the symbolic links instead of removing them.
Servers that have been upgraded form Ubuntu 18 to Ubuntu 20 have a
different behavior than servers that were installed as either Ubuntu 18
or 20.


# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal


# ls -al /sbin/ip*tables*
lrwxrwxrwx 1 root root   27 Feb 23 08:55 /sbin/ip6tables -> 
/etc/alternatives/ip6tables
lrwxrwxrwx 1 root root   14 Feb 28  2020 /sbin/ip6tables-apply -> iptables-apply
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/ip6tables-legacy -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/ip6tables-legacy-restore -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/ip6tables-legacy-save -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/ip6tables-nft -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/ip6tables-nft-restore -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/ip6tables-nft-save -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   35 Feb 23 08:55 /sbin/ip6tables-restore -> 
/etc/alternatives/ip6tables-restore
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/ip6tables-restore-translate -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   32 Feb 23 08:55 /sbin/ip6tables-save -> 
/etc/alternatives/ip6tables-save
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/ip6tables-translate -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   26 Feb 23 08:55 /sbin/iptables -> 
/etc/alternatives/iptables
-rwxr-xr-x 1 root root 7057 Feb 28  2020 /sbin/iptables-apply
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/iptables-legacy -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/iptables-legacy-restore -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Feb 28  2020 /sbin/iptables-legacy-save -> 
xtables-legacy-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/iptables-nft -> xtables-nft-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/iptables-nft-restore -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/iptables-nft-save -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   34 Feb 23 08:55 /sbin/iptables-restore -> 
/etc/alternatives/iptables-restore
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/iptables-restore-translate -> 
xtables-nft-multi
lrwxrwxrwx 1 root root   31 Feb 23 08:55 /sbin/iptables-save -> 
/etc/alternatives/iptables-save
lrwxrwxrwx 1 root root   17 Feb 28  2020 /sbin/iptables-translate -> 
xtables-nft-multi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966133

Title:
  /sbin/ip*tables* symbolic links removed when upgrading from 18.04 to
  20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/1966133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to