Bug 1375915

Summary: audit2allow does not work with Lithuania and Latvia locales
Product: Red Hat Enterprise Linux 7 Reporter: Dalibor Pospíšil <dapospis>
Component: policycoreutilsAssignee: Vit Mojzis <vmojzis>
Status: CLOSED ERRATA QA Contact: Jan Zarsky <jzarsky>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: dapospis, dwalsh, jzarsky, lvrabec, mgrepl, mmalik, petersen, plautrba, qe-i18n-bugs, smaitra, ssekidde
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: policycoreutils-2.5-23.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 09:46:22 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:

Description Dalibor Pospíšil 2016-09-14 08:48:54 UTC
Description of problem:
audit2allow does not work with following locales:


Version-Release number of selected component (if applicable):
policycoreutils-python-2.5-8.el7
lt_LT, lt_LT.iso885913, lt_LT.utf8, lithuanian

How reproducible:
100%

Steps to Reproduce:
# LANG=lt_LT audit2allow -br
plural forms expression could be dangerous

Comment 2 Milos Malik 2017-03-29 14:50:52 UTC
# locale -a | grep -e lt -e lith
lithuanian
lt_LT
lt_LT.iso885913
lt_LT.utf8
# LC_ALL=lithuanian audit2allow -br
plural forms expression could be dangerous
# LC_ALL=lt_LT audit2allow -br
plural forms expression could be dangerous
# LC_ALL=lt_LT.iso885913 audit2allow -br
plural forms expression could be dangerous
# LC_ALL=lt_LT.utf8 audit2allow -br
plural forms expression could be dangerous
# 

Seen on both RHEL-7.3 and RHEL-7.4.

Comment 5 Satyabrata Maitra 2017-08-01 08:30:14 UTC
Is this locale is supported for i18n or translation on RHEL? Doesn't look like. Need devel confirmation. adding i18n devel on this.
And this look like an i18n bug, rather translation.

Comment 6 Jens Petersen 2018-03-05 09:35:20 UTC
Doesn't happen with policycoreutils-2.7-4.fc27 FWIW.

Comment 7 Jens Petersen 2018-03-06 08:23:52 UTC
Nor with policycoreutils-2.6-5.fc26

Comment 11 errata-xmlrpc 2018-10-30 09:46:22 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:3098