Skip to content
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

aif and iptables-persistent conflict #22

Closed
vitstr opened this issue Nov 5, 2015 · 11 comments
Closed

aif and iptables-persistent conflict #22

vitstr opened this issue Nov 5, 2015 · 11 comments

Comments

@vitstr
Copy link

vitstr commented Nov 5, 2015

Hey, I have similar problem.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778845;msg=2

@abelbeck
Copy link
Contributor

abelbeck commented Nov 5, 2015

Please excuse my Debian ignorance, but can't you just disable the "iptables-persistent" package ?

@vitstr
Copy link
Author

vitstr commented Nov 5, 2015

@abelbeck I did so, but could not understand what the problem is. you may need to add the information in the FAQ?

@abelbeck
Copy link
Contributor

abelbeck commented Nov 5, 2015

To be clear, disabling the "iptables-persistent" package solved your problem ? but figuring out iptables-persistent was the conflict was the real issue ?

@vitstr
Copy link
Author

vitstr commented Nov 5, 2015

Disabling autostart "iptables-pesrsistent" solved problem.

@abelbeck
Copy link
Contributor

abelbeck commented Nov 5, 2015

Got it, Thanks.

@arnova Possibly the Debian lib/systemd/system/arno-iptables-firewall.service Conflicts= could help, not sure how that works.

@vitstr
Copy link
Author

vitstr commented Nov 5, 2015

Thank you for the aif :)

@arnova
Copy link
Contributor

arnova commented Nov 6, 2015

I think this should simply be fixed upstream by the Debian maintainer by adding a package conflict for iptables-persistent to the aif package. I don't see how systemd should handle this. Is there any valid use case anyway to have both packages installed?

@abelbeck
Copy link
Contributor

abelbeck commented Nov 6, 2015

Is there any valid use case anyway to have both packages installed?

No, I don't think so. AIF also sets network related sysctl's which I presume iptables-persistent does not.

If a person handled the sysctl stuff elsewhere, I suppose it could be possible to manage the startup/shutdown with iptables-persistent and set/change iptables rules with AIF, seems like a lot of trouble for a very special case (very, very large number of rules ?).

For practical purposes, I don't see how these two packages could easily, properly work together.

@arnova
Copy link
Contributor

arnova commented Jul 10, 2017

This was fixed upstream by Debian

@arnova arnova closed this as completed Jul 10, 2017
@ezawadzki
Copy link

Seems to be not fixed in Debian 4.9.51-1 (2017-09-28)

@arnova
Copy link
Contributor

arnova commented Jan 16, 2018

Please forward this problem to Debian, there isn't much we can do unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants