[Bug 1541955] Re: installer/netcfg gives misleading error message when parsing line with trailing blanks
Launchpad Bug Tracker
1541955 at bugs.launchpad.net
Thu Mar 31 18:20:13 UTC 2016
This bug was fixed in the package netcfg - 1.135ubuntu2
---------------
netcfg (1.135ubuntu2) xenial; urgency=medium
Cherrypick commits from debian netcfg master.
[ Hendrik Brueckner ]
* common/ipaddr: remove leading and trailing whitespaces
* static: trim user-specified values for IP and other addresses
* Closes: #818611, LP: #1541955
[ Dimitri John Ledkov ]
* Makefile: link with -lm to resolve undefined log and other functions
-- Dimitri John Ledkov <xnox at ubuntu.com> Thu, 31 Mar 2016 13:55:14
+0100
** Changed in: netcfg (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1541955
Title:
installer/netcfg gives misleading error message when parsing line with
trailing blanks
Status in debian-installer package in Ubuntu:
In Progress
Status in netcfg package in Ubuntu:
Fix Released
Bug description:
== Comment: #0 - Thorsten Diehl - 2016-02-04 08:52:12 ==
During the very early phase of the installer (build 416) within the z/VM console, when I enter e.g. the IP address and append by accident one ore more trailing blanks, the IP address is treated as malformed.
Recommendation: leading and trailing blanks should be ignored.
Configure a network using static addressing
-------------------------------------------
The IP address is unique to your computer and may be:
* four numbers separated by periods (IPv4);
* blocks of hexadecimal characters separated by colons (IPv6).
You can also optionally append a CIDR netmask (such as "/24").
If you don't know what to use here, consult your network administrator.
IP address:
Prompt: '?' for help> 9.152.162.103
9.152.162.103
!! ERROR: Malformed IP address
The IP address you provided is malformed. It should be in the form x.x.x.x
where each 'x' is no larger than 255 (an IPv4 address), or a sequence of blocks
of hexadecimal digits separated by colons (an IPv6 address). Please try again.
?Press enter to continue?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1541955/+subscriptions
More information about the foundations-bugs
mailing list