You are not logged in.

#1 2013-02-02 14:24:58

Alex131089
Member
Registered: 2013-02-02
Posts: 2

systemd sysctl net.ipv6.conf.*.use_tempaddr not loaded at boot

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 :

[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 :

[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.

Any idea ?
Probably something not loaded quick enough ?

Thanks in advance !

Offline

#2 2013-02-06 16:45:40

Alex131089
Member
Registered: 2013-02-02
Posts: 2

Re: systemd sysctl net.ipv6.conf.*.use_tempaddr not loaded at boot

No idea or no way for me to try something else ? hmm

Offline

#3 2013-02-08 04:37:43

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: systemd sysctl net.ipv6.conf.*.use_tempaddr not loaded at boot

Have you put all and default in /etc/sysctl.conf? If not it might be worth a try.

net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2

Offline

#4 2013-02-08 06:17:32

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: systemd sysctl net.ipv6.conf.*.use_tempaddr not loaded at boot

ARM has their own boards. Please ask there. Your probability of getting answers are higher there.

Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB