Version-Release number of selected component: setroubleshoot-server-3.3.10-1.fc24 Additional info: reporter: libreport-2.7.2 cmdline: /usr/bin/python3 -Es /usr/bin/sealert -b executable: /usr/bin/sealert kernel: 4.6.3-300.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: gettext.py:76:c2py:ValueError: plural forms expression could be dangerous Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/sepolicy/__init__.py", line 21, in <module> codeset='utf-8') TypeError: install() got an unexpected keyword argument 'unicode' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/sealert", line 56, in <module> from setroubleshoot.util import get_identity, load_plugins, log_init, log_debug File "/usr/lib/python3.5/site-packages/setroubleshoot/util.py", line 324, in <module> from sepolicy import get_all_file_types File "/usr/lib64/python3.5/site-packages/sepolicy/__init__.py", line 25, in <module> codeset='utf-8') File "/usr/lib64/python3.5/gettext.py", line 441, in install t = translation(domain, localedir, fallback=True, codeset=codeset) File "/usr/lib64/python3.5/gettext.py", line 426, in translation t = _translations.setdefault(key, class_(fp)) File "/usr/lib64/python3.5/gettext.py", line 162, in __init__ self._parse(fp) File "/usr/lib64/python3.5/gettext.py", line 297, in _parse self.plural = c2py(plural) File "/usr/lib64/python3.5/gettext.py", line 76, in c2py raise ValueError('plural forms expression could be dangerous') ValueError: plural forms expression could be dangerous Local variables in innermost frame: plural: '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 or n%100>=20) ? 1 : 2)' tokens: <generator object _tokenize at 0x7f3559823938> tokenize: <module 'tokenize' from '/usr/lib64/python3.5/tokenize.py'> danger: [TokenInfo(type=1 (NAME), string='or', start=(1, 49), end=(1, 51), line='(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 or n%100>=20) ? 1 : 2)')] token: <module 'token' from '/usr/lib64/python3.5/token.py'>
Created attachment 1187518 [details] File: backtrace
Created attachment 1187519 [details] File: environ
There is a typo in policycoreutils/po/lt.po on line 18 (and possibly in other .po files) "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 or n%100>=20) should be ("or" is considered to be an identifier by gettext): "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20)
*** Bug 1383978 has been marked as a duplicate of this bug. ***
I can't use setroubleshooter gui until this is fixed.
Both lt.po and lt_LT.po in policycoreutils-2.5.tar.gz have correct form: "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" "%100<10 || n%100>=20) ? 1 : 2);\n"
Mistake is in policycoreutils-fedora.patch.
Please try if the issue is fixed by this scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=16107469
*** Bug 1385563 has been marked as a duplicate of this bug. ***
Yes, it is fixed.
When the update is going to be released?
I'm having this problem too. Has the update been released?
libselinux-2.5-13.fc25 policycoreutils-2.5-18.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-17b60ec8d1
secilc-2.5-6.fc24 checkpolicy-2.5-8.fc24 policycoreutils-2.5-15.fc24 libsemanage-2.5-6.fc24 libselinux-2.5-12.fc24 libsepol-2.5-10.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e780970d04
libselinux-2.5-13.fc25, policycoreutils-2.5-18.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-17b60ec8d1
checkpolicy-2.5-8.fc24, libselinux-2.5-12.fc24, libsemanage-2.5-6.fc24, libsepol-2.5-10.fc24, policycoreutils-2.5-15.fc24, secilc-2.5-6.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e780970d04
libselinux-2.5-13.fc25, policycoreutils-2.5-18.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
checkpolicy-2.5-8.fc24, libselinux-2.5-12.fc24, libsemanage-2.5-6.fc24, libsepol-2.5-10.fc24, policycoreutils-2.5-15.fc24, secilc-2.5-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.