Bug 42066 - Cleanup package ucs-school-import
Cleanup package ucs-school-import
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.1
Other Linux
: P5 enhancement (vote)
: UCS@school 4.1.x
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-19 15:06 CEST by Sönke Schwardt-Krummrich
Modified: 2019-02-05 21:16 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 2016-08-19 15:06:49 CEST
1) there are 3 directories in SVN containing UDM hooks and UDM syntaxes:
./syntax.ucs-school-import.py
./modules/univention/admin/hooks.d/{schoolOU,schoolAdminGroup}.py
./udm_hook/ucsschool_user-options_hook.py

2) there are several hook directories below /usr/share/ucs-school-import/
/usr/share/ucs-school-import/pyhooks  ←  new python hooks
/usr/share/ucs-school-import/scripts  ←  import_user & co
/usr/share/ucs-school-import/schema   ←  contains LDAP schema and 
                                         ???syntax.ucs-school-import.py???
/usr/share/ucs-school-import/configs  ← new import config
/usr/share/ucs-school-import/hooks    ← old sh/bash hook scripts
/usr/share/ucs-school-import/hooks.d  ← contains schoolOU.py, schoolAdminGroup.py

I think the last one directory is irritating to the customer and should be avoided. Why is there a new hooks.d/ if schema already contains UDM related stuff?

Possible solutions:
- move hooks schoolOU and schoolAdminGroup from ucs-school-import to 
  ucs-school-import-schema → from hooks.d/ to schema/
- merge ucs-school-import and ucs-school-import-schema (the latter one is no 
  longer required since registration of ACLs is possible in LDAP)
- ...

RFC
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:16:08 CET
This issue has been filled against UCS@school 4.1 (R2). The maintenance with bug 
and security fixes for UCS@school 4.1 (R2) has ended on 5th of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

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