Univention Bugzilla – Bug 26359
Umstellung auf xattr bei Samba4-Migration kann scheitern
Last modified: 2012-11-09 16:40:18 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
Alternativ sollten wir das beim nächsten Errata-Update für univention-samba4 mit beheben.
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
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
http://errata.univention.de/errata47.html