Public bug reported:

=
Description:    Ubuntu Xenial Xerus (development branch)
Release:        16.04

ifupdown:
  Installed: 0.8.10ubuntu1
  Candidate: 0.8.10ubuntu1
=

For the inet6 static method, interfaces(5) implies that only 'address'
is required (and thus netmask is optional), however settle-dad.sh
assumes IF_NETMASK is being set.  If only address is supplied, the
following message is logged:

Waiting for DAD... Error: inet6 prefix is expected rather than
"2001:db8:ab:cd::12/"

and settle-dad.sh returns immediately, before DAD has settled.

'ip address list' appears to ignore the netmask if it is supplied, so
settle-dad could probably just use '[..] to "${IF_ADDRESS}"'.
Alternatively, 'netmask' could be documented as 'required'.

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1543657

Title:
  settle-dad.sh expects netmask to be provided, but netmask is not
  marked 'required'

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

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

Reply via email to