[pkg-apparmor] Bug#805145: /usr/sbin/aa-status: aa-status --enabled hangs on upgrade until kill

intrigeri intrigeri at debian.org
Wed Jun 13 16:13:30 BST 2018


Hi,

Regarding the specific buggy case you've met: Christian asked you some
more info in https://bugs.debian.org/805145#10. Any chance you
provide it?

Regarding how widespread the triggers that bug are: since 2.10.95-2
the snippets included by dh-apparmor in postinst use aa-enabled (which
is a light, fast, single purpose C program) instead of
"aa-status --enabled", so any package that uses dh-apparmor and got
rebuilt since this version was uploaded does not run
"aa-status --enabled". Now,
https://codesearch.debian.net/search?q=aa-status+--enabled&perpkg=1
tells me that some packages don't use dh-apparmor and instead have
hard-coded calls to "aa-status --enabled". Ouch! Next step would be to
report bugs (ideally with patches) against these packages to make them
use dh-apparmor (ideally) or aa-enabled (at least). Now, on the
systems I have at hand, "aa-status --enabled" takes less than 0.1s to
run, so I probably won't work on this myself.

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list