[Bug 1543657] [NEW] settle-dad.sh expects netmask to be provided, but netmask is not marked 'required'
Graham Clinch
g.clinch at lancaster.ac.uk
Tue Feb 9 16:25:48 UTC 2016
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
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1543657
Title:
settle-dad.sh expects netmask to be provided, but netmask is not
marked 'required'
Status in ifupdown package in Ubuntu:
New
Bug description:
=
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'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1543657/+subscriptions
More information about the foundations-bugs
mailing list