This appears to be a test environment issue. I was unable to reproduce
on my laptop, in Debian sid, in an eoan to focal upgrade and a bionic to
focal upgrade. iptables.postinst looks fine too. I'll reopen if I have
something more concrete.
** Changed in: iptables (Ubuntu)
Status: In Progress => Invalid
** Changed in: iptables (Ubuntu)
Assignee: Jamie Strandboge (jdstrand) => (unassigned)
** Changed in: iptables (Ubuntu)
Importance: Medium => Undecided
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iptables in Ubuntu.
https://bugs.launchpad.net/bugs/1865531
Title:
ip6tables alternate is not setup correctly
Status in iptables package in Ubuntu:
Invalid
Bug description:
ip6tables is not properly setup for the nft backend.
$ sudo update-alternatives --query ip6tables
Name: ip6tables
Link: /usr/sbin/ip6tables
Slaves:
ip6tables-restore /usr/sbin/ip6tables-restore
ip6tables-save /usr/sbin/ip6tables-save
Status: auto
Best: /usr/sbin/ip6tables-legacy
Value: /usr/sbin/ip6tables-legacy
Alternative: /usr/sbin/ip6tables-legacy
Priority: 20
Slaves:
ip6tables-restore /usr/sbin/ip6tables-legacy-restore
ip6tables-save /usr/sbin/ip6tables-legacy-save
Alternative: /usr/sbin/ip6tables-nft
Priority: 10
Slaves:
ip6tables-restore /usr/sbin/ip6tables-nft-restore
ip6tables-save /usr/sbin/ip6tables-nft-save
But, looking at the files in /usr/sbin, /usr/sbin/ip6tables is not a symlink
into /etc/alternatives/ip6tables:
$ ls -l /usr/sbin/ip6tables
-rwxr-xr-x 1 root root 99296 Feb 28 08:16 /usr/sbin/ip6tables
but the symlink in /etc/alternatives is setup ok:
$ ls -l /etc/alternatives/ip6tables
lrwxrwxrwx 1 root root 26 Mar 2 10:12 /etc/alternatives/ip6tables ->
/usr/sbin/ip6tables-legacy
This breaks, for example, ufw when the system is setup for nft.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/1865531/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp