Date: Sun, 2 Feb 2025 05:45:55 +0100 From: Tomek CEDRO <tomek@cedro.info> To: "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: Adjustments to userland for a quieter startup (RC system) Message-ID: <CAFYkXjnEW8G03VKw4B77-aMQFnPLH7RZQApxWqCZpts5rpQWiA@mail.gmail.com> In-Reply-To: <CAFYkXjmN7ma1GDuFP5p3KdHJtoO9Yri-iNLtuOL6mDKx91CBhA@mail.gmail.com> References: <JDv17dtjl93rFR9A8XB9qHlawC2oW7JmmXWsnMKq2r51p61si48CAAOzIBi6pY_nTMdJ7zCvSL6M-Hics-CrqLhDJjZP2SG0v1zEHqH8Ug4=@stevengharms.com> <CAFYkXjmN7ma1GDuFP5p3KdHJtoO9Yri-iNLtuOL6mDKx91CBhA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Sun, Feb 2, 2025 at 1:18 AM Tomek CEDRO <tomek@cedro.info> 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 :-) Okay, I am sorry, I mixed the general idea with detailed PR that aims just updating routing and devmatch parts with user selectable option not changing a defaults, thus my previous remarks are invalid and updated, I apologize! :-) * There is already `rc_info` that may be used? https://github.com/freebsd/freebsd-src/blob/50c962d773705f60d32c29f8e4bb2743ab55733b/libexec/rc/rc.conf#L29 * There is already `rc_startmsg` that may be used? https://github.com/freebsd/freebsd-src/blob/50c962d773705f60d32c29f8e4bb2743ab55733b/libexec/rc/rc.conf#L30 * If really necessary `_msgs` can be replaced with `_verbose` suffix? https://github.com/freebsd/freebsd-src/blob/50c962d773705f60d32c29f8e4bb2743ab55733b/libexec/rc/rc.conf#L568 * Adding `routing_flags` seems okay as `-q` may be set that way :-) * I guess the idea is to silence the terminal? How many flags need to be put to silent instead just one? Why not just put a boot logo image if you really do not want to see the boot messages? It may provide expected user experience and will not impact diagnostic information that are usually useful :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.infohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnEW8G03VKw4B77-aMQFnPLH7RZQApxWqCZpts5rpQWiA>
