Bug 26359 - Umstellung auf xattr bei Samba4-Migration kann scheitern
Umstellung auf xattr bei Samba4-Migration kann 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
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-05 14:32 CET by Ingo Steuwer
Modified: 2012-11-09 16:40 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 Ingo Steuwer univentionstaff 2012-03-05 14:32:48 CET
Aufgefallen an 2012022221000376

Beim Einspielen der Samba4-Pakete kann es scheinbar zu einem Problem beim Aktivieren der "xattr" kommen, Traceback aus der actualise.log:

Traceback (most recent call last):

  File "/usr/share/univention-samba4/scripts/mount_extfs_with_user_xattr.py", line 94, in <module>

    _modify_extfs_option(['user_xattr'])

  File "/usr/share/univention-samba4/scripts/mount_extfs_with_user_xattr.py", line 91, in _modify_extfs_option

    print _('Remounting partition failed: %s') % fstab_partition.spec

NameError: global name '_' is not defined



Die fstab sieht anschließend OK aus:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# /dev/sda5     /       ext3    acl,errors=remount-ro,noatime   0       1
UUID=14316f74-8a0f-4e1a-b823-5abf8346f956       /       ext3    acl,errors=remount-ro,noatime,user_xattr        0       1       
proc    /proc   proc    defaults        0       0       
# /dev/sda1  /var       ext3    defaults,acl,noatime    0       0
UUID=7917cd46-3695-498d-8b2f-daa4ecc6c202       /var    ext3    defaults,acl,noatime,user_xattr 0       0       
# /dev/sda3  /tmp       ext3    defaults,acl,noatime    0       0
UUID=b3634d4c-9764-479c-8b76-8b551df2662f       /tmp    ext3    defaults,acl,noatime,user_xattr 0       0       
# /dev/sda2  none       swap    sw 0    0
UUID=20ad2b2a-16be-4707-b87b-b969733fe94a       none    swap    sw      0       0       
# /dev/sdb1  /var/lib/univention-server-cdrom   ext3    defaults,acl,noatime    0       0
UUID=8d313510-e380-4fd3-9a30-73e168cdcb18       /var/lib/univention-server-cdrom        ext3    defaults,acl,noatime,user_xattr 0       0       
# /dev/hda  /cdrom     auto    user,noauto,exec             0       0
/dev/cdrom      /cdrom  auto    user,noauto,exec        0       0       
/dev/fd0        /floppy vfat    user,noauto,exec        0       0       
# /dev/sdc1  /var/lib/univention-repository       ext3    defaults,acl,noatime   0 0
UUID=88946e65-7a3c-4ea4-9664-42ab690c21d5       /var/lib/univention-repository  ext3    defaults,acl,noatime    0       0
Comment 1 Stefan Gohmann univentionstaff 2012-03-05 15:36:04 CET
Alternativ sollten wir das beim nächsten Errata-Update für univention-samba4 mit beheben.
Comment 2 Arvid Requate univentionstaff 2012-03-27 16:19:27 CEST
Es wird jetzt per univention.lib.Translation eine Übersetzungsfunktion definiert.
Das Update wird ohne ucs3.0-1 (über python-univention-lib Version) geblockt.
Advisory: 2012-03-27-univention-samba4.yaml
Comment 3 Stefan Gohmann univentionstaff 2012-03-29 11:52:56 CEST
Verified, die Fehlermeldung tritt nicht mehr auf.

* 3.0-0: OK
  * Update: Installation auf univention-samba4 wird geblockt: OK
* 3.0-1
  * Update: OK, Fehlermeldung tritt nicht mehr auf
* Code-Review: OK
* yaml: OK
Comment 4 Janek Walkenhorst univentionstaff 2012-11-09 16:40:18 CET
http://errata.univention.de/errata47.html