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

ipv6 forwarding prevents the daemon to run when ipv6 is disabled in kernel #1266

Open
ProfessionalismIsMyMiddleName opened this issue Feb 15, 2024 · 0 comments

Comments

@ProfessionalismIsMyMiddleName

πŸ‘» Brief Description

The

ExecStartPre=/sbin/sysctl -w net.ipv6.conf.all.forwarding=1

line added to the docker service file prevents the docker service to start if ipv6.disable=1 has been set in the kernel.

πŸ₯ž Cookbook version

11.3.0

πŸ‘©β€πŸ³ Chef-Infra Version

18.1.0

🎩 Platform details

ubuntu server 22.04

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add GRUB_CMDLINE_LINUX="ipv6.disable=1" in /etc/default/grub, then sudo update-grub
  2. reboot
  3. Try to deploy the cookbook
  4. See error

πŸš“ Expected behavior

docker service starts properly

βž• Additional context

Is it still necessary to add ipv6 forwarding by calling sysctl?
Isn't there any other way to do it?
This could be fixed by adding -e to the sysctl calls without impacting unaffected users.

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

1 participant