Bug 52816 - Python 3 syntax error slapd.conf during update to UCS 5.0
Summary: Python 3 syntax error slapd.conf during update to UCS 5.0
Status: RESOLVED DUPLICATE of bug 52815
Alias: None
Product: UCS
Classification: Unclassified
Component: LDAP
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 11:42 CET by Philipp Hahn
Modified: 2021-02-22 10:44 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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2021-02-20 11:42:54 CET
File: /etc/init.d/slapd
Multifile: /etc/ldap/slapd.conf
  File "<stdin>", line 26
    ''' % params
      ^

Don't know which sub-file...
Comment 1 Philipp Hahn univentionstaff 2021-02-20 13:41:32 CET
During the update from UCS-4.4-7+e898 to UCS-5.0-0~2021-02-20

# for t in /etc/univention/templates/files/etc/ldap/slapd.conf.d/*;do echo "$t";ucr filter <"$t" >/dev/null; done
/etc/univention/templates/files/etc/ldap/slapd.conf.d/10univention-ldap-server_schema
/etc/univention/templates/files/etc/ldap/slapd.conf.d/11univention-saml-schema
/etc/univention/templates/files/etc/ldap/slapd.conf.d/25univention-ldap-server_local-schema
  File "<stdin>", line 26
    ''' % params
      ^
SyntaxError: invalid syntax
/etc/univention/templates/files/etc/ldap/slapd.conf.d/30univention-ldap-server_head
/etc/univention/templates/files/etc/ldap/slapd.conf.d/31modules
/etc/univention/templates/files/etc/ldap/slapd.conf.d/39configdb
/etc/univention/templates/files/etc/ldap/slapd.conf.d/39monitor
/etc/univention/templates/files/etc/ldap/slapd.conf.d/40univention-ldap-server_database
/etc/univention/templates/files/etc/ldap/slapd.conf.d/41univention-ldap-overlay-memberof
/etc/univention/templates/files/etc/ldap/slapd.conf.d/60univention-ldap-server_acl-master
/etc/univention/templates/files/etc/ldap/slapd.conf.d/62univention-ldap-server_acl-portal
/etc/univention/templates/files/etc/ldap/slapd.conf.d/63univention-ldap-server_acl-master-password
/etc/univention/templates/files/etc/ldap/slapd.conf.d/66univention-appcenter_app.acl
  File "<stdin>", line 26
    ''' % params
      ^
SyntaxError: invalid syntax
/etc/univention/templates/files/etc/ldap/slapd.conf.d/66univention-appcenter_app.acl.info
/etc/univention/templates/files/etc/ldap/slapd.conf.d/70univention-ldap-server_acl-master-end
/etc/univention/templates/files/etc/ldap/slapd.conf.d/99translog
Comment 2 Philipp Hahn univentionstaff 2021-02-20 13:42:11 CET
# dpkg -S /etc/univention/templates/files/etc/ldap/slapd.conf.d/25univention-ldap-server_local-schema /etc/univention/templates/files/etc/ldap/slapd.conf.d/66univention-appcenter_app.acl
univention-ldap-server: /etc/univention/templates/files/etc/ldap/slapd.conf.d/25univention-ldap-server_local-schema
dpkg-query: Kein Pfad gefunden, der auf Muster /etc/univention/templates/files/etc/ldap/slapd.conf.d/66univention-appcenter_app.acl passt
Comment 3 Florian Best univentionstaff 2021-02-22 10:44:57 CET

*** This bug has been marked as a duplicate of bug 52815 ***