[pkg-apparmor] Bug#1089225: Bug#1089225: apparmor.service can't start due to PROC undeclared
Christian Boltz
debian-bugs at cboltz.de
Sat Dec 7 13:40:00 GMT 2024
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]
-------------- 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/20241207/95139802/attachment.sig>
More information about the pkg-apparmor-team
mailing list