Bug 35731 - installation without network configuration fails
installation without network configuration fails
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Philipp Hahn
Stefan Gohmann
http://en.wikipedia.org/wiki/Link-loc...
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-27 17:40 CEST by Felix Botner
Modified: 2014-11-26 06:55 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2014-08-27 17:40:14 CEST
Skipped the network configuration in the installer, but than firefox (USS) complains about 

cannot establish connection to the server at localhost
Comment 1 Florian Best univentionstaff 2014-08-28 09:11:43 CEST
Maybe startxwithfirefox could check if a network connection exists and don't set the/some blacklist variables if not.
Comment 2 Felix Botner univentionstaff 2014-08-28 10:54:39 CEST
What did the old installer:

 * always ifconfig lo 127.0.0.1 up

 * configured a dummy interface if no interfaces could be found 
   (modprobe dummy)

 * required the configuration of eth0 (static or dhcp)

 * used a link local address if no dhcp address was offered

see, univention-installer/sbin/univention-installer-network-startup
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-09-08 10:22:46 CEST
As discussed a few minutes ago:
- it should not be possible to skip network configuration (the user has to do it 
  manually or via DHCP)
- if a interface is present (eth0), a link local address should be used as 
  fallback if no address has been assigned by a DHCP server. In this case, a 
  warning should be shown to the user.
- if no ethernet interface is present, the installer should show a message and 
  block the installation.
Comment 4 Philipp Hahn univentionstaff 2014-09-12 18:59:44 CEST
r13573 | Bug #35731: Require at least one Ethernet interface
 Loop in hw-detect until at least one ethernet card is found.

Package: hw-detect
Version: 1.92.5.201409121706
Branch: ucs_4.0-0

r13574 | Bug #35731: Support IPv4 Link-Local config
 Support IPv4 Link-local address (169.254.0.0/16) if DHCP fails
 See Bug #28467 for some restriction on which addresses are valid.

Package: netcfg
Version: 1.108.5.201409121833
Branch: ucs_4.0-0

ucs_4.0-0-20140912-184436-dvd-amd64.iso

QA: (DI=/var/univention/buildsystem2/apt/ucs_4.0-0/dists/ucs400/main/installer-amd64/current/images/cdrom/ ISO=/var/univention/buildsystem2/isotests/ucs_4.0-0-latest-amd64.iso TMPDIR=/mnt/utby/sda3/kvm/images/ DISK=/var/lib/libvirt/images/phahn_installer-0.qcow2;TMPDIR="$TMPDIR" kvm -m 1G -drive file="$DISK",snapshot=on,format=qcow2 -sdl -net nic,model=rtl8139 -cdrom "$ISO")

TODO: Maybe disable the automatic update at the end of the installation as no working network connection exists.
Comment 5 Stefan Gohmann univentionstaff 2014-10-01 12:09:33 CEST
OK, I wasn't able to continue with a network card.
Comment 6 Stefan Gohmann univentionstaff 2014-11-26 06:55:35 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".