Univention Bugzilla – Bug 41143
Docker detection breaks PXE installation
Last modified: 2016-05-04 18:10:01 CEST
r63307 changed b/branches/ucs-4.1/ucs-4.1-0/base/univention-base-files/conffiles/xkbKeyboard.py to read: > + if "docker" in open("/proc/1/cgroup","rb").read(): During PXE installation that code is executed in the chroot-target-environment, where the "cgroup" entry does *not* exists. The code thus fails with an IOError(errno=ENOENT). This leads to /etc/univention/templates/modules/xkbKeyboard.py aborting. This leads to branches/ucs-4.1/ucs-4.1-1/services/univention-net-installer/post-base-installer.d/56ucr aborting due to errors. This leads to the PXE installation to fail. +++ This bug was initially created as a clone of Bug #38763 +++ > /etc/univention/templates/modules/xkbKeyboard.py needs /bin/setupcon - part of console-setup. > Our minimal docker image does not ship it. This may not be relevant to operate UCS, but in this case it should be checked whether the binary exists. Wish that the check for the existing binary would have been done instead of trying to detect a potential docker environment as "console-setup" is only installed due to a "Recommends" - this it is not available when recommends are not installed.
r68994 | Bug #41143 base: Copyright 2016 r68993 | Bug #41143 base: Fix docker/PXE detection Package: univention-base-files Version: 5.0.1-2.209.201604281504 Branch: ucs_4.1-0 Scope: errata4.1-1 r68995 | Bug #41143 base: Fix docker/PXE detection YAML univention-base-files.yaml
OK - pxe installation OK - YAML
<http://errata.software-univention.de/ucs/4.1/161.html>