RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1468985 - sealert tracebacks when lithuanian locales are used
Summary: sealert tracebacks when lithuanian locales are used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: setroubleshoot-plugins
Version: 7.3
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1376770
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-10 07:42 UTC by Vit Mojzis
Modified: 2018-04-10 18:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1376770
Environment:
Last Closed: 2018-04-10 18:36:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0995 0 None None None 2018-04-10 18:36:35 UTC

Description Vit Mojzis 2017-07-10 07:42:41 UTC
+++ This bug was initially created as a clone of Bug #1376770 +++

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

Comment 2 Vit Mojzis 2017-07-10 07:59:56 UTC
Setroubleshoot-plugins contains a typo in lt.po translations. For more information please see RHBZ#1364114.

Comment 10 errata-xmlrpc 2018-04-10 18:36:14 UTC
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/RHBA-2018:0995


Note You need to log in before you can comment on or make changes to this bug.