Bug 16019 - Links von univention-client-boot auf Kernelimages im lokalen Repository stimmen nicht
Links von univention-client-boot auf Kernelimages im lokalen Repository stimm...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.3
Assigned To: Felix Botner
Tim Petersen
:
Depends on:
Blocks: 15900
  Show dependency treegraph
 
Reported: 2009-10-19 14:41 CEST by Daniel Hofmann
Modified: 2009-12-21 08:47 CET (History)
1 user (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 Daniel Hofmann univentionstaff 2009-10-19 14:41:46 CEST
master2332:/ # ls -al /var/lib/univention-client-boot/
insgesamt 11292
drwxr-xr-x  3 root root    4096 19. Okt 16:33 .
drwxr-xr-x 80 root root    4096 19. Okt 15:08 ..
-rw-r--r--  1 root root   66586  2. Okt 16:04 config-2.6.30.1-univention.thinclient.22
-rwxr-xr-x  1 root root 5071306  2. Okt 06:36 initrd.splash
-rw-r--r--  1 root root   73696 19. Okt 12:47 initrd.splash.bak
lrwxrwxrwx  1 root root      41 19. Okt 12:39 linux -> vmlinuz-2.6.30.1-univention.thinclient.22
lrwxrwxrwx  1 root root      47 19. Okt 16:33 linux.bin -> /var/lib/univention-repository/boot/linux26.bin
lrwxrwxrwx  1 root root      43 19. Okt 16:33 linux-server -> /var/lib/univention-repository/boot/linux26
lrwxrwxrwx  1 root root      28 19. Okt 16:33 pxelinux.0 -> /usr/lib/syslinux/pxelinux.0
drwxr-xr-x  2 root root    4096 19. Okt 16:33 pxelinux.cfg
-rw-r--r--  1 root root 1356213  2. Okt 17:10 System.map-2.6.30.1-univention.thinclient.22
-rw-r--r--  1 root root 4933408  2. Okt 17:10 vmlinuz-2.6.30.1-univention.thinclient.22

master2332:/ # ls -al /var/lib/univention-repository/boot
insgesamt 72300
drwxr-xr-x 3 root root     4096 19. Okt 16:07 .
drwxr-xr-x 6 root root     4096 19. Okt 16:19 ..
drwxr-xr-x 2 root root     4096 19. Okt 16:07 grub
-r--r--r-- 1 root root  1336102 19. Okt 11:52 linux-2.6.18
-r--r--r-- 1 root root 20361473 19. Okt 11:36 linux-2.6.18.bin
-r--r--r-- 1 root root  1544784 19. Okt 11:52 linux-2.6.26
-r--r--r-- 1 root root 23016068 19. Okt 11:36 linux-2.6.26.bin
-r--r--r-- 1 root root  2104400 19. Okt 11:52 linux-2.6.30
-r--r--r-- 1 root root 25545396 19. Okt 11:35 linux-2.6.30.bin

Ich weiß nicht genau, wann welcher Kernel verwendet wird, aber wenn im UDM für einen Host die (Re-)Installation ausgewählt wird, so wird versucht, den Kernel "linux-server" zu starten:

master2332:/ # cat /var/lib/univention-client-boot/pxelinux.cfg/0AC80441
# Perform an profile installation by default
PROMPT 0
DEFAULT linux
IPAPPEND 1

APPEND root=/dev/ram rw initrd=linux.bin ramdisk_size=98304 vt.default_utf8=0 flavor=linux nfs  quiet

LABEL linux
  KERNEL linux-server

Der Client gibt eine dementsprechende Fehlermeldung aus, und auch dass er die Konfiguration pxelinux.cfg/0AC80441 booten will.
(Could not find kernel image: linux-server)

Zumindest für die Installation funktioniert also der Netzwerkboot momentan nicht.
Verwendete CD: ucs_2.3-0-20091019112249-dvd-i386.iso
Comment 1 Daniel Hofmann univentionstaff 2009-10-19 14:47:55 CEST
Mit den beiden Symlinks für den Kernel (linux-server) und das initrd-Image (linux.bin) händisch korrigiert, startet der Netzinstaller erfolgreich.
Comment 2 Stefan Gohmann univentionstaff 2009-10-20 13:38:51 CEST
Das liegt an Bug #15900
Comment 3 Felix Botner univentionstaff 2009-10-20 14:27:05 CEST
Die Verweise im Paket univention-net-installer wurden auf /var/lib/univention-repository/boot/linux-2.6.30 bzw. /var/lib/univention-repository/boot/linux-2.6.30.bin geändert.
Comment 4 Stefan Gohmann univentionstaff 2009-11-04 06:31:47 CET
Bitte mit unterschiedlichen Kernel Installationen testen.
Comment 5 Tim Petersen univentionstaff 2009-11-05 11:19:44 CET
In aktueller 2.3 Master Installation mit Kernel 2.6.30 und 2.6.26 getestet - in beiden Fällen werden die Symlinks wie angegeben gesetzt 

/var/lib/univention-repository/boot/linux-2.6.30
/var/lib/univention-repository/boot/linux-2.6.30.bin

Changelogeintrag vorhanden.

-> verified
Comment 6 Stefan Gohmann univentionstaff 2009-12-21 08:47:24 CET
UCS 2.3 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".