Univention Bugzilla – Bug 21757
Profilbasierte Installation bindet USB-Stick nicht ein
Last modified: 2011-07-13 11:57:01 CEST
Created attachment 3096 [details] installer.log der alten DVD 2011030710001049 Mit der alten und neuen 2.4 DVD (Kernel 2.6.32) getestet. Alte DVD (RAID-Controller wird nicht erkannt, daher sda): # /lib/univention-installer/usb-device.sh 2.6 0 BUFFALO 0 sda1 1 BUFFALO 0 sda 2 TOSHIBA 5 sr0 installer.log: could not translate string: "Initialize USB Devices" could not translate string: "Please wait..." could not translate string: "Please wait..." mount /profmnt/0 /bin/mount /dev/0 /profmnt/0 -t vfat >/dev/null 2>&1 /bin/mount /dev/0 /profmnt/0 >/dev/null 2>&1 mount /profmnt/01 /bin/mount /dev/01 /profmnt/01 -t vfat >/dev/null 2>&1 /bin/mount /dev/01 /profmnt/01 >/dev/null 2>&1 mount /profmnt/0 /bin/mount /dev/0 /profmnt/0 -t vfat >/dev/null 2>&1 /bin/mount /dev/0 /profmnt/0 >/dev/null 2>&1 mount /profmnt/01 /bin/mount /dev/01 /profmnt/01 -t vfat >/dev/null 2>&1 /bin/mount /dev/01 /profmnt/01 >/dev/null 2>&1 mount /profmnt/5 /bin/mount /dev/5 /profmnt/5 -t vfat >/dev/null 2>&1 /bin/mount /dev/5 /profmnt/5 >/dev/null 2>&1 mount /profmnt/51 /bin/mount /dev/51 /profmnt/51 -t vfat >/dev/null 2>&1 /bin/mount /dev/51 /profmnt/51 >/dev/null 2>&1 could not translate string: "F12-Next" Neue DVD: # /lib/univention-installer/usb-device.sh 2.6 0 BUFFALO 0 sdb1 1 BUFFALO 0 sdb 2 TOSHIBA 5 sr0 installer.log: could not translate string: "Initialize USB Devices" could not translate string: "Please wait..." could not translate string: "Please wait..." mount /profmnt/0 /bin/mount /dev/0 /profmnt/0 -t vfat >/dev/null 2>&1 /bin/mount /dev/0 /profmnt/0 >/dev/null 2>&1 mount /profmnt/01 /bin/mount /dev/01 /profmnt/01 -t vfat >/dev/null 2>&1 /bin/mount /dev/01 /profmnt/01 >/dev/null 2>&1 mount /profmnt/0 /bin/mount /dev/0 /profmnt/0 -t vfat >/dev/null 2>&1 /bin/mount /dev/0 /profmnt/0 >/dev/null 2>&1 mount /profmnt/01 /bin/mount /dev/01 /profmnt/01 -t vfat >/dev/null 2>&1 /bin/mount /dev/01 /profmnt/01 >/dev/null 2>&1 mount /profmnt/5 /bin/mount /dev/5 /profmnt/5 -t vfat >/dev/null 2>&1 /bin/mount /dev/5 /profmnt/5 >/dev/null 2>&1 mount /profmnt/51 /bin/mount /dev/51 /profmnt/51 -t vfat >/dev/null 2>&1 /bin/mount /dev/51 /profmnt/51 >/dev/null 2>&1
Created attachment 3097 [details] installer.log der neuen DVD
Vermutlich ist es eine Problem bei der Ausgabe der gefundenen USB Geräte. Hier hat sich ein Leerzeichen zwischen Element 1 und 2 eingeschlichen. Dadurch kommt der Installer durcheinander (.split(" ")) und versucht ein falsches Verzeichnis einzubinden. In installer/usb-device.sh wird nun bei der Ausgabe der vier Werte immer ein "sed -e 's| *$||' -e 's| |_|g'" durchgeführt. Dadurch sollte alle ungewollten Leerzeichen in der Ausgabe verschwinden. Hotfix: Diese Anpassung wurde im Scope univention-installer für UCS 2.4 am Paket univention-installer per Patch eingepflegt. Zusätzlich gibt es eine neue Installations CD auf Basis der 2.4 CD (mit sec1 und sec2, Script build-cd-ucs2.4-0-installer). Damit habe ich eine profilbasierte USB Installation und eine normale Installation auf Hardware getestet (i386). @Janis: Diese CD's können dann (nach der QA?) weitergegeben werden ucs_2.4-0-installer-latest-amd64.iso ucs_2.4-0-installer-latest-i386.iso 2.4-2: Das Problem wurde auch im Trunk behoben. Hier gab es aber noch zusätzliche Probleme. Die OXAE Änderungen am Installer haben die profilbasierte Installation kaputt gemacht. Es gibt also zusätzlich zur Änderung oben noch zwei kleine Anpassungen an 11_basis.py. Eine (interne) Install CD für 2.4-2 wurde gebaut. Damit sollte die QA der Installation möglich sein. Für die QA würde ich vorschlagen, zumindest ein Test mit profilbasierter Installation (USB) und einen mit normaler Installation auf echter Hardware.
Ich habe folgende CD's getestet: ucs_2.4-0-installer-latest-amd64.iso ucs_2.4-0-installer-latest-i386.iso Bei beiden funktionierte die profilbasierte Installation per USB-Stick problemlos. Es fehlt jedoch der Changelog. Reopened
Changelog Eintrag ergänzt.
Changelog wurde ergänzt. Verified!
UCS 2.4-2 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".