Article 4VF44 puppet agent and ip forwarding settings in /etc/sysctl.conf

puppet agent and ip forwarding settings in /etc/sysctl.conf

by
sbutt
from LinuxQuestions.org on (#4VF44)
Hi all,

We have an issue with the http connectivity, which has to do with docker and the ip forwarding settings in /etc/sysctl.conf. When we set:
net.ipv4.ip_forward=1

then we do:
systemctl restart networking
systemctl restart docker

Then everything works - but some process on the linux ubuntu box writes the change back and breaks it again.

e.g.: at 10:57 I changed it to ip_forward=1, and at 11:42 I can see the file sysctl.conf has been overwritten by something".. and running 'sysctl net.ipv4.conf.all.forwarding' shows it set back to 0.

Later we further investigated and found out:
It is the puppet agent that rewrites the sysctl.conf back to some preset defaults.

How do we go about overriding this permanently?

Is there any other option than to disable the puppet agent?

Thanks.latest?d=yIl2AUoC8zA latest?i=3pEyxU6FwmE:YoVNwhWEX3Y:F7zBnMy latest?i=3pEyxU6FwmE:YoVNwhWEX3Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=3pEyxU6FwmE:YoVNwhWEX3Y:gIN9vFw3pEyxU6FwmE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments