Re: Adjustments to userland for a quieter startup (RC system)

From: Chris <bsd-lists_at_bsdforge.com>
Date: Sun, 02 Feb 2025 01:42:48 UTC
On 2025-02-01 16:18, Tomek CEDRO wrote:
> On Sun, Feb 2, 2025 at 12:16 AM Steven Harms (High-Security Mail)
> <sgharms@stevengharms.com> wrote:
>> Greetings,
>> I have created https://github.com/freebsd/freebsd-src/pull/1582 in an 
>> effort to quiet down some of the chattiness of module linking and network 
>> diagnostics on startup. I'm used to working in a git-based workflow and saw 
>> no action on the PR, so I thought I would notify here. If that's not the 
>> correct procedure, please advise.
>> Thanks for all the work everyone on the list does!
>> Steven
> 
> Thanks @sgharms :-) I am against the change in current form because:
> * The concept may be useful for someone but it shall be a manually
> selectable option like `rc_mute` (in analog to `boot_mute`) and not a
> default. Maybe `rc_loglevel` that can get `silent, error, warning,
> info, verbose, debug` levels to rc scripts and services? Change does
> not provide a choice.
> * Boot log messages are extremely useful, they contain important
> diagnostic messages, these need to be logged even if silenced, these
> cannot be just sent to `/dev/null`. Change alters (breaks) logging.
> * Why not just put a boot logo image if you really do not want to see
> the boot messages? It will provide better user experience as expected
> but will not break the diagnostic information that are usually useful.
> 
> My 2 cents :-)
I'm in complete agreement with Tomek. This (proposed) change has security
implications. One gets used to the messages that scroll by. Which makes it
easier to notice different ones, which might implicate security related
problems. "Ignorance is bliss". But has its cost. While I can see a possible
interest by some for this change. I think 1) it should never be default,
2) the boot logo option already exists, and easily addresses the "noisiness"
complaint some may have.

Thanks for your interest.

-- 
sent from a device written from and running on FreeBSD