Univention Bugzilla – Bug 33972
Incomplete samba 4 package dependencies
Last modified: 2014-04-09 08:24:18 CEST
The installation of an UCS@school DC slave fails if the current test errata scope is enabled and samba 4 will be installed with the UCS@schoon installer. From the join log: ------------------------------------------------------------------------ Error loading module '/usr/lib//samba/vfs/acl_xattr.so': /usr/lib//samba/vfs/acl_xattr.so: symbol lp_acl_xattr_update_mtime, version SMBCONF_0 not defined in file libsmbconf.so.0 with link time reference error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL smbd_vfs_init: vfs_init_custom failed for acl_xattr create_conn_struct: smbd_vfs_init failed. ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option. File "/usr/lib/python2.6/dist-packages/samba/netcmd/domain.py", line 401, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File "/usr/lib/python2.6/dist-packages/samba/provision/__init__.py", line 2052, in provision raise ProvisioningError("Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option.") Samba4 provision failed, exiting /usr/share/univention-samba4/scripts/setup-s4.sh Wed Jan 22 14:39:54 CET 2014: finish /usr/sbin/univention-join ------------------------------------------------------------------------ The problem is the mix of samba 4 packages (samba 4 is the latest build, libsmb0 is from the previous one): ------------------------------------------------------------------------ ii libdcerpc-server0 2:4.1.0-1.605.201401071748 DCE/RPC server library ii libdcerpc0 2:4.1.0-1.603.201312021337 DCE/RPC client library ii libgensec0 2:4.1.0-1.605.201401071748 Generic Security Library ii libndr-standard0 2:4.1.0-1.603.201312021337 Standard NDR interfaces ii libndr0 2:4.1.0-1.603.201312021337 NDR marshalling library ii libnetapi0 2:4.1.0-1.605.201401071748 shared library for administrative communication with DCE/RPC servers ii libregistry0 2:4.1.0-1.603.201312021337 Registry library ii libsamba-credentials0 2:4.1.0-1.603.201312021337 Samba Credentials management library ii libsamba-hostconfig0 2:4.1.0-1.605.201401071748 Samba host configuration library ii libsamba-policy0 2:4.1.0-1.603.201312021337 Samba policy management ii libsamba-util0 2:4.1.0-1.605.201401071748 Samba utility function library ii libsamdb0 2:4.1.0-1.603.201312021337 SAM database ii libsmbclient 2:4.1.0-1.603.201312021337 shared library for communication with SMB/CIFS servers ii libsmbclient-raw0 2:4.1.0-1.603.201312021337 SMB client library ii libsmbd0 2:4.1.0-1.605.201401071748 Samba file server libraries and plugins ii libwbclient0 2:4.1.0-1.605.201401071748 Samba winbind client library ii python-samba 2:4.1.0-1.605.201401071748 Python bindings for Samba ii python-samba4 2:4.1.0-1.605.201401071748 Samba file server libraries and plugins ii samba 2:4.1.0-1.605.201401071748 SMB/CIFS file, print, and login server for Unix ii samba-ad-dc 2:4.1.0-1.605.201401071748 SMB/CIFS file, NT domain and active directory server ii samba-common 2:4.1.0-1.605.201401071748 common files used by both the Samba server and client ii samba-common-bin 2:4.1.0-1.605.201401071748 Samba common files used by both the server and the client ii samba-dsdb-modules 2:4.1.0-1.603.201312021337 Samba Directory Services Database ii samba4 2:4.1.0-1.605.201401071748 SMB/CIFS file, NT domain and active directory server (version 4) ii samba4-clients 2:4.1.0-1.605.201401071748 client utilities from Samba ii smbclient 2:4.1.0-1.605.201401071748 command-line SMB/CIFS clients for Unix ii winbind 2:4.1.0-1.605.201401071748 service to resolve user and group information from Windows NT servers ------------------------------------------------------------------------ An upgrade would update the packages: ------------------------------------------------------------------------ root@slave222:/var/lib/samba# apt-get upgrade -s | grep '2:4.1.0-1.' Inst libndr0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libndr-standard0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libsamba-credentials0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libsmbclient-raw0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libsmbclient [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libsamdb0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libdcerpc0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libregistry0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst libsamba-policy0 [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Inst samba-dsdb-modules [2:4.1.0-1.603.201312021337] (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libndr0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libndr-standard0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libsamba-credentials0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libsmbclient-raw0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libsmbclient (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libsamdb0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libdcerpc0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libregistry0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf libsamba-policy0 (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) Conf samba-dsdb-modules (2:4.1.0-1.605.201401071748 Univention:testing.univention.de [amd64]) root@slave222:/var/lib/samba# ------------------------------------------------------------------------
I guess we should merge these commits from the debian packaging git (committed for the debian 2:4.0.9+dfsg-1 package): http://anonscm.debian.org/gitweb/?p=pkg-samba/samba.git;a=commitdiff;h=242e57d2b728d5084bed860db0c4e59493770a10 http://anonscm.debian.org/gitweb/?p=pkg-samba/samba.git;a=commitdiff;h=1e4ae3c0366425c4c57e0e817ec15ae53c5fdc00 and if that works we might also (need to) clean up the manual dependencies: http://anonscm.debian.org/gitweb/?p=pkg-samba/samba.git;a=commitdiff;h=67b3db20c7a7288a822cd1eec7b5cb27f0c11dc9
Should be fixed now. Advisory: 2014-01-08-samba.yaml
* Samba packages in buildsystem2/apt/ucs_3.2-0-errata3.2-0 removed, replaced by packages in mirror/ftp/3.2/*/component/3.2-0-errata. * Patches added to 2:4.1.0-1-errata3.2-1 * Patches removed from 2:4.1.0-1-errata3.2-0 * Advisory moved to ucs-3.2-1/doc/errata/staging/2014-01-08-samba.yaml
* Samba packages in buildsystem2/apt/ucs_3.2-0-ucs3.2-1 removed, replaced by packages in mirror/ftp/3.2/*/component/3.2-0-errata. * Scope errata3.2-1 created based on ucs3.2-1 * Package cherry-picked from errata3.2-0 to errata3.2-1 * Pacakge built in errata3.2-1 * Advisory updated
OK UCS 3.2-1 Master and Slave before installing ucs@school on the slave, i added the ucs_3.2-0-errata3.2-1 repo to the sources.list. After installing ucs@school with samba4, all samba packages were from the last build (and no more updates available) OK - YAML
http://errata.univention.de/ucs/3.2/81.html