Clarify description on panics on oopses and warns

This commit is contained in:
raja-grewal 2025-08-16 04:01:12 +00:00 committed by GitHub
parent c33f7d04e2
commit f1de0da69b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,9 +13,10 @@ if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
fi fi
## Makes the kernel immediately panic on both oopses and warnings. ## Makes the kernel immediately panic on both oopses and warnings.
## This prevents the kernel from continuing to run a potentially ## These settings force a full system crash rather than continuing
## flawed processes. Many kernel exploits will also cause an oops, ## to run after an inconsistent state is triggered by a potentially
## these settings will make the kernel kill the offending processes. ## flawed processes. The reasons for the errors could be kernel
## exploit attempts but may also simply be general software bugs.
sysctl kernel.oops_limit=1 sysctl kernel.oops_limit=1
sysctl kernel.warn_limit=1 sysctl kernel.warn_limit=1