Univention Bugzilla – Bug 27168
98univention-samba4-dns.inst not called on post-install
Last modified: 2019-11-21 17:50:31 CET
Nach der Installation eines singlemaster waren die folgenden Join-Skripte noch nicht ausgeführt: 98univention-samba4-dns.inst 98univention-squid-samba4.inst Mit univention-run-join-scripts konnte die Skripte ausgeführt werden.
Das tritt auch auf UCS Systemen auf. In internen Testumgebungen und bereits bei Kunden beobachtet. Z.B.: Ticket#: 2012053121002431
Ich konnte es soeben auch auf einem Kundensystem reproduzieren. Das Ausführen von "univention-run-join-scripts" schlug auch fehl: Running 98univention-samba4-dns.inst failed (exitcode: 1) Gibt es noch einen anderen Lösungsvorschlag?
In diesem Bug geht es nur darum, dass die Join Skripte beim Nachinstallieren von Samba 4 nicht automatisch ausgeführt werden. (In reply to comment #2) > Ich konnte es soeben auch auf einem Kundensystem reproduzieren. Das Ausführen > von "univention-run-join-scripts" schlug auch fehl: > Running 98univention-samba4-dns.inst failed (exitcode: 1) > > Gibt es noch einen anderen Lösungsvorschlag? Es müsste ein Hinweis in /var/log/univention/join.log stehen. Am besten alles weitere über Forum oder über unseren Support: http://forum.univention.de
*** Bug 27910 has been marked as a duplicate of this bug. ***
Alternatively the univention-s4-connector.postinst could also run the univention-samba4-dns joinscript on a master.
Created attachment 7449 [details] console dump # univention-install univention-samba4 univention-s4-connector ... Vormals nicht ausgewähltes Paket univention-samba4 wird gewählt. ... Joinscript 31univention-nagios-s4-connector.inst finished with exitcode 0 ... Joinscript 96univention-samba4.inst finished with exitcode 0 ... Joinscript 97univention-s4-connector.inst finished with exitcode 0 ... # univention-check-join-status Warning: 'univention-samba4-dns' is not configured. Error: Not all install files configured: 1 missing # dpkg -S univention-samba4-dns univention-samba4: /usr/lib/univention-install/98univention-samba4-dns.inst # grep -n call_joinscript /var/lib/dpkg/info/univention-samba4.postinst 349:call_joinscript 96univention-samba4.inst # univention-run-join-scripts ... Running 98univention-samba4-dns.inst done So why is it not called by default from any .postinst?
> Alternatively the univention-s4-connector.postinst could also run the univention-samba4-dns joinscript on a master 98univention-samba4-dns.inst is part of the package univention-samba4 but it needs to be run after there is a S4-Connector running in the Domain.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.