[pkg-apparmor] Bug#972881: Bug#972881: Bug#972881: Bug#972881: Consider making apparmor-utils, python3-apparmor, and libapparmor-perl arch:all

Christian Boltz debian-bugs at cboltz.de
Sun Oct 17 15:50:31 BST 2021


Hello,

Am Dienstag, 12. Oktober 2021, 11:21:46 CEST schrieb intrigeri:
> 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. [...]
>
> Interesting, indeed!
> 
> In Debian, apparmor-notify is already arch:all, so this sub-thread is

Not only in Debian - apparmor-utils in openSUSE is also noarch 
(different term, same meaning).

> 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?

Most likely it will get handled at runtime. It's hard to predict how the 
bugfix will look like, basically I can imagine two options:
- implement handling for the "other arch wtmp" file format (+ some 
  switching conditions) directly in aa-notify
- use an existing python module
- (making the switch at build/install time is unlikely)

We'll see which of these options will win ;-) - if you have a favorite, 
feel free to send a patch or MR ;-)


Regards,

Christian Boltz
-- 
<kbabioch> no idea yet. we didn't touch those systems and are surprised
           that it ever worked the way it is configured
[from #opensuse-admin]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20211017/1f89f749/attachment-0001.sig>


More information about the pkg-apparmor-team mailing list