Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Arch Linux] audit2allow error #459

Open
freedom1b2830 opened this issue Jan 8, 2025 · 0 comments
Open

[Arch Linux] audit2allow error #459

freedom1b2830 opened this issue Jan 8, 2025 · 0 comments

Comments

@freedom1b2830
Copy link

The system is installed in virtualbox.
Used the compiled packages from https://github.com/archlinuxhardened/selinux @fishilico
Installed via yay.

audit2allow -ae

Traceback (most recent call last):
  File "/usr/bin/audit2allow", line 399, in <module>
    app.main()
    ~~~~~~~~^^
  File "/usr/bin/audit2allow", line 387, in main
    self.__output()
    ~~~~~~~~~~~~~^^
  File "/usr/bin/audit2allow", line 353, in __output
    g.add_access(self.__avs)
    ~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/sepolgen/policygen.py", line 255, in add_access
    self.__add_av_rule(av)
    ~~~~~~~~~~~~~~~~~~^^^^
  File "/usr/lib/python3.13/site-packages/sepolgen/policygen.py", line 182, in __add_av_rule
    rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
                   ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/sepolgen/refpolicy.py", line 1242, in __str__
    return self.to_string()
           ~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/sepolgen/refpolicy.py", line 1229, in to_string
    if self.gen_cil:
       ^^^^^^^^^^^^
AttributeError: 'Comment' object has no attribute 'gen_cil'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant