Bug 51016

Summary: univention-heimdal: make UCR templates python3-compatible
Product: UCS Reporter: Florian Best <best>
Component: KerberosAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Philipp Hahn <hahn>
Severity: normal    
Priority: P5 CC: hahn
Version: UCS 4.4   
Target Milestone: UCS 4.4-4-errata   
Hardware: Other   
OS: Linux   
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:

Description Florian Best univentionstaff 2020-03-26 14:37:43 CET
The UCR templates of univention-heimdal have to be python3-compatible.
Comment 1 Florian Best univentionstaff 2020-03-26 14:42:01 CET
univention-heimdal.yaml
011b037de6b3 | YAML Bug #51016

univention-heimdal (12.0.1-4)
63eba1427001 | Bug #51016: make UCR templates compatible to python3
Comment 2 Philipp Hahn univentionstaff 2020-03-30 18:23:49 CEST
OK: 63eba142700132c9d8643ae41d7d1049f83282b2
OK: univention-heimdal.yaml
OK: errata-announce -V --only univention-heimdal.yaml
OK: apt install -t apt univention-heimdal-kdc univention-heimdal-common
FIXED: [4.4-4] 7cfc641596 Bug #51016 heimdal: Fix UCRV declaration

~FAIL: dpkg -L univention-heimdal-kdc univention-heimdal-common|grep /etc/univention/templates/files/|while read -r f;do [ -f "$f" ]&&diff <(python2 /usr/sbin/ucr filter <"$f") <(python3 /usr/sbin/ucr filter <"$f");done
 ImportError: No module named 'univention.lib.ucrLogrotate'
Comment 3 Erik Damrose univentionstaff 2020-04-02 14:47:41 CEST
<http://errata.software-univention.de/ucs/4.4/507.html>