AppArmor and SELinux support disabled in 0.9.64.4 deb? #4057
-
I'm a semi-technical user running Ubuntu 20 LTS. If I install firejail from the package manager, I get v0.9.62, which comes with $ firejail --version
firejail version 0.9.64.4
Compile time support:
- AppArmor support is disabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is disabled
- private-home support is enabled
- private-cache and tmpfs as user enabled
- SELinux support is disabled
- user namespace support is enabled
- X11 sandboxing support is enabled
$ aa-status
apparmor module is loaded. How do I enable those? Or do I want only one of them? How do I choose which? That Wikipedia comparison is going over my head and the new firejail docs only mention SELinux in passing. Do I need to use from git? The reasons on that page don't include enabling AppArmor (omission?). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
The output of
It is possible to have a kernel with AA ans SE support? IDK but since nobody does it, it's either not possible or pointless.
By choosing your distro. If you want a SELinux system with Ubuntu for example you need to compile your kernel, systemd, coreutils, … with SELinux enabled. Debian/Ubuntu/Mint: AppArmor
No, you can also compile the source-code from 0.9.64.4 (see above). |
Beta Was this translation helpful? Give feedback.
-
Thanks @rusty-snake, I've compiled with AppArmor from git, since the tarball resulted in that error that you saw, #4059. So the actionable items might be,
|
Beta Was this translation helpful? Give feedback.
The output of
--version
shows which features are enabled/disabled at compile time, it does not shows whether they are enabled/disabled at runtime. This means you need to compile firejail from source with e.g../configure --enable-apparmor
.https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#debianubuntu
It is possible to have a kernel with AA ans SE support? IDK but since nobody does it, it's either not possible or pointless.
By choosing your distro. If you want a SELinux system with Ubuntu for example you need to compile your kernel, systemd, coreutils, … with SELinux enabled.
Debian/Ubuntu/…