Bug 52649 - Migrate ucs-school-old-sharedirs to dh_python
Migrate ucs-school-old-sharedirs to dh_python
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v9-errata
Assigned To: Florian Best
Tobias Wenzel
Depends on:
Blocks: 52578
  Show dependency treegraph
Reported: 2021-01-12 19:08 CET by Florian Best
Modified: 2021-07-12 15:23 CEST (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:


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-01-12 19:08:56 CET
The package ucs-school-old-sharedirs needs to be migrated to dh_python.

See: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Florian Best univentionstaff 2021-06-03 00:28:55 CEST
58688d457c6e | Bug #52649: migrate ucs-school-old-sharedirs to dh_python

ucs-school-old-sharedirs (14.0.0-1)
58688d457c6e | Bug #52649: migrate ucs-school-old-sharedirs to dh_python
Comment 2 Tobias Wenzel univentionstaff 2021-06-07 16:24:27 CEST
QA: all OK, verify

diff -U0 before.list after.list -> empty, OK

Scripts -> none
UMC modules -> none
UCR templates? -> none
Jenkins -> happy

new in remove-old-sharedirs.py -> OK:

hostname = listener.configRegistry["hostname"]
domainname = listener.configRegistry["domainname"]
ip = listener.configRegistry["interfaces/eth0/address"]

removed python_support 
added dh_auto_test

when deleting a class the backup gets created as expected,
but I get the following traceback in the listener.log

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/samba-shares.py", line 283, in handler
    ['samba-tool', 'ntacl', 'get', '--as-sddl', new['univentionSharePath'][0]],
KeyError: 'univentionSharePath'

I opened Bug 53414 - Keyerror in samba-shares when creating group-shares for this.
Comment 3 Tobias Wenzel univentionstaff 2021-07-01 12:07:14 CEST
Errata updates for UCS@school 4.4 v9 have been released.


If this error occurs again, please clone this bug.