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

sysctl job disables ipv6 implicitly on jammy stemcells #71

Open
fmoehler opened this issue Dec 19, 2024 · 0 comments
Open

sysctl job disables ipv6 implicitly on jammy stemcells #71

fmoehler opened this issue Dec 19, 2024 · 0 comments

Comments

@fmoehler
Copy link
Contributor

When adding the sysctl job it reapplies all sysctls in its pre-start script. This leads to issues when running on a jammy stemcell and using ipv6.

The jammy stemcell comes with disabled ipv6 by default. It can be enabled via config property. However this leads to the following scenario:

  1. Agent enables IPv6 according to the config property
  2. The os-conf-releases's sysctls pre-start script gets called which reapplys all sysctls.
  3. The sysctl placed into /etc/sysctl.d by the stemcell implicitly gets reapplied disabling ipv6 again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for Changes | Open for Contribution
Development

No branches or pull requests

1 participant