Bug 1146237
Summary: | Backport mmutf8fix module? | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Chris Adams <linux> | ||||
Component: | rsyslog | Assignee: | Radovan Sroka <rsroka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Stefan Dordevic <sdordevi> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | nparmar, pvrabec, rmeggins, rsroka, sdordevi | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-11-04 05:34:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1296594, 1313485 | ||||||
Attachments: |
|
Description
Chris Adams
2014-09-24 20:19:28 UTC
(In reply to Chris Adams from comment #0) > Would it be possible for the RHEL package to have the mmutf8fix module added > as well? I *think* it would be possible, but can't say when it would happen. (In reply to Chris Adams from comment #0) > Would it be possible for the RHEL package to have the mmutf8fix module added > as well? +1 Please consider this bug for 7.3 Created attachment 1131628 [details]
patch backport
Here is the patch.
It can be tested e.g. :
----------------------------------------------------------------
module( load="imuxsock")
input(type="imuxsock" socket="/tmp/socket" createpath="on")
module(load="mmutf8fix")
action(type="omfile" file="/tmp/test_orig.log")
action(type="mmutf8fix")
action(type="omfile" file="/tmp/test_fixed.log")
----------------------------------------------------------------
logger -u /tmp/socket "this is non utf8 character >>>`echo -e "\xFF"`<<<"
and result will be:
/tmp/test_orig.log:
ibm-x3650m4-01-vm-02 root: this is non utf8 character >>>ΓΏ<<<
/tmp/test_fixed.log:
ibm-x3650m4-01-vm-02 root: this is non utf8 character >>> <<<
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2401.html |