View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1892 Location: PB, Germany
|
Posted: Sun Mar 30, 2025 10:32 pm Post subject: Landlock requested by user space |
|
|
Hi, I noticed this syslog line: Code: | [kernel] [ 9839.902404] landlock: Disabled but requested by user space. You should enable Landlock at boot time: https://docs.kernel.org/userspace-api/landlock.html#boot-time-configuration | Who from the user space did request it?
Do I need this as a user with network mounts like nfs?
Why doesn't the gentoo-kernel-bin Distribution Kernel activte it?
What do I need to do, just adding to the CMDLINE?
https://landlock.io/ is the home of Landlock.
https://wiki.gentoo.org/wiki/Security_Handbook/Linux_Security_Modules/Landlock isn't ready yet. _________________ HP ZBook Power G9 i7-12700H|HP ProDesk 600 G5 i7-9700|HP EliteDesk 800 G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
 |
alienjon Veteran


Joined: 09 Feb 2005 Posts: 1732
|
Posted: Sat Apr 05, 2025 4:05 pm Post subject: |
|
|
Following. Just noticed this message pop up in my dmesg as well. Using dist-kernel as well. |
|
Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1892 Location: PB, Germany
|
Posted: Sat Apr 05, 2025 4:48 pm Post subject: |
|
|
Trying to understand what Landlock is made for, isn't that the same purpose that AppArmor was made for? _________________ HP ZBook Power G9 i7-12700H|HP ProDesk 600 G5 i7-9700|HP EliteDesk 800 G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5572 Location: Bavaria
|
Posted: Sat Apr 05, 2025 5:14 pm Post subject: |
|
|
Massimo B. wrote: | Trying to understand what Landlock is made for, isn't that the same purpose that AppArmor was made for? |
Yes and no ...
The main difference is: The user must configure AppArmor (with profiles for every application) - With Landlock now the application itself can define what the kernel (=LSM "landlock") shall allow and disallow for it.
I'm a bit confused about our distribution kernel, because I was under the impression that landlock is activated here. Maybe @sam or @mpagano can tell us more. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
|