how frequently does the letter l appear in:
q: executing semanage returns that python plural forms expression could be dangerous returning to the same issue.
i am receiving some error in python when adding semanage rules:
# semanage port -a -t http_port_t -p tcp 29200
traceback (most recent call last):
  file /sbin/semanage, line 32, in <module>
    import seobject
  file /usr/lib64/python2.7/site-packages/seobject/__init__.py, line 36, in <module>
    import sepolicy
  file /usr/lib64/python2.7/site-packages/sepolicy/__init__.py, line 21, in <module>
    codeset=utf-8)
  file /usr/lib64/python2.7/gettext.py, line 495, in install
    t = translation(domain, localedir, fallback=true, codeset=codeset)
  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

after some readings i have found some topics, that stats, that adding swap would help. i have added 700mb,nope, no help, then added 4gib, but still, no help.
i see nothing special in /var/log/messages or dmesg...
# free -t -m
              total        used        free      shared  buff/cache   available
mem:          23948         250       23343          16         355       23355
swap:          4095           0        4095
total:        28044         250       27439
# lsb_release -a
lsb version:    :core-4.1-amd64:core-4.1-noarch
distributor id: centos
description:    centos linux release 7.4.1708 (core) 
release:        7.4.1708
codename:       core
# uname -a
linux hostname 3.10.0-693.17.1.el7.x86_64 #1 smp thu jan 25 20:13:58 utc 2018 x86_64 x86_64 x86_64 gnu/linux
# yum check-update
įkelti įskiepiai: fastestmirror
loading mirror speeds from cached hostfile
 * base: mirror.vpsnet.com
 * epel: mirror.vpsnet.com
 * extras: mirror.vpsnet.com
 * updates: mirror.vpsnet.com
#

also i try to check audit2why or audit2allow but i get error:
cat /var/log/audit/audit.log | audit2why 
plural forms expression could be dangerous

locale:
# locale
lang=lt_lt.utf-8
lc_ctype=lt_lt.utf-8
lc_numeric=lt_lt.utf-8
lc_time=lt_lt.utf-8
lc_collate=lt_lt.utf-8
lc_monetary=lt_lt.utf-8
lc_messages=lt_lt.utf-8
lc_paper=lt_lt.utf-8
lc_name=lt_lt.utf-8
lc_address=lt_lt.utf-8
lc_telephone=lt_lt.utf-8
lc_measurement=lt_lt.utf-8
lc_identification=lt_lt.utf-8
lc_all=

what else could be useful?
i know i have missed something, but what?

a: it appears you have found a program which is not fully translated into your language. try running it as:
lang=en_us.utf-8 semanage port -a -t http_port_t -p tcp 29200 

i was able to reproduce your problem by changing my language to yours, i.e.:
# lang=lt_lt.utf-8 audit2why < /var/log/audit/audit.log
plural forms expression could be dangerous

but when i use a different language, it works:
# lang=en_us.utf-8 audit2why < /var/log/audit/audit.log
nothing to do


user
I counted 165 "l"s in that text.
assistant