-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debian has iptables-legacy and iptables-nft now #2285
Conversation
Please sign your commits following these rules: $ git clone -b "iptables-legacy" git@github.com:myobie/libnetwork.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
b80e9d5
to
6841924
Compare
cc @thaJeztah I had this problem on my computer and this worked for me, debian started using iptables-legacy and |
Signed-off-by: Nathan Herald <me@nathanherald.com>
6841924
to
7da66ee
Compare
@jessfraz oh! thanks for the ping; looks like this is related to moby/moby#38099 ? (was looking at that one earlier this week, but hadn't time yet to reproduce it) 🤗 ping @fcrisciani ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
unfortunate that this is needed for a specific distro 😕
@thaJeztah yes, moby/moby#38099 is related. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Whoop! that went fast. Thank you so much for your contribution @myobie 🤗 🎉 |
I think this is probably just delaying the issue; see the latest link on #1998. Now both of |
Tracking issues for that; #1998 and moby/moby#26824 |
Oh, erm if |
Not exactly -- |
This seems like a rather odd change to me. Debian is now using their "alternatives" mechanism to manage # update-alternatives --display iptables
iptables - auto mode
link best version is /usr/sbin/iptables-nft
link currently points to /usr/sbin/iptables-nft
link iptables is /usr/sbin/iptables
slave iptables-restore is /usr/sbin/iptables-restore
slave iptables-save is /usr/sbin/iptables-save
/usr/sbin/iptables-legacy - priority 10
slave iptables-restore: /usr/sbin/iptables-legacy-restore
slave iptables-save: /usr/sbin/iptables-legacy-save
/usr/sbin/iptables-nft - priority 20
slave iptables-restore: /usr/sbin/iptables-nft-restore
slave iptables-save: /usr/sbin/iptables-nft-save
# readlink /usr/sbin/iptables
/etc/alternatives/iptables
# readlink /etc/alternatives/iptables
/usr/sbin/iptables-nft
# update-alternatives --config iptables
There are 2 choices for the alternative iptables (providing /usr/sbin/iptables).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/sbin/iptables-nft 20 auto mode
1 /usr/sbin/iptables-legacy 10 manual mode
2 /usr/sbin/iptables-nft 20 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode
# readlink /usr/sbin/iptables
/etc/alternatives/iptables
# readlink /etc/alternatives/iptables
/usr/sbin/iptables-legacy Going around that and calling into Some here in this thread have mentioned errors when running
Noone has mentioned any versions anywhere but perhaps these were just during that window of brokenness? |
IOW moby/moby#38099 (comment) was correct in their recommendation. |
FWIW, this broke Docker network connectivity on my Debian unstable system, since everything else is using |
Yep, it has been reverted and is fixed now, so just update. I had Docker 18.09.3 that was broken, 18.09.4 is fixed. |
@myobie Sorry for the late reply: Yeah, it's fixed now, thanks! |
🎉