Hello there!
I’m on F40 and getting this message on the logs. What does it mean? I thought it could be related to the hardening planed, but those are for F41. I have Fedora’s kernel installed also, but I’m on CB for now. Is there some parameter I should use or just ignore it?
❯ uname -a
Linux tars 6.9.0-cb1.0.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 13 17:59:23 UTC 2024 x86_64 GNU/Linux
❯ dmesg | grep landlock || journalctl -kb -g landlock
dmesg: read kernel buffer failed: Operação não permitida
mai 16 10:23:17 tars kernel: 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
❯ zgrep -h "^CONFIG_LSM=" "/boot/config-$(uname -r)" /proc/config.gz 2>/dev/null
CONFIG_LSM="“lockdown,yama,integrity,selinux,bpf,landlock”"
CONFIG_LSM="“lockdown,yama,integrity,selinux,bpf,landlock”"