Skip to contentSkip to conversation

New: kernel_lockdown.7 seems to be incorrect about automatically enabling lockdown mode in secure boot mode

Bug 213577 Alejandro Colomar (man-pages) 1 participant 1 message Jul 3, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

Added a few CCs.

Quoted 39 lines · On 6/25/21 8:58 AM, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=213577

Bug ID: 213577
Summary: kernel_lockdown.7 seems to be incorrect about
automatically enabling lockdown mode in secure boot mode
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: No

As of the time of posting, the kernel_lockdown.7 manpage [1] contains a description about how lockdown mode is enabled by default when using EFI secure boot:

Quoted 2 lines

On an EFI-enabled x86 or arm64 machine, lockdown will be automatically enabled

if the system boots in EFI Secure Boot mode.

I have not followed lockdown development upstream recently, but it seems that as of today the feature described above is still a downstream patch shipped by some distributions like Fedora [2][3]. If this is the case, then including this statement in the man page would be inappropriate, since it would not apply to other distributions such as Arch Linux which do not include said patches.

[1]:
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man7/kernel_lockdown.7#n31
[2]:
https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/Patchlist.changelog#_205
[3]:
https://gitlab.com/cki-project/kernel-ark/-/commit/5850c93175b9d2e1081873f4bbe08dead202cb08

Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/