Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] apparmomr tools don't work due to removed python module
@ 2024-12-31 12:10 tomara-x
  2024-12-31 17:26 ` [ISSUE] [CLOSED] " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: tomara-x @ 2024-12-31 12:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

New issue by tomara-x on void-packages repository

https://github.com/void-linux/void-packages/issues/53770

Description:
### Is this a new report?

Yes

### System Info

Void 6.12.6_3 x86_64 GenuineIntel uptodate rFFF

### Package(s) Affected

apparmor-3.1.7_4

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://gitlab.com/apparmor/apparmor/-/issues/447

### Expected behaviour

apparmor tools like `aa-logprof`, `aa-complain`, etc usually function normally

### Actual behaviour

running any of those tools prints the error
```
Traceback (most recent call last):
  File "/usr/sbin/aa-logprof", line 20, in <module>
    from apparmor.fail import enable_aa_exception_handler
  File "/usr/lib/python3.13/site-packages/apparmor/fail.py", line 11, in <module>
    import cgitb
ModuleNotFoundError: No module named 'cgitb'
```

the module was removed in python 3.13
https://docs.python.org/3/library/cgitb.html

### Steps to reproduce

run any of these apparmor tools:
aa-audit
aa-disable
aa-autodep
aa-easyprof
aa-genprof
aa-cleanprof
aa-logprof
aa-unconfined
aa-complain
aa-enforce
aa-mergeprof       
aa-decode
aa-notify

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] apparmomr tools don't work due to removed python module
  2024-12-31 12:10 [ISSUE] apparmomr tools don't work due to removed python module tomara-x
@ 2024-12-31 17:26 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-12-31 17:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

Closed issue by tomara-x on void-packages repository

https://github.com/void-linux/void-packages/issues/53770

Description:
### Is this a new report?

Yes

### System Info

Void 6.12.6_3 x86_64 GenuineIntel uptodate rFFF

### Package(s) Affected

apparmor-3.1.7_4

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://gitlab.com/apparmor/apparmor/-/issues/447

### Expected behaviour

apparmor tools like `aa-logprof`, `aa-complain`, etc usually function normally

### Actual behaviour

running any of those tools prints the error
```
Traceback (most recent call last):
  File "/usr/sbin/aa-logprof", line 20, in <module>
    from apparmor.fail import enable_aa_exception_handler
  File "/usr/lib/python3.13/site-packages/apparmor/fail.py", line 11, in <module>
    import cgitb
ModuleNotFoundError: No module named 'cgitb'
```

the module was removed in python 3.13
https://docs.python.org/3/library/cgitb.html

### Steps to reproduce

run any of these apparmor tools:
aa-audit
aa-disable
aa-autodep
aa-easyprof
aa-genprof
aa-cleanprof
aa-logprof
aa-unconfined
aa-complain
aa-enforce
aa-mergeprof       
aa-decode
aa-notify

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-31 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-31 12:10 [ISSUE] apparmomr tools don't work due to removed python module tomara-x
2024-12-31 17:26 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).