Bug#696838: samba4: Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': No such file or directory

2012-12-27 Thread Bruno Bigras
Package: samba4
Version: 4.0.0+dfsg1-1
Severity: important

Dear Maintainer,

When I try to install Samba 4, I got :
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory

I have the same problem on Ubuntu. See 
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1091348


Here's what I did :

bbigras@debian:~$ env LANG=C sudo apt-get -t experimental install samba4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  phpldapadmin samba-gtk swat2 ntp
The following NEW packages will be installed:
  samba4
0 upgraded, 1 newly installed, 0 to remove and 42 not upgraded.
Need to get 0 B/1722 kB of archives.
After this operation, 11.2 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package samba4.
(Reading database ... 27263 files and directories currently installed.)
Unpacking samba4 (from .../samba4_4.0.0+dfsg1-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up samba4 (4.0.0+dfsg1-1) ...
Administrator password will be set randomly!
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=localdomain
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': 
/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object 
file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module 

Bug#617229: patch

2011-10-02 Thread Bruno Bigras
Package: lfm
Version: 2.2-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Here's a patch I submited to Ubuntu that may help you too.


*** /tmp/tmp1SIIl8
In Ubuntu, the attached patch was applied to achieve the following:

This bug was fixed upstream in
https://bitbucket.org/inigoserna/lfm/changeset/8d2021770794



  * Fix a crash at startup, because of UnicodeDecodeError (LP: #786491)


Thanks for considering the patch.



-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty'), 
(100, 'natty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/fix-lp786491.patch'
--- debian/patches/fix-lp786491.patch   1970-01-01 00:00:00 +
+++ debian/patches/fix-lp786491.patch   2011-10-03 05:18:24 +
@@ -0,0 +1,34 @@
+Description: Fix an UnicodeDecodeError by using decode() instead of str()
+Origin: upstream, https://bitbucket.org/inigoserna/lfm/changeset/8d2021770794
+Forwarded: not-needed
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lfm/+bug/786491
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617229
+Index: lfm-2.2/lfm/files.py
+===
+--- lfm-2.2.orig/lfm/files.py  2011-09-17 22:07:32.049362240 -0400
 lfm-2.2/lfm/files.py   2011-09-17 22:08:21.719435092 -0400
+@@ -152,11 +152,11 @@
+ try:
+ owner = pwd.getpwuid(st[stat.ST_UID])[0]
+ except:
+-owner = str(st[stat.ST_UID])
++owner = decode(st[stat.ST_UID])
+ try:
+ group = grp.getgrgid(st[stat.ST_GID])[0]
+ except:
+-group = str(st[stat.ST_GID])
++group = decode(st[stat.ST_GID])
+ return (typ, stat.S_IMODE(st[stat.ST_MODE]), owner, group,
+ size, st[stat.ST_MTIME])
+ 
+@@ -228,8 +228,8 @@
+ else:
+ mtime = time.strftime('%a  %d %b %Y', 
time.localtime(filevalues[FT_MTIME]))
+ mtime2 = time.strftime('%d %b  %Y', 
time.localtime(filevalues[FT_MTIME]))
+-res['mtime'] = mtime
+-res['mtime2'] = mtime2
++res['mtime'] = decode(mtime)
++res['mtime2'] = decode(mtime2)
+ return res
+ 
+