Bug 22431 - LDAP/Management Pakete übernehmen
LDAP/Management Pakete übernehmen
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 3.0 - MS1
Assigned To: Stefan Gohmann
Arvid Requate
:
: 23061 (view as bug list)
Depends on:
Blocks: 23205
  Show dependency treegraph
 
Reported: 2011-05-06 06:38 CEST by Stefan Gohmann
Modified: 2011-12-13 15:50 CET (History)
6 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2011-05-06 06:38:25 CEST
Die LDAP Pakete aus UCS 2.4 sollen übernommen werden:
* univention-ldap
* univention-ldap-localgroups
* univention-ldap-overlay-memberof
Comment 1 Stefan Gohmann univentionstaff 2011-05-06 06:54:56 CEST
Das sollte ebenfalls direkt übernommen werden:

* univention-admingrp-user-passwordreset
Comment 2 Stefan Gohmann univentionstaff 2011-05-06 09:13:52 CEST
(In reply to comment #0)
> * univention-ldap

univention-ldap ist jetzt im svn, hier fehlt noch die Aktivierung von ucslint: Bug #22092.
Comment 3 Stefan Gohmann univentionstaff 2011-05-06 10:18:43 CEST
(In reply to comment #0)
> * univention-ldap-overlay-memberof

Ist in 3.0 übernommen.
Comment 4 Stefan Gohmann univentionstaff 2011-05-06 10:30:13 CEST
(In reply to comment #0)
> Die LDAP Pakete aus UCS 2.4 sollen übernommen werden:
> * univention-ldap-localgroups

Das Paket wurde bisher nur als unmaintained ausgeliefert und ist insgesamt in keinem guten Zustand. Das Paket wird zu UCS 3.0 nicht übernommen und im Rahmen von Bug #3567 für UCD 3.2 neu implementiert.
Comment 5 Stefan Gohmann univentionstaff 2011-05-06 11:27:03 CEST
(In reply to comment #1)
> * univention-admingrp-user-passwordreset

Ist übernommen.

Alle Pakete müssen noch gebaut und getestet werden.
Comment 6 Stefan Gohmann univentionstaff 2011-05-06 11:42:02 CEST
Die folgenden Pakete sollte ebenfalls übernommen werden:
 univention-directory-listener
 univention-directory-logger
 univention-directory-notifier
 univention-directory-policy
 univention-directory-replication
 univention-directory-reports
 univention-join
Comment 7 Stefan Gohmann univentionstaff 2011-05-06 12:02:17 CEST
(In reply to comment #6)
> Die folgenden Pakete sollte ebenfalls übernommen werden:
>  univention-directory-listener

Der Listener baut derzeit gegen libdb3. Das ist in squeeze nicht mehr vorhanden. 

Möglichkeiten:

1. Der Listener in UCS 3 wird gegen db4.x gebaut und im listener selbst wird eine Konvertierung der Daten (falls notwendig) durchgeführt.

2. Wir bauen libdb3 auch in UCS 3.0.

Sofern der Aufwand im Rahmen bleibt sollten wir die erste Variante umsetzen.
Comment 8 Moritz Muehlenhoff univentionstaff 2011-05-06 12:12:56 CEST
> Der Listener baut derzeit gegen libdb3. Das ist in squeeze nicht mehr
> vorhanden. 
> 
> Möglichkeiten:
> 
> 1. Der Listener in UCS 3 wird gegen db4.x gebaut und im listener selbst wird
> eine Konvertierung der Daten (falls notwendig) durchgeführt.
> 
> 2. Wir bauen libdb3 auch in UCS 3.0.
> 
> Sofern der Aufwand im Rahmen bleibt sollten wir die erste Variante umsetzen.

Wenn die erste Variante umgesetzt wird, am besten direkt auf libdb4.8-dev, siehe
http://wiki.debian.org/BerkeleyDB
Comment 9 Stefan Gohmann univentionstaff 2011-05-09 08:05:16 CEST
(In reply to comment #7)
> (In reply to comment #6)
> > Die folgenden Pakete sollte ebenfalls übernommen werden:
> >  univention-directory-listener
> 
> Der Listener baut derzeit gegen libdb3. Das ist in squeeze nicht mehr
> vorhanden. 
> 
> Möglichkeiten:
> 
> 1. Der Listener in UCS 3 wird gegen db4.x gebaut und im listener selbst wird
> eine Konvertierung der Daten (falls notwendig) durchgeführt.
> 
> 2. Wir bauen libdb3 auch in UCS 3.0.
> 
> Sofern der Aufwand im Rahmen bleibt sollten wir die erste Variante umsetzen.

Der Build gegen db-4.8 war jetzt erfolgreich, es fehlen aber noch Tests, auch im Bereich der DB-Migration.
Comment 10 Arvid Requate univentionstaff 2011-05-17 13:28:53 CEST
univention-directory-manager cli funktioniert aktuell nicht, weil die Datei univention-directory-manager-modules/debian/univention-directory-manager-tools.install   die Skripte nicht korrekt installiert:


root@qamaster:~# ls -l /usr/share/univention-directory-manager-tools/univention-cli-*
/usr/share/univention-directory-manager-tools/univention-cli-client:
insgesamt 4
-rwxr-xr-x 1 root root 3817  9. Mai 2011  univention-cli-client

/usr/share/univention-directory-manager-tools/univention-cli-server:
insgesamt 12
-rwxr-xr-x 1 root root 9040  9. Mai 2011  univention-cli-server
Comment 11 Stefan Gohmann univentionstaff 2011-05-17 13:30:29 CEST
(In reply to comment #10)
> univention-directory-manager cli funktioniert aktuell nicht, weil die Datei
> univention-directory-manager-modules/debian/univention-directory-manager-tools.install
>   die Skripte nicht korrekt installiert:
> 
> 
> root@qamaster:~# ls -l
> /usr/share/univention-directory-manager-tools/univention-cli-*
> /usr/share/univention-directory-manager-tools/univention-cli-client:
> insgesamt 4
> -rwxr-xr-x 1 root root 3817  9. Mai 2011  univention-cli-client
> 
> /usr/share/univention-directory-manager-tools/univention-cli-server:
> insgesamt 12
> -rwxr-xr-x 1 root root 9040  9. Mai 2011  univention-cli-server

In der aktuellen Version sollte das behoben sein.

Zusätzlich wurden noch ein paar import-Probleme behoben.
Comment 12 Stefan Gohmann univentionstaff 2011-05-18 15:12:53 CEST
univention-heimdal sollte auch übernommen werden.
Comment 13 Stefan Gohmann univentionstaff 2011-05-19 08:29:30 CEST
(In reply to comment #12)
> univention-heimdal sollte auch übernommen werden.

Ist übernommen
Comment 14 Arvid Requate univentionstaff 2011-05-23 10:00:20 CEST
Bei univention-heimdal sollten die ERweiterung aus dem samba4-Scope mit übernommen werden.
Comment 15 Stefan Gohmann univentionstaff 2011-05-25 06:39:08 CEST
(In reply to comment #14)
> Bei univention-heimdal sollten die ERweiterung aus dem samba4-Scope mit
> übernommen werden.

Siehe Bug #22600.
Comment 16 Philipp Hahn univentionstaff 2011-05-26 11:20:26 CEST
Beim (Teil-)Update war noch eine alte shell-univention-lib installiert:

/var/lib/dpkg/info/univention-directory-listener.postinst: line 39: create_logfile: command not found
/var/lib/dpkg/info/univention-directory-listener.postinst: line 86: call_joinscript: command not found

Da fehlt dann eine Versionsnummer in der debian/control:Depends: shell-univention-lib (>= 1.0.6)

Siehe auch Bug #21579.
Comment 17 Sönke Schwardt-Krummrich univentionstaff 2011-07-15 12:44:58 CEST
Bitte nach der Übernahme von univention-directory-replication im Paket ucs/packaging/univention-dependency-dummy das Provides für univention-directory-replication entfernen und das Paket neu bauen.
Comment 18 Janek Walkenhorst univentionstaff 2011-07-15 14:44:09 CEST
univention-run-join-scripts ist nicht ausführbar:
lrwxrwxrwx 1 root root /usr/sbin/univention-run-join-scripts
-rw-r--r-- 1 root root /usr/share/univention-join/univention-run-join-scripts
Eventuell sollte usr/share der Link auf usr/sbin sein.

univention-check-join-status und univention-join sollten auch geprüft werden.
Comment 19 Stefan Gohmann univentionstaff 2011-07-25 16:08:00 CEST
*** Bug 23061 has been marked as a duplicate of this bug. ***
Comment 20 Felix Botner univentionstaff 2011-08-04 13:28:21 CEST
Beim Löschen eines UDM Objekt (dns/host_record) sehe ich folgendes in der listener.log (debug level 3)

04.08.11 13:27:11.741  LISTENER    ( ERROR   ) : New ID (203) is not greater than old ID (203): relativeDomainName=test,zoneName=drei,cn=dns,dc=drei




04.08.11 13:27:11.732  LISTENER    ( INFO    ) : notifier returned = id: 203    dn: relativeDomainName=test,zoneName=drei,cn=dns,dc=drei     cmd: d
04.08.11 13:27:11.732  LDAP        ( INFO    ) : connecting to ldap://master.drei:7389/
04.08.11 13:27:11.736  LDAP        ( INFO    ) : simple_bind as cn=admin,dc=drei
04.08.11 13:27:11.738  LISTENER    ( INFO    ) : updating relativeDomainName=test,zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : delete handlers for relativeDomainName=test,zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: mailrelay (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: nscd_update (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: homedirs (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: gencertificate (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: passwdcache (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: ldap_server (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: nfs-shares (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: keytab-member (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: keytab (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: dhcp (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: bind (skipped)
04.08.11 13:27:11.739  LISTENER    ( INFO    ) : handler: faillog (successful)
04.08.11 13:27:11.740  LISTENER    ( INFO    ) : deleted from cache: relativeDomainName=test,zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.741  LISTENER    ( ERROR   ) : New ID (203) is not greater than old ID (203): relativeDomainName=test,zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.741  LISTENER    ( INFO    ) : notifier returned = id: 204    dn: zoneName=drei,cn=dns,dc=drei        cmd: m
04.08.11 13:27:11.741  LISTENER    ( INFO    ) : updating zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.742  LISTENER    ( INFO    ) : running handlers for zoneName=drei,cn=dns,dc=drei
04.08.11 13:27:11.749  LISTENER    ( INFO    ) : handler: bind (successful)
04.08.11 13:27:11.750  LISTENER    ( INFO    ) : handler: faillog (successful)
Comment 21 Stefan Gohmann univentionstaff 2011-08-05 10:36:31 CEST
(In reply to comment #9) 
> Der Build gegen db-4.8 war jetzt erfolgreich, es fehlen aber noch Tests, auch
> im Bereich der DB-Migration.

Derzeit gibt es Probleme nach dem Joinen eines Slaves. Beim ersten Start des Listeners nach den Joinen gibt es DB-Fehlermeldungen in der listener.log:

05.08.11 03:12:00.274  LISTENER    ( ERROR   ) : connection okay to host ucs3.deadlock0.local
05.08.11 03:12:01.507  LISTENER    ( ERROR   ) : database error: Log sequence error: page LSN 1 3466829; previous LSN 1 6770245
05.08.11 03:12:01.515  LISTENER    ( ERROR   ) : database error: Recovery function for LSN 1 6770313 failed on forward pass
05.08.11 03:12:01.515  LISTENER    ( ERROR   ) : database error: PANIC: Invalid argument
Comment 22 Stefan Gohmann univentionstaff 2011-08-09 09:04:29 CEST
(In reply to comment #21)
> (In reply to comment #9) 
> > Der Build gegen db-4.8 war jetzt erfolgreich, es fehlen aber noch Tests, auch
> > im Bereich der DB-Migration.
> 
> Derzeit gibt es Probleme nach dem Joinen eines Slaves. Beim ersten Start des
> Listeners nach den Joinen gibt es DB-Fehlermeldungen in der listener.log:
> 
> 05.08.11 03:12:00.274  LISTENER    ( ERROR   ) : connection okay to host
> ucs3.deadlock0.local
> 05.08.11 03:12:01.507  LISTENER    ( ERROR   ) : database error: Log sequence
> error: page LSN 1 3466829; previous LSN 1 6770245
> 05.08.11 03:12:01.515  LISTENER    ( ERROR   ) : database error: Recovery
> function for LSN 1 6770313 failed on forward pass
> 05.08.11 03:12:01.515  LISTENER    ( ERROR   ) : database error: PANIC: Invalid
> argument

Dafür wurde Bug #23205 angelegt.
Comment 23 Stefan Gohmann univentionstaff 2011-08-09 14:21:13 CEST
(In reply to comment #17)
> Bitte nach der Übernahme von univention-directory-replication im Paket
> ucs/packaging/univention-dependency-dummy das Provides für
> univention-directory-replication entfernen und das Paket neu bauen.

Wurde entfernt.

(In reply to comment #16)

> Beim (Teil-)Update war noch eine alte shell-univention-lib installiert:
> 
> /var/lib/dpkg/info/univention-directory-listener.postinst: line 39:
> create_logfile: command not found
> /var/lib/dpkg/info/univention-directory-listener.postinst: line 86:
> call_joinscript: command not found
> 
> Da fehlt dann eine Versionsnummer in der debian/control:Depends:
> shell-univention-lib (>= 1.0.6)
> 
> Siehe auch Bug #21579.

Wurde angepasst.
Comment 24 Arvid Requate univentionstaff 2011-08-10 15:41:13 CEST
univention-directory-logger ist noch nicht für ucs_3.0-0 gebaut, nur eingecheckt.


Für ucs_3.0-0 sind gebaut:

univention-ldap                        8.0.22-1.427.201108091323  ucs_3.0-0
univention-ldap-overlay-memberof       4.0.2-1.16.201108091318    ucs_3.0-0
univention-admingrp-user-passwordreset 2.0.1-1.12.201106071014    ucs_3.0-0
univention-directory-listener          6.0.6-1.120.201108051037   ucs_3.0-0
univention-directory-notifier          6.0.3-1.49.201107290734    ucs_3.0-0
univention-directory-policy            5.0.2-1.38.201106071537    ucs_3.0-0
univention-directory-replication       5.0.2-1.45.201108051014    ucs_3.0-0
univention-directory-reports           4.0.4-1.60.201107251559    ucs_3.0-0
univention-join                        4.0.12-2.322.201108091409  ucs_3.0-0
univention-heimdal                     5.0.3-3.94.201108021525    ucs_3.0-0

Die in Comment18 angesprochenen Skripte werden jetzt korrekt installiert und nach /usr/sbin verlinkt.

Comment 15 ist hier irrelevant, er bezieht sich auf das Paket univention-python-heimdal, das über Bug 22520 und 22580 übernommen worden ist.

Changelog Eintrag ist vorhanden.
Comment 25 Stefan Gohmann univentionstaff 2011-08-10 16:35:20 CEST
(In reply to comment #24)
> univention-directory-logger ist noch nicht für ucs_3.0-0 gebaut, nur
> eingecheckt.

Ist jetzt gebaut, es scheint aber noch ein Problem mit dem Listener zu geben: Bug #23257
Comment 26 Arvid Requate univentionstaff 2011-08-10 17:33:14 CEST
Verified, univention-directory-logger  4.0.1-1.25.201108101615  ist jetzt auch für ucs_3.0 gebaut.
Comment 27 Stefan Gohmann univentionstaff 2011-11-16 18:06:00 CET
Die Datei univention-user-passwd wurde noch entfernt.
Comment 28 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:50:31 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"