Bug 52485 - UCS 5.0 beta ISO: Package samba-dsdb-modules uninstalled, Samba provisioning fails.
UCS 5.0 beta ISO: Package samba-dsdb-modules uninstalled, Samba provisioning ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Arvid Requate
Jürn Brodersen
:
Depends on: 49898
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-11 22:59 CET by Arvid Requate
Modified: 2023-11-27 11:52 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2020-12-11 22:59:02 CET
With the current UCS 5.0 beta ISO Samba doesn't install properly. The Package samba-dsdb-modules in uninstalled.

When I install it manually, it pulls  libgpgme11 and samba-dsdb-modules


===========================================================================
Stopping samba-ad-dc (via systemctl): samba-ad-dc.service.
Stopping smbd (via systemctl): smbd.service.
Stopping nmbd (via systemctl): nmbd.service.
Create kerberos/kdc
Setting kerberos/kpasswdserver
File: /etc/krb5.conf
Create samba4/function/level
Multifile: /etc/samba/smb.conf
INFO 2020-12-11 12:02:01,374 pid:4236 /usr/lib/python3/dist-packages/samba/netcmd/domain.py #426: Administrator password will be set randomly!
INFO 2020-12-11 12:02:01,381 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2403: Looking up IPv4 addresses
INFO 2020-12-11 12:02:01,382 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2420: Looking up IPv6 addresses
WARNING 2020-12-11 12:02:01,382 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2427: No IPv6 address will be assigned
INFO 2020-12-11 12:02:01,654 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2571: Setting up share.ldb
INFO 2020-12-11 12:02:01,670 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2575: Setting up secrets.ldb
WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)
ERROR(ldb): uncaught exception - None
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 505, in run
    backend_store_size=backend_store_size)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 2577, in provision
    session_info=session_info, lp=lp)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1045, in setup_secretsdb
    secrets_ldb = Ldb(path, session_info=session_info, lp=lp)
  File "/usr/lib/python3/dist-packages/samba/__init__.py", line 115, in __init__
    self.connect(url, flags, options)
ERROR: Samba4 provision failed, exiting /usr/share/univention-samba4/scripts/setup-s4.sh
===========================================================================
Comment 1 Arvid Requate univentionstaff 2020-12-11 23:20:56 CET
31e742cccf | Make univention-samba4 depend on samba-dsdb-modules

No clue how it worked before. Even in 4.2 I can uninstall, as nothing explicitly depends on it. Only samba-common-bin recommends it. But itc ontains the core ldb modules that implement the AD behavior. So, it should be the right thing to let univention-samba4 depend on it. IIRC we had issues before, in cases where it got uninstalled. So, yeah, I think we should do this.

Successful build
Package: univention-samba4
Version: 9.0.5-1A~5.0.0.202012112316
Branch: ucs_5.0-0
Comment 2 Jürn Brodersen univentionstaff 2020-12-14 11:43:33 CET
Package has been copied to the dvd and has been installed -> OK
Comment 3 Florian Best univentionstaff 2021-05-25 16:02:36 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".