Univention Bugzilla – Bug 46669
Disable "Predictable Network Interface Names" for upgrades
Last modified: 2018-03-15 15:17:05 CET
In VMs no entries for virtual interfaces are created in /etc/udev/rules.d/70-persistent-net.rules. On upgrade those interfaces are then renamed by systemd. As then the UCRV names interfaces/$iface/ no longer match, the network is not configured properly any longer. <https://help.univention.com/t/kein-zugriff-auf-ucs-server-nach-upgrade-auf-4-3/8194/5> <https://lists.debian.org/debian-user/2017/07/msg01453.html> Plan: ucr set grub/append="$(ucr get grub/append) net.ifnames=0" for upgrading systems only.
[4.3-0] 36e2654f0b Bug #46669 up: Disable Predictable Network Interface Names" on upgrades Package: univention-updater Version: 13.0.1-38A~4.3.0.201803150951 Branch: ucs_4.3-0 Scope: errata4.3-0 No YAML as we only need the new preup.sh[.pgp] cd test_mirror/ftp/4.3/maintained/4.3-0/all/ cp /home/phahn/REPOS/ucs/base/univention-updater/script/preup.sh preup.sh repo-ng-sign-release-file -p /etc/archive-keys/ucs4.0.txt -k 6B8BFD3C -i preup.sh -o preup.sh.gpg cp --reflink=auto -fv preup.sh* ../../../../../../mirror/testing/4.3/maintained/4.3-0/all/ sudo update_mirror.sh -v testing/4.3/maintained/4.3-0/all/ After QA: same for mirror/ftp/
OK What I tested KVM with multiple interfaces -> all are named ethX after the upgrade VirtualBox with multiple interfaces -> all are named ethX after the upgrade Unset grub/append -> grub/append gets set already set grub/append -> Value is appended to grub/append -> Verified
cp --reflink=auto -fv preup.sh* ../../../../../../mirror/ftp/4.3/maintained/4.3-0/all/ sudo update_mirror.sh -v ftp/4.3/maintained/4.3-0/all/ curl -s http://updates.software-univention.de/4.3/maintained/4.3-0/all/preup.sh | grep -A4 46669