Bug 15971 - Zyklische Paketabhängigkeiten - python-univention <-> univention-config-registry <-> univention-config
Zyklische Paketabhängigkeiten - python-univention <-> univention-config-regis...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.3
Assigned To: Sönke Schwardt-Krummrich
Stefan Gohmann
:
Depends on:
Blocks: 15905
  Show dependency treegraph
 
Reported: 2009-10-14 15:13 CEST by Sönke Schwardt-Krummrich
Modified: 2009-12-21 08:48 CET (History)
1 user (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 Sönke Schwardt-Krummrich univentionstaff 2009-10-14 15:13:08 CEST
Die Pakete python-univention <-> univention-config-registry <-> univention-config weisen zyklische Abhängigkeiten auf, welche entfernt werden sollten.
Comment 1 Stefan Gohmann univentionstaff 2009-10-19 06:51:18 CEST
Das chfn-Problem besteht bei der aktuellen DVD noch:

Setting up slapd (2.4.15-1.1.18.200910061727) ...
  Creating new user openldap... chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f OpenLDAP Server Account openldap' returned error code 1. Exiting.
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment 2 Stefan Gohmann univentionstaff 2009-10-19 06:56:26 CEST
(In reply to comment #1)
> Das chfn-Problem besteht bei der aktuellen DVD noch:
> 
> Setting up slapd (2.4.15-1.1.18.200910061727) ...
>   Creating new user openldap... chfn: PAM authentication failed
> adduser: `/usr/bin/chfn -f OpenLDAP Server Account openldap' returned error
> code 1. Exiting.
> dpkg: error processing slapd (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  slapd
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Das Problem tritt auch bei einer Neuinstallation auf.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2009-10-21 15:42:20 CEST
(In reply to comment #1)
> Das chfn-Problem besteht bei der aktuellen DVD noch:
> 
> Setting up slapd (2.4.15-1.1.18.200910061727) ...
>   Creating new user openldap... chfn: PAM authentication failed
> adduser: `/usr/bin/chfn -f OpenLDAP Server Account openldap' returned error
> code 1. Exiting.
> dpkg: error processing slapd (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  slapd
> E: Sub-process /usr/bin/dpkg returned an error code (1)

In univention-pam wurde im Preinst über den UCR-Debhelper alle vorhandenen PAM-Stack-Dateien wegdiverted. Die entsprechenden UCR-Templates wurden aber erst viel später im Postinst comitted. In der Zwischenzeit wurde das Postinst von anderen Paketen durchlaufen (z.B. slapd).
Das preinst von univention-pam kopiert die Dateien nach dem divert jetzt wieder zurück, so daß bis zum Commit im Postinst noch der alte aber gültige PAM-Stack verwendet werden kann.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2009-10-21 15:49:27 CEST
Die zyklischen Abhängigkeiten wurden aufgelöst:
- univention-config hat nur noch eine einfache Abhängigkeit auf 
  python-univention-config-registry
- univention-directory-notifier hat nur noch eine einfache Abhängigkeit auf 
  univention-ssl
- Predependency in univention-python wurde entfernt. Das Setzen einer 
  UCR-Variable im postinst wurde in das Paket univention-config-registry 
  verschoben.

Einige Pre-Dependencies im Thin-Clientbereich wurden entfernt.

Changelogeintrag ist comitted
Comment 5 Stefan Gohmann univentionstaff 2009-11-04 15:06:56 CET
Die Updates auf 2.3 liefen heute nacht problemlos durch.
Comment 6 Stefan Gohmann univentionstaff 2009-12-21 08:48:37 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".