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

dont depend on working network connectivity #16

Merged
merged 1 commit into from
Nov 18, 2019
Merged

dont depend on working network connectivity #16

merged 1 commit into from
Nov 18, 2019

Conversation

bastelfreak
Copy link
Member

In the past, ipset had a dependency to a working network connection
(with available ip addresses and routes and stuff like this), if
systemd-networkd was used. This doesn't make any sense and might even
introduce dependency cycles. We can start as soon as the kernel is ready
to accept calls from ipset. And we need to start before iptables tries
to use us. This will be fixed in a seperate commit.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the bug Something isn't working label Nov 18, 2019
@bastelfreak bastelfreak self-assigned this Nov 18, 2019
In the past, ipset had a dependency to a working network connection
(with available ip addresses and routes and stuff like this), if
systemd-networkd was used. This doesn't make any sense and might even
introduce dependency cycles. We can start as soon as the kernel is ready
to accept calls from ipset. And we need to start before iptables tries
to use us. This will be fixed in a seperate commit.
@@ -9,9 +8,6 @@ Documentation=https://github.com/voxpupuli/puppet-ipset
<% if $firewall_service { -%>
Before=<%= $firewall_service %>
<% } -%>
<% if $service_dependency { -%>
Require=<%= $service_dependency %>
<% } -%>
After=network-online.target
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as mentioned in the commit text, I will update it in another PR. It works, but can be improved.

@bastelfreak
Copy link
Member Author

The other related changes are done in #17

@bastelfreak
Copy link
Member Author

obsoleted by #17

@bastelfreak bastelfreak merged commit bfc8cba into master Nov 18, 2019
@bastelfreak bastelfreak deleted the foo branch November 18, 2019 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants