Univention Bugzilla – Full Text Bug Listing |
Summary: | Broken not-synchronized LDAP server on memberserver after system-setup | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | System setup | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, jmm, wiesenthal |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-1-errata | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=33678 | ||
What kind of report is it?: | --- | 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: | |||
Bug Depends on: | 29757, 29759 | ||
Bug Blocks: | 29805 |
Description
Philipp Hahn
2014-02-26 13:17:13 CET
Purging slapd fails with the following error output, since univention-ldap-server got purged before slapd, which UCR-de-diverted /etc/init.d/slapd but did not undo
/usr/lib/univention-install/01univention-ldap-server-init.inst: mv "/etc/ldap/slapd.d/cn=config.ldif" "/etc/ldap/slapd.d/cn=config.ldif.DISABLED"
> Entfernen von slapd ...
> sed: kann /etc/ldap/slapd.d/cn=config.ldif nicht lesen: Datei oder Verzeichnis nicht gefunden
> invoke-rc.d: initscript slapd, action "stop" failed.
> dpkg: Fehler beim Bearbeiten von slapd (--purge):
> Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 2 zurück
> configured to not write apport reports
> Multifile: /etc/ldap/slapd.conf
> Backing up /etc/ldap/slapd.conf in /var/backups/slapd-... done.
# bash -x /etc/init.d/slapd stop
...
++ sed -ne 's/^olcPidFile:[[:space:]]\+\(.\+\)[[:space:]]*/\1/p' /etc/ldap/slapd.d/cn=config.ldif
# ls -1 /etc/ldap/slapd.d/
cn=config
cn=config.ldif.DISABLED
Removed the following dependency in univention-directory-manager-modules 9.0.75-22.1180.201404071416 univention-ldap-server (>=10.0.17-4) | univention-server-member | univention-basesystem This was introduced along with the settings/udm_module module in 3.2-0. Not needed anymore and it lead to apt not recognizing slapd as auto-removable r49161: I had to adjust 00_base/96rename_domain_admins because the slapd.conf is no longer available on the jenkins memberserver. OK: r49161 ucs-test/00/96 OK: r49120 udm-modules/d/control OK: dpkg --purge slapd OK: 3.2-1 + 9.0.75-22 + system/setup/boot/start=true + MemberServer → slapd=rc OK: ... + DC Master → slapd=ii |