Update presentation of the kernel.printk sysctl

This commit is contained in:
Raja Grewal 2024-07-15 15:01:48 +10:00
parent acd60e45d8
commit 1c2afc1f25
No known key found for this signature in database
GPG Key ID: 92CA473C156B64C4
2 changed files with 13 additions and 5 deletions

View File

@ -1,10 +1,14 @@
## Copyright (C) 2019 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org> ## Copyright (C) 2019 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
## See the file COPYING for copying conditions. ## See the file COPYING for copying conditions.
## NOTE:
## For higher verbosity, delete file /etc/default/grub.d/41_quiet.cfg.
## Alternatively, install the debug-misc package which will undo these settings.
## Prevent kernel information leaks in the console during boot. ## Prevent kernel information leaks in the console during boot.
## Must be used in combination with the kernel boot parameters.
## See /etc/default/grub.d/41_quiet_boot.cfg for implementation.
## ##
kernel.printk = 3 3 3 3 ## https://www.kernel.org/doc/html/latest/core-api/printk-basics.html
##
kernel.printk=3 3 3 3
## For Increased Log Verbosity:
## Adjust (or comment out) the kernel parameters in /etc/default/grub.d/41_quiet_boot.cfg.
## Alternatively, installing the debug-misc package will undo these settings.

View File

@ -38,6 +38,10 @@ kernel.kptr_restrict=2
kernel.dmesg_restrict=1 kernel.dmesg_restrict=1
## Prevent kernel information leaks in the console during boot. ## Prevent kernel information leaks in the console during boot.
## Must be used in combination with the kernel boot parameters.
## See /etc/default/grub.d/41_quiet_boot.cfg for implementation.
##
## https://www.kernel.org/doc/html/latest/core-api/printk-basics.html
## ##
## See /usr/lib/sysctl.d/30_silent-kernel-printk.conf for implementation. ## See /usr/lib/sysctl.d/30_silent-kernel-printk.conf for implementation.
## ##