Bug 17835 - univention-repository-create: broken Symlinks /var/lib/univention-repository/isolinux/linux
univention-repository-create: broken Symlinks /var/lib/univention-repository/...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 2.3
Other Linux
: P5 minor (vote)
: UCS 3.1
Assigned To: Stefan Gohmann
Felix Botner
: interim-3
: 25122 26234 28475 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-08 13:44 CET by Philipp Hahn
Modified: 2012-12-12 21:08 CET (History)
4 users (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 Philipp Hahn univentionstaff 2010-03-08 13:44:33 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'
Comment 1 Philipp Hahn univentionstaff 2010-03-08 13:54:10 CET
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.
Comment 2 rolandb 2011-03-29 17:08:51 CEST
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
Comment 3 Stefan Gohmann univentionstaff 2011-03-30 10:07:42 CEST
Bitte Installationsprofil und Logdatei von der Installation anhängen:

 /var/log/univention/installation.log.gz
 /etc/univention/installation_profile
Comment 4 rolandb 2011-03-30 10:27:39 CEST
Ich habe es nachträglich auf einem UCS2.4 Memberserver mit univention-repository-create erstellt. Dies war keine neuinstallation.
Comment 5 Philipp Hahn univentionstaff 2012-02-23 16:18:24 CET
*** Bug 26234 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Gohmann univentionstaff 2012-06-14 22:13:39 CEST
Nochmal mit UCS 3 prüfen.
Comment 7 Philipp Hahn univentionstaff 2012-06-15 12:00:46 CEST
(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
Comment 8 Stefan Gohmann univentionstaff 2012-07-17 17:09:37 CEST
UCS 3.1 will be the next release.
Comment 9 Philipp Hahn univentionstaff 2012-09-12 17:35:02 CEST
*** Bug 25122 has been marked as a duplicate of this bug. ***
Comment 10 Philipp Hahn univentionstaff 2012-09-12 17:35:31 CEST
*** Bug 28475 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Gohmann univentionstaff 2012-11-02 10:41:42 CET
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.
Comment 12 Felix Botner univentionstaff 2012-11-12 12:03:36 CET
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
Comment 13 Stefan Gohmann univentionstaff 2012-12-12 21:08:46 CET
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".