[Bug 1679652] Re: Using an ipv6 address as preseed file location results in an installer error
Dimitri John Ledkov
launchpad at surgut.co.uk
Wed Apr 12 13:15:56 UTC 2017
Looking at the syslog, the kernel commandline as passed to the kernel is
invalid:
Apr 4 10:19:26 kernel: [ 0.406602] setup.1a06a7: Linux is running as a z/VM guest operating system in 64-bit mode
...
Apr 4 10:19:26 kernel: [ 0.424773] Kernel command line: ro locale=C cio_ignore=all,!9,!b1c0-b1c2,!eb2e s390-netdevice/qeth/choose=0.0.b1c0-0.0.b1c1-0.0.b1c2 s390-netdevice/choose_networktype=qeth netcfg/disable_dhcp=true s390-netdevice/qeth/port=0 s390-netdevice/qeth/layer2=true netcfg/get_ipaddress=fd00:10:100::86:16/80 netcfg/use_autoconfig=false netcfg/get_gateway=fd00:10:100::86:49 netcfg/get_nameservers=fd00:10:100::86:49 netcfg/get_hostname=s8330016 netcfg/get_domain=boeblingen.de.ibm.com network-console/password=xxxx DEBCONF_DEBUG=5 network-console/password-again=xxxx preseed/url=http://^Gfd00:10:100::86:49^G/ubuntu/mroesch/zesty.preseed
Apr 4 10:19:26 kernel: [ 0.426458] log_buf_len individual max cpu contribution: 4096 bytes
clearly the URL should be http://[fd00:10:100::86:49]/ubuntu/mroesch/zesty.preseed, not ^G.
Currently testing qemu/kvm
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to preseed in Ubuntu.
https://bugs.launchpad.net/bugs/1679652
Title:
Using an ipv6 address as preseed file location results in an installer
error
Status in Ubuntu on IBM z Systems:
Confirmed
Status in preseed package in Ubuntu:
Confirmed
Bug description:
Installer version: 20101020ubuntu500
Kernel: 4.10.0-14
Description/Reproduction:
Trying to perform an IPv6-based installation using a preseed file that should be retrieved from an IPv6 URL results in this installer error:
"The file needed for preconfiguration could not be retrieved from
http://xxxxxxxxxxxxxxxx:10:100::86:49/ubuntu/name/zesty.preseed
The installation will proceed in non-automated mode."
The parameter in the parmfile looks like this:
preseed/url=http://[xxxxxxxxxxxxxx:10:100::86:49]/ubuntu/name/zesty.preseed
I also tried escaping the square brackets, but that also doesn't work
In syslog you see the following error:
Apr 4 10:22:22 main-menu[465]: (process:481): expr: warning: '^.*\[[:a-fA-F0-9]*\]': using '^' as the first character
Apr 4 10:22:22 main-menu[465]: (process:481): of a basic regular expression is not portable; it is ignored
Apr 4 10:22:22 main-menu[465]: (process:481): http://xxxxxxxxxxxxxxxx:10:100::86:49^G/ubuntu/name/zesty.preseed: Bad port number.
We had found a similar bug in Ubuntu 16.04
(https://bugzilla.linux.ibm.com/show_bug.cgi?id=137452 , Launchpad Bug
LP1547629)
I have attached the logs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1679652/+subscriptions
More information about the foundations-bugs
mailing list