Univention Bugzilla – Bug 27900
Unnötige Fehlermeldung: UCR variable system/setup/boot/help has an invalid format
Last modified: 2012-12-12 21:10:47 CET
Während des Updates eines Masters von 3.0-1 nach 3.0-2: univention-system-setup (5.0.193-1.348.201207110955) wird eingerichtet ... Neue Version der Konfigurationsdatei /etc/univention/templates/info/univention-system-setup.info wird installiert ... Script: /etc/univention/templates/scripts/update_sytem_setup_help.sh ERROR: The UCR variable system/setup/boot/help has an invalid format, should be '<dir>:<filename>'. Setting up fallback files... Laut Alex ist die Variable zum Zeitpunkt des Registrierens noch nicht gesetzt und löst daher die Fehlermeldung aus. Wenn möglich, sollten wir das irgendwie vermeiden, weil das nach einem realen Fehler aussieht.
UCS 3.1 will be the next release.
Mittlerweile wird diese UCR Variable automatisch im postinst des Binärpakets univention-system-setup gesetzt. Beim update auf neuere Versionen tritt diese Meldung also bereits nicht mehr auf.
=================================================== Setting up univention-system-setup (6.0.16-1.366.201209031111) ... Installing new version of config file /etc/univention/registry.info/variables/univention-system-setup.cfg ... Script: /etc/univention/templates/scripts/update_sytem_setup_help.sh File: /etc/logrotate.d/univention-system-setup Not updating system/setup/boot/help ===================================================
Das Problem tritt während der Installation noch auf (DVD von heute morgen): Script: /etc/univention/templates/scripts/update_sytem_setup_help.sh ERROR: The UCR variable system/setup/boot/help has an invalid format, should be '<dir>:<filename>'. Setting up fallback files... Ein leerer Wert sollte gültig sein. Alternativ sollte der Default früher gesetzt werden.
univention-system-setup (6.0.30-1) unstable; urgency=low * don't display ERROR when UCR variable system/setup/boot/help is unset during installation (Bug #27900) svn35649 Bei nicht gesetzter Variable wird jetzt ein enstsprechender Hinweis statt des Fehlers ausgegeben.
Die Funktion default_links führt jetzt ein "exit 1" aus, welches aus der Funktion error herausgenommen wurde. Ist das so korrekt?
Rückgabewerte wurden korrigiert. univention-system-setup (6.0.31-1) unstable; urgency=low * fixed return codes of script conffiles/update_sytem_setup_help.sh (Bug #27900) svn35659
OK, Meldung tritt nicht mehr auf.
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".