[pkg-apparmor] Bug#1108918: Bug#1108918: apparmor complains "too many states" on start, hanging boot for 1m25s

intrigeri intrigeri at debian.org
Tue Jul 8 09:47:37 BST 2025


Control: tag -1 + moreinfo

Hi Athanasius,

Athanasius (2025-07-07):
> Jul 07 16:52:33 emilia apparmor.systemd[1394]: Too many states (113602) for type state_t
> Jul 07 16:52:33 emilia apparmor.systemd[1281]: Error: At least one profile failed to load

This seems to come from:
https://sources.debian.org/src/apparmor/4.1.0-1/parser/libapparmor_re/chfa.cc/?hl=418#L418

I'm wondering if 1 specific profile is causing this, or if the
accumulation of all profiles caused it. To debug this you could:

1. Unload all profiles: run aa-teardown

2. Load profiles 1 after the other using apparmor_parser

But if you've installed extra 3rd-party profiles yourselves, a quicker
next step could be to remove them and try to reproduce the bug.

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list