Bug 25706 - Übernahme des Pakets ucs-school-umc-helpdesk
Übernahme des Pakets ucs-school-umc-helpdesk
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Helpdesk
UCS@school for UCS 2.4
Other Linux
: P5 normal (vote)
: UCS@school 3.0 MS1
Assigned To: Andreas Büsching
Florian Best
:
Depends on: 27275
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-03 17:36 CET by Sönke Schwardt-Krummrich
Modified: 2012-06-11 06:30 CEST (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
updater.log.gz (215.95 KB, application/x-gzip)
2012-03-27 09:37 CEST, Felix Botner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2012-01-03 17:36:52 CET
Für UCS@school 3.0 muss das Paket nach UCS 3.0 übernommen und entsprechend
umgestellt werden:
- Python 2.6
- bash/dash
- anonymous bind
- Restrukturierung der UMC-Komponente
- ...
Comment 1 Andreas Büsching univentionstaff 2012-01-31 08:24:20 CET
Das Paket ist soweit übernommen. Es wird aber noch etwas an der LDAP-Verbindung geändert-
Comment 2 Andreas Büsching univentionstaff 2012-01-31 08:33:39 CET
Die Kategorie muss auch noch angepasst werden
Comment 3 Andreas Büsching univentionstaff 2012-02-01 15:49:19 CET
(In reply to comment #1)
> Das Paket ist soweit übernommen. Es wird aber noch etwas an der LDAP-Verbindung
> geändert-

Das wurde angepasst

(In reply to comment #2)
> Die Kategorie muss auch noch angepasst werden

ist korrigiert
Comment 4 Alexander Kläser univentionstaff 2012-03-05 16:09:55 CET
Das Modul wird nun der Unterrichtskategorie zugeordnet.


 ucs-school-umc-helpdesk (6.0.3-1) unstable; urgency=low
 .
   * changed module category; Bug #25706
Comment 5 Jascha Geerds univentionstaff 2012-03-14 15:57:58 CET
Änderungen wurden vorgenommen; es fehlt jedoch (wie abgesprochen) der Changelogeintrag.
Comment 6 Andreas Büsching univentionstaff 2012-03-14 16:29:19 CET
(In reply to comment #5)
> Änderungen wurden vorgenommen; es fehlt jedoch (wie abgesprochen) der
> Changelogeintrag.

Hierfür gibt es keinen,d a sich an dem Paket nichts geändert hat
Comment 7 Jascha Geerds univentionstaff 2012-03-14 16:29:52 CET
Verified
Comment 8 Felix Botner univentionstaff 2012-03-27 09:37:55 CEST
Created attachment 4287 [details]
updater.log.gz

Beim Update gibt es noch Probleme. Hier kennt der UDM settings/console_helpdesk noch nicht (cli neu gestartet?)

ucs-school-umc-helpdesk (6.0.5-1.21.201203141353) wird eingerichtet ...
Object exists: cn=UMC,cn=univention,dc=univention,dc=qa
Object exists: cn=UMC,cn=policies,dc=univention,dc=qa
Object exists: cn=operations,cn=UMC,cn=univention,dc=univention,dc=qa
Object exists: cn=default-umc-all,cn=UMC,cn=policies,dc=univention,dc=qa
WARNING: cannot append cn=default-umc-all,cn=UMC,cn=policies,dc=univention,dc=qa to univentionPolicyReference, value exists
No modification: cn=Domain Admins,cn=groups,dc=univention,dc=qa
Object created: cn=helpdesk-all,cn=operations,cn=UMC,cn=univention,dc=univention,dc=qa
Object created: cn=config,cn=UMC,cn=univention,dc=univention,dc=qa
unknown module settings/console_helpdesk.

Available Modules are:
  computers/computer
  computers/domaincontroller_backup
  computers/domaincontroller_master
  computers/domaincontroller_slave
  computers/ipmanagedclient
  computers/macos
  computers/managedclient
Comment 9 Andreas Büsching univentionstaff 2012-05-07 14:41:07 CEST
(In reply to comment #8)
> Beim Update gibt es noch Probleme. Hier kennt der UDM settings/console_helpdesk
> noch nicht (cli neu gestartet?)

Das war eigentlich schon eingebaut, aber ich habe es jetzt nochmal auf die Funktion aus der Univention lib umgestellt.

> ucs-school-umc-helpdesk (6.0.5-1.21.201203141353) wird eingerichtet ...

Die Version ist auch schon älter.
Comment 10 Alexander Kläser univentionstaff 2012-05-08 10:45:38 CEST
Nach einer neuen Installation fehlten die Helpdesk-Kategorien:

  udm settings/console_helpdesk list

→ zeigt eine leere Liste.
Comment 11 Felix Botner univentionstaff 2012-05-16 10:34:31 CEST
(In reply to comment #10)
> Nach einer neuen Installation fehlten die Helpdesk-Kategorien:
> 
>   udm settings/console_helpdesk list
> 
> → zeigt eine leere Liste.

ucs-school-umc-helpdesk (6.0.9-2.26.201205071440) wird eingerichtet ...
kill all running univention-cli-server
...
Object created: cn=config,cn=UMC,cn=univention,dc=ee,dc=rr
unknown module settings/console_helpdesk.

Available Modules are:
...
Comment 12 Andreas Büsching univentionstaff 2012-05-18 14:58:30 CEST
Das Problem war, dass der pysupport debhelper zu spät aufgerufen wurde. Das ist jetzt korrigiert.
Comment 13 Lukas Walter univentionstaff 2012-05-22 09:31:38 CEST
Das Helpdeskmodul ist derzeit nicht verwendbar, da der entsprechende Modulprozess jedes Mal stirbt wenn man versucht es zu öffnen weil die python importfiles nicht bekannt sind.
Comment 14 Alexander Kläser univentionstaff 2012-05-22 18:03:36 CEST
(In reply to comment #13)
> Das Helpdeskmodul ist derzeit nicht verwendbar, da der entsprechende
> Modulprozess jedes Mal stirbt wenn man versucht es zu öffnen weil die python
> importfiles nicht bekannt sind.

Liegt das vielleicht hieran?

====================
root@master27:~# cat /usr/share/python-support/ucs-school-umc-helpdesk.public
pyversions=2.6

/usr/share/pyshared/univention/admin/handlers/settings/console_helpdesk.py
====================
Comment 15 Andreas Büsching univentionstaff 2012-05-23 09:40:42 CEST
(In reply to comment #14)
> (In reply to comment #13)
> > Das Helpdeskmodul ist derzeit nicht verwendbar, da der entsprechende
> > Modulprozess jedes Mal stirbt wenn man versucht es zu öffnen weil die python
> > importfiles nicht bekannt sind.
> 
> Liegt das vielleicht hieran?
> 
> ====================
> root@master27:~# cat /usr/share/python-support/ucs-school-umc-helpdesk.public
> pyversions=2.6
> 
> /usr/share/pyshared/univention/admin/handlers/settings/console_helpdesk.py
> ====================

Ja daran liegt es. Das Problem ist, dass der debhelper aus irgendeinem Grund das UMC Modul nicht mehr registriert.
Comment 16 Andreas Büsching univentionstaff 2012-05-23 13:25:57 CEST
Das sollte jetzt behoben sein. Bei den Testpaketen wurde

a) update-python-modules als erstes im postinst aufgerufen

b) alle python files in der *.public registriert
Comment 17 Jascha Geerds univentionstaff 2012-05-23 18:25:24 CEST
(In reply to comment #10)
> Nach einer neuen Installation fehlten die Helpdesk-Kategorien:
> 
>   udm settings/console_helpdesk list
> 
> → zeigt eine leere Liste.

Ich bekomme da immer noch eine leere Liste zurück. Getestet wurde dies auf einem "frischen" 3.0-1 Master, welcher das ucs-school-singlemaster Paket installiert hat. Die Kategorien tauchen dementsprechend auch nicht im UMC Modul auf.

Bitte noch einmal überprüfen.
Comment 18 Andreas Büsching univentionstaff 2012-05-24 11:41:40 CEST
(In reply to comment #17)
> (In reply to comment #10)
> > Nach einer neuen Installation fehlten die Helpdesk-Kategorien:
> > 
> >   udm settings/console_helpdesk list
> > 
> > → zeigt eine leere Liste.
> 
> Ich bekomme da immer noch eine leere Liste zurück. Getestet wurde dies auf
> einem "frischen" 3.0-1 Master, welcher das ucs-school-singlemaster Paket
> installiert hat. Die Kategorien tauchen dementsprechend auch nicht im UMC Modul
> auf.
> 
> Bitte noch einmal überprüfen.

Das Problem ist in Bug #27275 beschrieben
Comment 19 Andreas Büsching univentionstaff 2012-05-24 11:59:40 CEST
(In reply to comment #18)
> (In reply to comment #17)
> > Bitte noch einmal überprüfen.
> 
> Das Problem ist in Bug #27275 beschrieben

Der Bug wurde behoben. Ich konnte in den Installationstests das Problem jetzt nicht mehr reproduzieren.
Comment 20 Jascha Geerds univentionstaff 2012-05-24 12:27:50 CEST
Das funktioniert jetzt, verified!
Comment 21 Florian Best univentionstaff 2012-05-25 08:03:26 CEST
$ head -n1 ./ucs-school-umc-helpdesk/modules/univention/admin/handlers/settings/console_helpdesk.py
#!/usr/bin/python2.4
Comment 22 Andreas Büsching univentionstaff 2012-05-25 08:36:05 CEST
(In reply to comment #21)
> $ head -n1
> ./ucs-school-umc-helpdesk/modules/univention/admin/handlers/settings/console_helpdesk.py
> #!/usr/bin/python2.4

Fixed. Paket baut gerade
Comment 23 Florian Best univentionstaff 2012-05-25 08:43:10 CEST
(In reply to comment #22)
> Fixed. Paket baut gerade
Ok, Shebang ist jetzt richtig.
Comment 24 Florian Best univentionstaff 2012-05-25 12:35:52 CEST
E:0001-11: 38ucs-school-umc-helpdesk.inst: join script contains 3 lines with unquoted $@
E:0008-6: modules/univention/admin/handlers/settings/console_helpdesk.po: invalid charset (ISO-8859-1) defined
E:0006-7: debian/ucs-school-umc-helpdesk-schema.postinst: script contains 1 unquoted calls of eval $(ucr shell)
Comment 25 Andreas Büsching univentionstaff 2012-05-25 14:13:41 CEST
(In reply to comment #24)
> E:0001-11: 38ucs-school-umc-helpdesk.inst: join script contains 3 lines with
> unquoted $@
> E:0008-6: modules/univention/admin/handlers/settings/console_helpdesk.po:
> invalid charset (ISO-8859-1) defined
> E:0006-7: debian/ucs-school-umc-helpdesk-schema.postinst: script contains 1
> unquoted calls of eval $(ucr shell)

Fixed. Ausserdem habe ich noch ucslint in den Buildprozess eingebaut
Comment 26 Florian Best univentionstaff 2012-05-25 14:24:56 CEST
(In reply to comment #25)
> (In reply to comment #24)
> > E:0001-11: 38ucs-school-umc-helpdesk.inst: join script contains 3 lines with
> > unquoted $@
> > E:0008-6: modules/univention/admin/handlers/settings/console_helpdesk.po:
> > invalid charset (ISO-8859-1) defined
> > E:0006-7: debian/ucs-school-umc-helpdesk-schema.postinst: script contains 1
> > unquoted calls of eval $(ucr shell)
> 
> Fixed. Ausserdem habe ich noch ucslint in den Buildprozess eingebaut
Ok, der rest von ucslint sind nur Warnings. ucslint ist jetzt in rules.
Comment 27 Stefan Gohmann univentionstaff 2012-06-11 06:30:07 CEST
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer  neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"