[Bug 1556241] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Tue Mar 22 16:31:06 UTC 2016
------- Comment From thorsten.diehl at de.ibm.com 2016-03-21 14:34 EDT-------
Dimitri,
could the parmfile be the problem? E.g., mine looks like this:
ro locale=C cio_ignore=all,!9,!f5f0-f5f2,!eb15,!1800-19ff
s390-netdevice/choose_networktype=qeth DEBCONF_DEBUG=5
s390-netdevice/qeth/choose=0.0.f5f0-0.0.f5f1-0.0.f5f2
s390-netdevice/qeth/port=0 s390-netdevice/qeth/layer2=true
netcfg/confirm_static=true netcfg/disable_dhcp=true
netcfg/get_ipaddress=9.152.162.158 netcfg/get_netmask=255.255.252.0
netcfg/get_gateway=9.152.160.1 netcfg/get_nameservers=9.152.120.241
netcfg/get_hostname=s8330008 netcfg/get_domain=boeblingen.de.ibm.com
network-console/password=******** network-console/password-again=********
preseed/url=http://bistro/ubuntu/tarball/s8330008.preseed
------- Comment From thorsten.diehl at de.ibm.com 2016-03-22 12:22 EDT-------
When installation is complete, I checked /target/etc/network/interfaces.d/ before reboot - it was empty:
~ # ls -l /target/etc/network/interfaces.d/
~ #
This explains, why the very first reboot works as expected. During the
first reboot after installation, when network is already up, somebody
adds the file encf5f0 to /etc/network/interfaces.d/, containing the
inappropriate dhcp statement.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1556241
Title:
installer sets "iface encf5f0 inet dhcp" although a static IP address
was preseeded
Status in debian-installer package in Ubuntu:
New
Bug description:
== Comment: #0 - Thorsten Diehl - 2016-03-11 12:49:44 ==
I installed xenial with installer version 432 and a preseed file that has a IPv4 static configuration. Upon the initial boot after installation, everything is fine, system comes up with network. When I perform a reboot, the network service waits for "something" and prints continuously messages aka "A start job is running for Raise network interfaces (3min 14s / 5min)". After that, the network is up.
I found, that it was waiting for DHCP responses. (attaching /var/log/syslog).
/etc/network/interfaces looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto encf5f0
iface encf5f0 inet static
address 9.152.162.158
netmask 255.255.252.0
network 9.152.160.0
broadcast 9.152.163.255
gateway 9.152.160.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 9.152.120.241
dns-search boeblingen.de.ibm.com
/etc/network/interfaces.d/encf5f0 looks like this:
allow-hotplug encf5f0
iface encf5f0 inet dhcp
which seems to be the cause. After removing the second line, it worked as expected.
Not sure, whether this is the best approach. I just wanted to point to
the root cause. But starting a dhcp client when you have a static IP
address configured is definitely wrong.
== Comment: #2 - Thorsten Diehl <thorsten.diehl at de.ibm.com> - 2016-03-11 12:55:54 ==
uname -r
4.4.0-12-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1556241/+subscriptions
More information about the foundations-bugs
mailing list