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

Christian Boltz debian-bugs at cboltz.de
Wed Sep 8 20:45:06 BST 2021


Hello,

Am Mittwoch, 8. September 2021, 02:23:13 CEST schrieb Seth Arnold:
> On Tue, Sep 07, 2021 at 08:32:20AM +0200, intrigeri wrote:
[...]
> > I don't think so because there's no multi-arch stuff involved here.
> 
> Wonderful, thanks for digging into this. I just know that things are
> always more complex than I expect, every single time.

Oh yes, I know this feeling.

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.)

For details see https://bugzilla.opensuse.org/show_bug.cgi?id=1181155


Regards,

Christian Boltz
-- 
Gerade in Firmen sind die internen Passwörter der Mitarbeiter oft nicht
den Klebezettel wert, mit dem sie an den Monitorrand gepappt wurden.
Und klebt da nichts, bleiben immer noch der Vorname des MA, "Hallo"
oder die Marke des Monitors brauchbare Alternativen *g*
[Matthias Houdekk in suse-linux]
-------------- 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/20210908/db92213d/attachment-0001.sig>


More information about the pkg-apparmor-team mailing list