Univention Bugzilla – Bug 54259
Missing UCRV from netcfg with PXE
Last modified: 2022-01-05 17:44:43 CET
Created attachment 10883 [details] patch 55netcfg-ucr <https://help.univention.com/t/network-installations-hangs/19051> I checked it myself and my /var/log/syslog shows the following error: base-installer: warning: /usr/lib/post-base-installer.d/55netcfg-ucr returned error code 127 That script is missing the hash-bang line #!/bin/sh. I’m not aware of any change in that area but maybe some part of the Debian installer (d-i) will no longer fall back to executing it as a shell script since UCS 5.0-0. Fixing this would require patching netcfg and building a new ISO as netcfg if part of the debian-installer image and cannot be updated online. (I darkly remember that we observed some bug during UCS 5.0-0 development where the networks related settings were not copied from the D-I environment to the UCS-chroot-environment, but I cannot find that issue.)
r19489 | Bug #54259: 55netcfg-ucr Package: netcfg Version: 1.160A~5.0.0.202112181631 Branch: ucs_5.0-0 Scope: errata5.0-1 Can only be released with next ISO → no YAML
https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-1/job/BuildDVD/13/consoleFull QA: isotests/ucs_5.0-1-20211218-163433-dvd-amd64.iso
grub2 still cannot be downloaded as /target/etc/resolv.conf is missing its URCV.
/var/log/syslog > in-target: chroot: can't execute '/usr/sbin/ucr': No such file or directory > base-installer: warning: /usr/lib/post-base-installer.d/55netcfg-ucr returned error code 127
See <https://hutten.knut.univention.de/mediawiki/index.php/Debian_Installer> for the order of the D-I hook scripts. (In reply to Philipp Hahn from comment #4) > /var/log/syslog > > in-target: chroot: can't execute '/usr/sbin/ucr': No such file or directory > > base-installer: warning: /usr/lib/post-base-installer.d/55netcfg-ucr returned error code 127 There were two changes to the preseed file of UCS-5 via Bug #51642: - pkgsel/include += `univention-base-packages` - base-installer/includes += `univention-config` which have not been picked into - doc/extended-docs/installation-5.0.xml - services/univention-net-installer/TEMPLATE - test/utils/utils-installation-test.sh [5.0-1] 5a300dadac fix[pxe]: Add UCR to profile for network installation doc/extended-docs/installation-5.0.xml | 14 +++++++------- services/univention-net-installer/TEMPLATE | 16 ++++++++-------- services/univention-net-installer/debian/changelog | 6 ++++++ test/utils/utils-installation-test.sh | 24 +++++++++++++++--------- 4 files changed, 36 insertions(+), 24 deletions(-) [5.0-1] 2536185aa6 Bug #54259: univention-net-installer 13.0.2-3A~5.0.0.202112201111 doc/errata/staging/univention-net-installer.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
PXE installtion works: OK Docs update: OK Verified
<https://errata.software-univention.de/#/?erratum=5.0x180>