Hi,
I've a RaspberryPi running on Arch, I'm tring to enable ipv6 tempaddr at boot time, but it seems there's something not working :
$this->bbcode_second_pass_code('', '[root@Carina ~]# sysctl -a | grep ipv6 | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.eth0.use_tempaddr = 0
net.ipv6.conf.ifb0.use_tempaddr = 0
net.ipv6.conf.ifb1.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1
[root@Carina ~]# systemctl reload systemd-sysctl
Failed to issue method call: Job type reload is not applicable for unit systemd-sysctl.service.
[root@Carina ~]# systemctl restart systemd-sysctl
[root@Carina ~]# sysctl -a | grep ipv6 | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.eth0.use_tempaddr = 2
net.ipv6.conf.ifb0.use_tempaddr = 0
net.ipv6.conf.ifb1.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1')
And after a reboot :
$this->bbcode_second_pass_code('', '[root@Carina ~]# sysctl -a | grep ipv6 | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.eth0.use_tempaddr = 0
net.ipv6.conf.ifb0.use_tempaddr = 0
net.ipv6.conf.ifb1.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1
[root@Carina ~]# less /lib/udev/rules.d/99-systemd.rules
[root@Carina ~]# /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/eth0 --prefix=/proc/sys/net/ipv4/neigh/eth0 --prefix=/proc/sys/net/ipv6/conf/eth0 --prefix=/proc/sys/net/ipv6/neigh/eth0
[root@Carina ~]# sysctl -a | grep ipv6 | grep use_tempaddr net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.eth0.use_tempaddr = 2
net.ipv6.conf.ifb0.use_tempaddr = 0
net.ipv6.conf.ifb1.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1')
I tried both using /etc/sysctl.conf and /etc/sysctl.d/myfile.
Today :
$this->bbcode_second_pass_code('', '
[root@Carina ~]# uname -a
Linux Carina.lxdr.net 3.6.11-5-ARCH+ #1 PREEMPT Tue Feb 5 05:34:07 UTC 2013 armv6l GNU/Linux
[root@Carina ~]# systemctl status systemd-sysctl
systemd-sysctl.service - Apply Kernel Variables
Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static)
Active: active (exited) since Thu 1970-01-01 01:00:03 CET; 43 years 1 months ago
Docs: man:systemd-sysctl.service(8)
man:sysctl.d(5)
Process: 57 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited, status=0/SUCCESS)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[root@Carina ~]# ls -la /etc/sysctl.d/ipv6-tempaddr.conf
-rwxr-xr-x 1 root root 104 Feb 2 13:41 /etc/sysctl.d/ipv6-tempaddr.conf
[root@Carina ~]# cat /etc/sysctl.d/ipv6-tempaddr.conf
net.ipv6.conf.default.use_tempaddr=2
net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.eth0.use_tempaddr=2
[root@Carina ~]# sysctl -a | grep ipv6 | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.eth0.use_tempaddr = 0
[..]
')
Any idea ?
Probably something not loaded quick enough ?
Thanks in advance !
