Skip to content

generator: Disable D-Bus AppArmor mediation when policy can't be queried#999

Merged
monstermunchkin merged 1 commit into
lxc:mainfrom
stgraber:main
May 29, 2026
Merged

generator: Disable D-Bus AppArmor mediation when policy can't be queried#999
monstermunchkin merged 1 commit into
lxc:mainfrom
stgraber:main

Conversation

@stgraber

Copy link
Copy Markdown
Member

It's not possible for nested containers to query their own policy. This in turn confuses the dbus/apparmor integration and causes a number of failures.

Add logic to detect this scenario and automatically disabled that integration in those cases.

It's not possible for nested containers to query their own policy.
This in turn confuses the dbus/apparmor integration and causes a number
of failures.

Add logic to detect this scenario and automatically disabled that
integration in those cases.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@stgraber

Copy link
Copy Markdown
Member Author

@monstermunchkin ping

@monstermunchkin monstermunchkin merged commit 56b42ea into lxc:main May 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants