[systemd-devel] Modifying kernel vars through sysctl.d

Andrey Borzenkov arvidjaar at gmail.com
Thu Jun 20 09:41:11 PDT 2013


В Thu, 20 Jun 2013 12:24:06 +0000
"Belal, Awais" <Awais_Belal at mentor.com> пишет:

> Hi,
> 
> I am trying to update a kernel variable on boot. So, after reading a bit here and there I found out that I could simply provide a .conf file under /etc/sysctl.d/ and have my required configs in it. I placed a file ipv6.conf under the mentioned directory with the contents:
> 
> net.ipv6.conf.eth0.disable_ipv6=0
> 
> so I could enable ipv6 on my eth0 interface on boot. Oddly enough this isn't working as I expected and doing a 'cat /proc/sys/net/ipv6/conf/eth0/disable_ipv6' still gives me '1'.

Do you use NetworkManager?


More information about the systemd-devel mailing list