Red Hat Bugzilla – Bug 1376770
sealert tracebacks when lithuanian locales are used
Last modified: 2018-04-10 12:37:28 EDT
Description of problem: * the same happens for LANG=lithuanian, LANG=lt_LT, LANG=lt_LT.iso885913 and LANG=lt_LT.utf8 Version-Release number of selected component (if applicable): setroubleshoot-3.2.27.2-3.el7.s390x setroubleshoot-server-3.2.27.2-3.el7.s390x setroubleshoot-plugins-3.0.64-2.1.el7.noarch How reproducible: * always Actual results: :: [ BEGIN ] :: Running 'LANG=lt_LT sealert -a /var/log/audit/audit.log 2>&1 | tee /tmp/tmp.xmThY35NFx | grep -i -e traceback -e exception ' Traceback (most recent call last): :: [ FAIL ] :: Command 'LANG=lt_LT sealert -a /var/log/audit/audit.log 2>&1 | tee /tmp/tmp.xmThY35NFx | grep -i -e traceback -e exception ' (Expected 1, got 0) :: [ BEGIN ] :: Running 'cat /tmp/tmp.xmThY35NFx' Traceback (most recent call last): File "/usr/bin/sealert", line 49, in <module> from setroubleshoot.errcode import * File "/usr/lib64/python2.7/site-packages/setroubleshoot/errcode.py", line 20, in <module> translation=gettext.translation('setroubleshoot-plugins', fallback=True) File "/usr/lib64/python2.7/gettext.py", line 480, in translation t = _translations.setdefault(key, class_(fp)) File "/usr/lib64/python2.7/gettext.py", line 180, in __init__ self._parse(fp) File "/usr/lib64/python2.7/gettext.py", line 317, in _parse self.plural = c2py(plural) File "/usr/lib64/python2.7/gettext.py", line 93, in c2py raise ValueError, 'plural forms expression could be dangerous' ValueError: plural forms expression could be dangerous :: [ PASS ] :: Command 'cat /tmp/tmp.xmThY35NFx' (Expected 0, got 0) Expected results: * no tracebacks
Switching component since this bug is caused by a typo in .po files in policycoreutils. Please see RHBZ#1364114 for more details.
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://access.redhat.com/errata/RHSA-2018:0913