Hello, Am Samstag, 7. Dezember 2024, 13:53 schrieb Richard: > for a while now, apparmor.service fails to start with the error > message "Found reference to variable PROC, but is never declared".
That sounds like you have one or more profile files that lack
include <tunables/global>
in their preamble/header.
Unfortunately apparmor_parser doesn't report which file has this
issue [1], therefore you'll need to check yourself with
grep -L tunables/global /etc/apparmor.d/*
grep will give you some "is a directory" errors, but it should also list
one or more "real" files that don't have include <tunables/global>
Can you please check which files are affected? (Bonus points if you also
check and report from which package they come.)
Regards,
Christian Boltz
[1] At least there's already a bugreport for this:
https://gitlab.com/apparmor/apparmor/-/issues/123
--
hey, that's *the cool thing* about software engineering - it's all
like a puzzle. And if you ask 10 people about it, then you may get
11 different answers. ;-) [Bernhard Voelker in opensuse-packaging]
signature.asc
Description: This is a digitally signed message part.

