I've verified fix-released on utopic.  In 2 ways:
a.) set /etc/network/interfaces with:
  auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet6 static
    netmask 64
    address 2001:db8::1:3

  And set a local 'NoCloud' datasource, and then booted
  the system to see 'ip -6 addr' shows the configured interface.

b.) verified that bouncing the sysctl settings does not deconfigure addresses.
  $ 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: ifupdown (Ubuntu Utopic)
       Status: Confirmed => 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/1352255

Title:
  Impossible to configure network interface with only IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1352255/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to