Univention Bugzilla – Bug 38662
univention-join depends on nscd, but does not specify it
Last modified: 2015-11-17 12:12:07 CET
There are several nscd calls in univention-join and univention-server-join, but the package does not Depends: nscd. This leads to problems when trying to join a minimal UCS (periphery of docker). Either add the Depends: in debian/control or add a "if [ -x nscd ]". I vote for the first solution: Bug#30886 had something to do with nscd not being called. But maybe that bug does not apply when no nscd is installed at all...
(In reply to Dirk Wiesenthal from comment #0) > There are several nscd calls in univention-join and univention-server-join, > but the package does not Depends: nscd. nscd is optional, but IFF it is installed, its caches must be invalidated from time to time. > ... or add a "if [ -x nscd ]". Does not work, as "test" expects a fully qualified filename. Try that instead: if type nscd >/dev/null 2>&1 then nscd -i $TABLE fi
Fixed in univention-join 7.1.3-1.502.201506240048 (ucs-container) Done with "test -x /usr/sbin/nscd && " - as I found this snippet in other scripts in univention-join.
Merged to UCS 4.1 in univention-join (8.0.0-1)
Please add a changelog entry.
(In reply to Stefan Gohmann from comment #4) > Please add a changelog entry. Added
OK: commit 63009 OK: build to 4.1 OK: changelog entry
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".