#1004012 tor: AppArmor policy needs update for recent obfs4proxy

Package:
tor
Source:
tor
Description:
anonymizing overlay network for TCP
Submitter:
intrigeri
Date:
2026-10-17 16:23:02 UTC
Severity:
minor
Tags:
#1004012#5
Date:
2022-01-19 10:30:53 UTC
From:
To:
Hi,

obfs4proxy more recent than the one in Debian, such as 0.0.11, needs
read access to /sys/kernel/mm/transparent_hugepage/hpage_pmd_size.
The attached patch grants such access.

Thanks in advance!

#1004012#10
Date:
2026-10-17 16:20:49 UTC
From:
To:
/etc/apparmor.d/abstractions/tor contains
#include <abstractions/base>

And /etc/apparmor.d/abstractions/base contains
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,

So the request in the bugreport is fulfilled, if I understand it
correctly. If not, then please reopen the bugreport or file a new
bugreport.

Closing.