Univention Bugzilla – Bug 38205
ucs_registerLDAPExtension requires the join script to be installed by a package
Last modified: 2015-11-17 12:11:56 CET
Docker apps call "outer" join scripts that do not live in any package. When this join script calls ucs_registerLDAPExtension this failes with: dpkg-query: Kein Pfad gefunden, der auf Muster /usr/lib/univention-install/xxx.inst passt ERROR: ucs_registerLDAPExtension: Unable to determine Debian package name ERROR: This function only works in joinscript or postinst context We need the function to work without the package name. If possible, I would prefer to just remove this requirement. Adding an option (like --debian-package-name) is okay, but would require to adjust every join script during migration.
Fixed in univention-lib_5.0.0-2.307.201509241708: The postinst / joinscript check is skipped when called as ucs_registerLDAPExtension --packagename foo --packageversion bar "$@" Changelog entry added.
OK, works. See Bug#39475 why we cannot use it at the moment. The App Center calls joinscripts via univention-run-joinscripts. I have added a line in the latest owncloud8-docker join script and commented it out.
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".