Bug 41548

Summary: SysLogHandler sends invalid messages when using unicode
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: GeneralAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Janek Walkenhorst <walkenhorst>
Severity: normal    
Priority: P5 CC: gohmann, sieverdingbeck, steuwer
Version: UCS 3.3   
Target Milestone: UCS 3.3-0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034 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 Stefan Gohmann univentionstaff 2016-06-13 16:53:46 CEST
+++ This bug was initially created as a clone of Bug #41313 +++

When using unicode the SyslogHandler of python2.6 creates invalid syslog messages.
This bug has been fixed upstream for Python 2.7, 3.2 and 3.3 but not for 2.6.

Please include the fix into python2.6.

Upstream bug: https://bugs.python.org/issue14452
Upstream fix: https://hg.python.org/cpython/rev/af46a001d5ec
Comment 1 Felix Botner univentionstaff 2016-06-14 11:25:18 CEST
python2.6 2.6.8-1.1~ucs3.3.38.201606140944 errata3.3-0
python2.6.yaml
Comment 2 Janek Walkenhorst univentionstaff 2016-06-14 17:20:36 CEST
Patch: OK
 Review: OK
 Applied: OK
Reproduce: OK
 u'Lögü?' → '<44>Lögü?'
Fixed: OK
 u'Lögü?' → 'Lögü?'
Advisory: BAD, see Jenkins
Comment 3 Felix Botner univentionstaff 2016-06-14 17:34:37 CEST
fixed
Comment 4 Janek Walkenhorst univentionstaff 2016-06-14 17:38:08 CEST
Advisory: OK
Comment 5 Janek Walkenhorst univentionstaff 2016-06-15 12:09:16 CEST
<http://errata.software-univention.de/ucs/3.3/7.html>