Bug 17956 - ISO-8859 Zeichen in base.conf auf auto-update-test Maschinen
ISO-8859 Zeichen in base.conf auf auto-update-test Maschinen
Status: CLOSED DUPLICATE of bug 16637
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-24 09:48 CET by Felix Botner
Modified: 2023-03-25 06:41 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Felix Botner univentionstaff 2010-03-24 09:48:22 CET
Zumindest auf den auto-update-test Master Maschinen kommt es zu folgendem Fehler:


************************************************************
* Starting '/usr/share/ucs-test/scripts/03_ucr/60ucr_dump' at Fr 5. Mär
14:31:50 CET 2010
* Message: 'Test Univention Config Registry dump'
info 2010-03-05 14:31     required package univention-config-registry installed


***Test Univention Config Registry dump
ssl_organizationalunit="Qualit�tssicherung"
Test failed. Output of --shell dump contains non-quoted values.
END /usr/share/ucs-test/scripts/03_ucr/60ucr_dump: 110 => Test failed

Dabei handelt es sich um folgendes Problem. In dem Testscript wird
geschaut, ob in der "--shell dump" Ausgabe von UCR alle Zuweisungen mit "
umschlossen sind (a="b")

grep -ve '=".*"' "${TMPDIR}/${BASECONFIG}.dump"

Dabei verwendet grep die locale Einstellung UTF-8 für den Wildcard .*. Es kennt
also nur UTF-8 (und ASCII) Zeichen.
In der base.conf ist die Variable ssl/organizationalunit aber auf einen in
ISO-8859 kodierten String gesetzt. Damit trifft schlägt grep -ve '=".*"' fehl.

Ändert man den String in der base.conf auf UTF-8 funktioniert es wieder.
Comment 1 Stefan Gohmann univentionstaff 2010-04-27 07:59:52 CEST
Das liegt vermutlich daran, dass der Installer kein utf8 schreibt. Später Applikationen schreiben allerdings auf utf8 in die base.conf. Das werden wir wohl erst  mit Bug #16637 lösen.

*** This bug has been marked as a duplicate of bug 16637 ***
Comment 2 Stefan Gohmann univentionstaff 2016-10-12 07:49:21 CEST
For this bug is no separate QA needed.