Bug 27900 - Unnötige Fehlermeldung: UCR variable system/setup/boot/help has an invalid format
Unnötige Fehlermeldung: UCR variable system/setup/boot/help has an invalid fo...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.1
Assigned To: Lukas Walter
Stefan Gohmann
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-12 17:35 CEST by Sönke Schwardt-Krummrich
Modified: 2012-12-12 21:10 CET (History)
2 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 Sönke Schwardt-Krummrich univentionstaff 2012-07-12 17:35:26 CEST
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.
Comment 1 Stefan Gohmann univentionstaff 2012-07-17 17:09:39 CEST
UCS 3.1 will be the next release.
Comment 2 Lukas Walter univentionstaff 2012-09-03 16:34:59 CEST
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.
Comment 3 Lukas Walter univentionstaff 2012-09-03 16:36:23 CEST
===================================================
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
===================================================
Comment 4 Stefan Gohmann univentionstaff 2012-09-17 08:17:30 CEST
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.
Comment 5 Lukas Walter univentionstaff 2012-09-17 11:09:35 CEST
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.
Comment 6 Alexander Kläser univentionstaff 2012-09-17 12:43:59 CEST
Die Funktion default_links führt jetzt ein "exit 1" aus, welches aus der Funktion error herausgenommen wurde. Ist das so korrekt?
Comment 7 Lukas Walter univentionstaff 2012-09-17 13:23:25 CEST
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
Comment 8 Stefan Gohmann univentionstaff 2012-09-17 13:45:08 CEST
OK, Meldung tritt nicht mehr auf.
Comment 9 Stefan Gohmann univentionstaff 2012-12-12 21:10:47 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".