verified this works as expected in utopic.
$ vals() { for i in net.ipv6.conf.all.use_tempaddr
net.ipv6.conf.default.use_tempaddr; do
[ -n "$1" ] && { sudo sysctl $i=$1 || return; } || sysctl $i;
done; }
$ vals 0
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
$ sudo ip -6 addr del 2001:db8::1:3/64 dev eth0 &>/dev/null;
$ sudo ip -6 addr add 2001:db8::1:3/64 dev eth0
$ vals 2
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
$ ip -6 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2001:db8::1:3/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fefd:d570/64 scope link
valid_lft forever preferred_lft forever
$ vals 0
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
$ ip -6 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 2001:db8::1:3/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fefd:d570/64 scope link
valid_lft forever preferred_lft forever
$ uname -r
3.16.0-21-generic
** Changed in: linux (Ubuntu Utopic)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994931
Title:
Altering use_tempaddr drops all IPv6 addresses
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/994931/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs