Bug 24384 - Aufruf der System-Setup-Event-Hook-Skripte in 3.0 prüfen
Aufruf der System-Setup-Event-Hook-Skripte in 3.0 prüfen
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-04 12:03 CET by Moritz Muehlenhoff
Modified: 2018-04-14 13:37 CEST (History)
2 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 Moritz Muehlenhoff univentionstaff 2011-11-04 12:03:38 CET
In UCS 2.4 gab es die Möglichkeit unter Pfaden wie
/var/lib/univention-system-setup/hostname.pre Skripte abzulegen, die aufgerufen werden, bevor oder nachdem der Administrator mit System Setup eine Systemeigenschaft ändert.

Es muss geprüft werden, inwiefern alle diese Skripte unter 3.0 noch aufgerufen, da einige Funktionen in System Setup nicht mehr konfiguriert werden können.
Comment 1 Stefan Gohmann univentionstaff 2012-07-17 17:09:49 CEST
UCS 3.1 will be the next release.
Comment 2 Janek Walkenhorst univentionstaff 2012-09-06 11:42:32 CEST
Die folgenden Hooks sind für UCS 2.4 dokumentiert:
                     Hook:                 In UCS 3.1 enthalten:
/var/lib/univention-system-setup/hostname.pre       OK
/var/lib/univention-system-setup/hostname.post      OK
/var/lib/univention-system-setup/domainname.pre     OK
/var/lib/univention-system-setup/domainname.post    OK
/var/lib/univention-system-setup/ldapbase.pre       OK
/var/lib/univention-system-setup/ldapbase.post      OK
/var/lib/univention-system-setup/windowsdomain.pre  OK
/var/lib/univention-system-setup/windowsdomain.post OK
/var/lib/univention-system-setup/interfaces.post    OK
/var/lib/univention-system-setup/gateway.post       OK
/var/lib/univention-setup/nameserver.post           OK
/var/lib/univention-setup/dnsforwarder.post         OK
/var/lib/univention-setup/httpproxy.post            OK

(Der Code ist unverändert zwischen UCS 2.4 und 3.1)
Comment 3 Moritz Muehlenhoff univentionstaff 2012-09-06 11:57:32 CEST
Diese Skripte dürften dann aber nicht mehr aufgerufen/entfernt werden, da USS dies ab 3.0 nicht mehr unterstützt:

/var/lib/univention-system-setup/hostname.pre
/var/lib/univention-system-setup/hostname.post
/var/lib/univention-system-setup/domainname.pre
/var/lib/univention-system-setup/domainname.post
/var/lib/univention-system-setup/ldapbase.pre
/var/lib/univention-system-setup/ldapbase.post
/var/lib/univention-system-setup/windowsdomain.pre
/var/lib/univention-system-setup/windowsdomain.post

Und diese hier sollten eher auf den einheitlichen Pfad /var/lib/univention-setup
migriert werden:

/var/lib/univention-system-setup/interfaces.post    OK
/var/lib/univention-system-setup/gateway.post       OK
Comment 4 Janek Walkenhorst univentionstaff 2012-09-06 16:19:39 CEST
(In reply to comment #3)
> Diese Skripte dürften dann aber nicht mehr aufgerufen/entfernt werden, da USS
> dies ab 3.0 nicht mehr unterstützt:
Zwar können einige Einstellungen nur einmalig (Installation/Appliance Modus) geändert werden, für den Fall sind diese Skripte dann jedoch eventuell trotzdem praktisch.

> /var/lib/univention-setup
Die "univention-setup"-Pfade sind schon seit UCS 2.0 (Bug #8696) nicht mehr korrekt, es scheint ein Bug in der UCS 2.4-Doku zu sein.
(Im Moment sind unter UCS 2.4 und 3.1 alle Skript-Pfade univention-system-setup.)
Comment 5 Stefan Gohmann univentionstaff 2012-09-17 08:03:20 CEST
Die Hooks werden derzeit nicht mehr aufgerufen, wenn der Appliance Modus durchlaufen wird. Das müsste in das setup-Skript eingebaut werden.

Das sollten wir nach dem 3.1 Release angehen.
Comment 6 Florian Best univentionstaff 2012-09-17 08:47:50 CEST
Die hookscripte für den appliance modus sind jetzt in /usr/lib/univention-system-setup/appliance-hooks.d/.
Comment 7 Stefan Gohmann univentionstaff 2017-06-16 20:40:19 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 8 Stefan Gohmann univentionstaff 2017-08-08 07:08:26 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.