Bug 26694 - Umstellung auf xattr kann bei system-setup-boot scheitern
Umstellung auf xattr kann bei system-setup-boot scheitern
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-1-errata
Assigned To: Arvid Requate
Janek Walkenhorst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-02 18:33 CEST by Arvid Requate
Modified: 2012-11-09 16:21 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
setup.log (50.99 KB, text/plain)
2012-04-02 18:33 CEST, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-04-02 18:33:16 CEST
Eine Variante von Bug #26359 trat bei der QA zu Bug #26630 auf:
Verursacht durch Bug #24388 war als locale nur de_DE.UTF-8 zur Installation ausgewählt, aber nicht en_US.UTF-8. Zur Verwendung war ebenfalls korrekt de_DE.UTF-8 ausgewählt, sodass in UCR anschliessend folgendes gesetzt war:
==================================================================
root@master:~# ucr search locale
locale/default: de_DE.UTF-8:UTF-8
 Default localisation (Interface language, character sets, etc.)

locale/keymap: de-latin1-nodeadkeys
 Keyboard layout

locale: de_DE.UTF-8:UTF-8
==================================================================

Im setup.log finden sich anschliessend einige Warnungs-Meldungen
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

Aus bisher ungeklärten Gründen führte das dazu, dass das im univention-samba4 Joinscript aufgerufene Skript mount_extfs_with_user_xattr.py die ext3-Dateisysteme nicht mit user_xattr neu gemountet hat.
Das führt in der Folge bei der Bearbeitung von Group Policies zu Zugriffsfehlern.
Comment 1 Arvid Requate univentionstaff 2012-04-02 18:33:43 CEST
Created attachment 4304 [details]
setup.log
Comment 2 Arvid Requate univentionstaff 2012-04-03 10:16:49 CEST
Die locale-Teile wurden aus mount_extfs_with_user_xattr.py herausgenommen. Das Skript ist nicht für die Benutzerinteraktion gedacht, sondern nur für den einmaligen Aufruf, daher ist es wichtiger, diesen Fehler vollständig auszuschliessen.
Comment 3 Arvid Requate univentionstaff 2012-04-03 10:21:19 CEST
Advisory: 2012-04-03-univention-samba4.yaml
Comment 4 Janek Walkenhorst univentionstaff 2012-04-03 11:09:55 CEST
Vorher tritt ein Traceback auf:
# LC_ALL=en_US.UTF-8 /usr/share/univention-samba4/scripts/mount_extfs_with_user_xattr.py
Traceback (most recent call last):
  File "/usr/share/univention-samba4/scripts/mount_extfs_with_user_xattr.py", line 55, in <module>
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

nach dem Update auf 1.0.126-3.255.201204031006 tritt der Traceback nicht mehr auf.

YAML ist ok
Comment 5 Janek Walkenhorst univentionstaff 2012-11-09 16:21:06 CET
http://errata.univention.de/errata49.html