Bug 51077

Summary: univention-apache: make UCR templates python3-compatible
Product: UCS Reporter: Jürn Brodersen <brodersen>
Component: ApacheAssignee: Jürn Brodersen <brodersen>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best
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 Jürn Brodersen univentionstaff 2020-04-08 15:58:58 CEST
The UCR templates of univention-apache have to be python3-compatible.
Comment 1 Jürn Brodersen univentionstaff 2020-04-15 10:23:02 CEST
[4.4-4 033b102ff8] Bug #51077: make UCR templates python3-compatible
[4.4-4 e3ce4931c1] Bug #51077: make UCR templates python3-compatible
[4.4-4 39bf83e617] Bug #51077: make UCR templates python3-compatible
[4.4-4 300d1e3fdf] Bug #51077: changelog
[4.4-4 58b2da8b37] Bug #51077: yaml


Package: univention-apache
Version: 11.0.1-18A~4.4.0.202004151020
Branch: ucs_4.4-0
Scope: errata4.4-4
Comment 2 Jürn Brodersen univentionstaff 2020-04-15 10:23:58 CEST
[4.4-4 9497936f4f] Bug #51077: yaml
Comment 3 Florian Best univentionstaff 2020-04-15 12:19:42 CEST
# ucr set 'apache2/hsts'=yes
# python3 $(which ucr) commit /etc/apache2/sites-available/default-ssl.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
Traceback (most recent call last):
  File "<stdin>", line 24, in <module>
  File "<stdin>", line 11, in parse_time
NameError: name 'reduce' is not defined
Comment 4 Jürn Brodersen univentionstaff 2020-04-15 13:27:02 CEST
(In reply to Florian Best from comment #3)
> # ucr set 'apache2/hsts'=yes
> # python3 $(which ucr) commit /etc/apache2/sites-available/default-ssl.conf
> Multifile: /etc/apache2/sites-available/default-ssl.conf
> Traceback (most recent call last):
>   File "<stdin>", line 24, in <module>
>   File "<stdin>", line 11, in parse_time
> NameError: name 'reduce' is not defined

Thanks!

[4.4-4 78ebd422d2] Bug #51077: make UCR templates python3-compatible
[4.4-4 b9414766e1] Bug #51077: changelog
[4.4-4 9a14c640db] Bug #51077: yaml
Comment 5 Florian Best univentionstaff 2020-04-15 14:36:38 CEST
OK: conffiles
OK: YAML
Comment 6 Erik Damrose univentionstaff 2020-04-22 15:30:33 CEST
<http://errata.software-univention.de/ucs/4.4/532.html>