Version-Release number of selected component: policycoreutils-python-utils-2.4-7.fc23 Additional info: reporter: libreport-2.6.2 cmdline: /usr/bin/python3 -Es /usr/bin/audit2allow -M mypol executable: /usr/bin/audit2allow kernel: 4.2.0-0.rc4.git1.1.fc23.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: output.py:134:sort_node:TypeError: must use keyword argument for key function Traceback (most recent call last): File "/usr/bin/audit2allow", line 360, in <module> app.main() File "/usr/bin/audit2allow", line 348, in main self.__output() File "/usr/bin/audit2allow", line 326, in __output self.__output_modulepackage(writer, g) File "/usr/bin/audit2allow", line 221, in __output_modulepackage writer.write(generator.get_module(), fd) File "/usr/lib64/python3.4/site-packages/sepolgen/output.py", line 48, in write sort_filter(self.module) File "/usr/lib64/python3.4/site-packages/sepolgen/output.py", line 175, in sort_filter sort_node(node) File "/usr/lib64/python3.4/site-packages/sepolgen/output.py", line 134, in sort_node rules.sort(rule_cmp) TypeError: must use keyword argument for key function Local variables in innermost frame: node: <Module()> rules: [<AVRule(allow systemd_logind_t efivarfs_t:file read;)>] require: <Require(require { type systemd_logind_t; type efivarfs_t; class file read; })> c: [<ModuleDeclaration(module mypol 1.0;)>, <sepolgen.refpolicy.Comment object at 0x7fc2542ec6a0>, <Require(require { type systemd_logind_t; type efivarfs_t; class file read; })>, <sepolgen.refpolicy.Comment object at 0x7fc2542ec668>] mod: <ModuleDeclaration(module mypol 1.0;)>
Created attachment 1060420 [details] File: backtrace
Created attachment 1060421 [details] File: environ
It should be already fixed by https://admin.fedoraproject.org/updates/FEDORA-2015-13026/policycoreutils-2.4-8.fc23 . If the update doesn't work for you, feel free to reopen this bug. Thanks.