Univention Bugzilla – Bug 17835
univention-repository-create: broken Symlinks /var/lib/univention-repository/isolinux/linux
Last modified: 2012-12-12 21:08:46 CET
Nach einem univention-repository-create zeigen die beiden Symlinks ins Leere: # file -s /var/lib/univention-repository/isolinux/linux* /var/lib/univention-repository/isolinux/linux: broken symbolic link to `/var/lib/univention-repository/boot/linux26' /var/lib/univention-repository/isolinux/linux.bin: broken symbolic link to `/var/lib/univention-repository/boot/linux26.bin' Das scheinen noch Reste von PXE-Boot zu ein. Die Thin-Client-Boot-Umgebung zeigt direkt auf die passenden Kernel unter /var/univention-repository/boot/: # file /var/lib/univention-client-boot/linux* /var/lib/univention-client-boot/linux: symbolic link to `vmlinuz-2.6.30.1-univention.thinclient.23' /var/lib/univention-client-boot/linux.bin: symbolic link to `/var/lib/univention-repository/boot/linux-2.6.30.bin' /var/lib/univention-client-boot/linux-server: symbolic link to `/var/lib/univention-repository/boot/linux-2.6.30'
Außerdem fehlten bei mir nach der Installation die beiden Verzeichnisse /var/lib/univention-repository/{skel,var}, weshalb sich apt-mirror nicht direkt (zur Fehlersuche) aufrufen lässt. Diese werden erst durch modules/univention/updater/mirror.py#mirror_repositories() angelegt, was erst durch python/univention-repository-update aufgerufen wird.
Unter UCS 2.4-1 mit der Installations-DVD: VERSION=2.4 PATCHLEVEL=0 passiert das selbe bei einem univention-repository-create. Die Sym-Links unter den beiden Verzeichnissen sind falsch. /var/lib/univention-repository/isolinux/ linux -> /var/lib/univention-repository/boot/linux26 linux.bin -> /var/lib/univention-repository/boot/linux26.bin /var/lib/univention-client-boot/ linux.bin -> /var/lib/univention-repository/boot/linux26.bin linux-server -> /var/lib/univention-repository/boot/linux26 ls -l /var/lib/univention-repository/boot/ total 102248 drwxr-xr-x 2 root root 4096 2011-03-29 16:38 grub -r--r--r-- 1 root root 1336174 2010-08-29 22:22 linux-2.6.18 -r--r--r-- 1 root root 27692894 2010-08-29 22:10 linux-2.6.18.bin -r--r--r-- 1 root root 2376768 2010-08-29 22:22 linux-2.6.32 -r--r--r-- 1 root root 2440576 2010-08-29 22:22 linux-2.6.32-64gb -r--r--r-- 1 root root 35387838 2010-08-29 22:10 linux-2.6.32-64gb.bin -r--r--r-- 1 root root 35326580 2010-08-29 22:10 linux-2.6.32.bin
Bitte Installationsprofil und Logdatei von der Installation anhängen: /var/log/univention/installation.log.gz /etc/univention/installation_profile
Ich habe es nachträglich auf einem UCS2.4 Memberserver mit univention-repository-create erstellt. Dies war keine neuinstallation.
*** Bug 26234 has been marked as a duplicate of this bug. ***
Nochmal mit UCS 3 prüfen.
(In reply to comment #6) > Nochmal mit UCS 3 prüfen. Das ist mit 3.0-1 (Generic) immer noch ein Problem: # find /var/lib/univention-repository/isolinux -type l -exec file {} + /var/lib/univention-repository/isolinux/linux.bin: broken symbolic link to `/var/lib/univention-repository/boot/linux26.bin' /var/lib/univention-repository/isolinux/linux: broken symbolic link to `/var/lib/univention-repository/boot/linux26' # ls -1 /var/lib/univention-repository/boot grub linux-2.6.32 linux-2.6.32-64gb linux-2.6.32-64gb.bin linux-2.6.32.bin
UCS 3.1 will be the next release.
*** Bug 25122 has been marked as a duplicate of this bug. ***
*** Bug 28475 has been marked as a duplicate of this bug. ***
Die Links im isolinux Verzeichnis werden nicht mehr benötigt und werden jetzt auch nicht mehr erstellt. Die Links im /var/lib/univention-client-boot Verzeichnis werden jetzt durch univentin-repository-create erzeugt: Bug #24777.
Nach einem univention-repository-create auf 3.1 gibt es /var/lib/univention-repository/isolinux/ nicht mehr. In /var/lib/univention-client-boot sind jedoch die richtigen Links vorhanden: linux.bin -> /var/lib/univention-repository/boot/linux-3.2.0.bin linux-server -> /var/lib/univention-repository/boot/linux-3.2.0 Changelog OK
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".