Bug 2055449 - [abrt] policycoreutils-python-utils: main(): audit2allow:365:main:SystemError: <built-in function init> returned a result with an exception set
Summary: [abrt] policycoreutils-python-utils: main(): audit2allow:365:main:SystemError...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:171f4b049cc1350bf78c9f0c405...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-17 01:02 UTC by Brandon Amaro
Modified: 2023-09-18 04:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-13 16:41:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (593 bytes, text/plain)
2022-02-17 01:02 UTC, Brandon Amaro
no flags Details
File: cpuinfo (2.61 KB, text/plain)
2022-02-17 01:02 UTC, Brandon Amaro
no flags Details
File: environ (2.55 KB, text/plain)
2022-02-17 01:02 UTC, Brandon Amaro
no flags Details
File: mountinfo (3.05 KB, text/plain)
2022-02-17 01:02 UTC, Brandon Amaro
no flags Details
File: namespaces (172 bytes, text/plain)
2022-02-17 01:03 UTC, Brandon Amaro
no flags Details
File: open_fds (328 bytes, text/plain)
2022-02-17 01:03 UTC, Brandon Amaro
no flags Details

Description Brandon Amaro 2022-02-17 01:02:51 UTC
Version-Release number of selected component:
policycoreutils-python-utils-3.3-1.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-01d17e4a-8c22-4e45-a979-19e340145d51.scope
cmdline:        /usr/bin/python3 -Es /usr/bin/audit2allow -M my-xreaderthumbna
crash_function: main
exception_type: SystemError
executable:     /usr/bin/audit2allow
interpreter:    python3-3.10.2-1.fc35.x86_64
kernel:         5.15.14-200.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
audit2allow:365:main:SystemError: <built-in function init> returned a result with an exception set

ValueError: You must specify the -p option with the path to the policy file.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/audit2allow", line 381, in <module>
    app.main()
  File "/usr/bin/audit2allow", line 365, in main
    audit2why.init()
SystemError: <built-in function init> returned a result with an exception set

Local variables in innermost frame:
self: <__main__.AuditToPolicy object at 0x7f96a04cf310>

Comment 1 Brandon Amaro 2022-02-17 01:02:55 UTC
Created attachment 1861593 [details]
File: backtrace

Comment 2 Brandon Amaro 2022-02-17 01:02:56 UTC
Created attachment 1861594 [details]
File: cpuinfo

Comment 3 Brandon Amaro 2022-02-17 01:02:57 UTC
Created attachment 1861595 [details]
File: environ

Comment 4 Brandon Amaro 2022-02-17 01:02:58 UTC
Created attachment 1861596 [details]
File: mountinfo

Comment 5 Brandon Amaro 2022-02-17 01:03:00 UTC
Created attachment 1861597 [details]
File: namespaces

Comment 6 Brandon Amaro 2022-02-17 01:03:01 UTC
Created attachment 1861598 [details]
File: open_fds

Comment 7 Petr Lautrbach 2022-03-02 09:31:58 UTC
How did you get this backtrace?

It looks like SELinux is disabled in your system. In this case you need to run `audit2allow` with `-p <policyfile>` - the policyfile could be found in /etc/selinux/targeted/policy/...

Comment 8 Ben Cotton 2022-11-29 17:54:39 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Ben Cotton 2022-12-13 16:41:37 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Red Hat Bugzilla 2023-09-18 04:32:12 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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