[pkg-apparmor] Bug#972881: Bug#972881: Consider making apparmor-utils, python3-apparmor, and libapparmor-perl arch:all
intrigeri
intrigeri at debian.org
Tue Oct 12 10:21:46 BST 2021
Hi,
Christian Boltz (2021-09-08):
> To confirm that you are right:
> /var/log/wtmp has a different binary format on some architectures (I'm
> aware of aarch64 and s390x), which means we'll need to somehow make
> aa-notify -l ("events since last login") somehow arch-specific.
>
> I'm not yet sure how to solve that in a sane way, but in worst case that
> little detail could make aa-notify arch-specific. (Currently aa-notify
> does its own parsing of /var/log/wtmp, so either we adjust that
> depending on the architecture, or we use a python module that is made
> for reading /var/log/wtmp and gives us a sane result everywhere.)
Interesting, indeed!
In Debian, apparmor-notify is already arch:all, so this sub-thread is
out of the scope of this bug report, and shall not block the change
I proposed here. Nevertheless, let's try to reach a conclusion:
Given aa-notify is a Python program, I understand a fix for the
aforementioned problem will be about running different arch-specific
code at runtime, rather than building/installing different,
arch-specific aa-notify programs. Makes sense?
Cheers!
More information about the pkg-apparmor-team
mailing list