Turn off the full witness trace on console output.
On head/, or more specifically, when WITNESS is in the kernel config, the console is spammed excessively with lock order reversal between isofs and devfs. Set debug.witness.trace=0 in the installer sysctl.conf to avoid printing the full KDB stack backtrace. This does not prevent printing the lock order reversal has happened, only lessens the console spam. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
faecd0da18
commit
73e46dba11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265018
@ -164,6 +164,7 @@ system: packagesystem
|
||||
ln -fs /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
|
||||
echo sendmail_enable=\"NONE\" > release/etc/rc.conf
|
||||
echo hostid_enable=\"NO\" >> release/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> release/etc/sysctl.conf
|
||||
cp ${.CURDIR}/rc.local release/etc
|
||||
touch ${.TARGET}
|
||||
|
||||
@ -188,6 +189,7 @@ bootonly: packagesystem
|
||||
ln -fs /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
|
||||
echo sendmail_enable=\"NONE\" > bootonly/etc/rc.conf
|
||||
echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> bootonly/etc/sysctl.conf
|
||||
cp ${.CURDIR}/rc.local bootonly/etc
|
||||
|
||||
dvd:
|
||||
@ -206,6 +208,7 @@ dvd:
|
||||
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
||||
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
||||
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
|
||||
cp ${.CURDIR}/rc.local ${.TARGET}/etc
|
||||
touch ${.TARGET}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user