LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aa-remove-unknown

Remove orphaned AppArmor profiles from the kernel

TLDR

Perform a dry run to see which profiles would be removed
$ sudo aa-remove-unknown -n
copy
Remove profiles that are no longer present in the configuration directory
$ sudo aa-remove-unknown
copy

SYNOPSIS

aa-remove-unknown [-n]

DESCRIPTION

aa-remove-unknown removes AppArmor profiles that are currently loaded in the kernel but no longer have corresponding profile files in the configuration directory (/etc/apparmor.d). This helps clean up orphaned profiles after packages are removed or profiles are deleted.

PARAMETERS

-n, --dry-run

Show which profiles would be removed without actually removing them
-h, --help
Display help information

INSTALL

sudo apt install apparmor
copy
sudo pacman -S apparmor
copy
sudo apk add apparmor-utils
copy
sudo zypper install apparmor-utils
copy
nix profile install nixpkgs#apparmor-utils
copy

CAVEATS

Running without the -n flag will immediately unload orphaned profiles from the kernel. Use dry-run first to verify which profiles will be affected.

HISTORY

Part of the AppArmor utilities package for managing application security profiles on Linux systems.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid