From nobody Sun Feb 02 04:45:55 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ylxsf02Z1z5n12p for ; Sun, 02 Feb 2025 04:46:14 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ylxsc4gG6z3Jwq for ; Sun, 02 Feb 2025 04:46:12 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=h0o4D3qj; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::b2d) smtp.mailfrom=tomek@cedro.info; dmarc=none Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e46c6547266so3116409276.3 for ; Sat, 01 Feb 2025 20:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1738471571; x=1739076371; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ew4R/cry5rK6+NjOXmOXGCnKwL4CqYc7qBGkoghDEB0=; b=h0o4D3qjwYUGo46fvWm02bJ3ZuXL09QOa6HpAbaZftSAbWYNmAI8j9hZTekvLDtMHt UNUxRjDIbAcvRZIDEja5vkCMNHBPsHIKOxz6aWV516QHNGKhnwmV6DjxCbUxYFkHAemb rYfmMu+hTVM20MjJ3yM3KSUmqZbtji+fM4zcwM/tI/PjfoI0ks9iMvBh+UEj1Cwaf4xH HwQ6QPfBLOiLKLOZX6tu/7ZQ6YhGHyUG2lAZqybEobEVP0xBTVTgw1GNMABN/OTkT5/g E4/xx9Wgl/Q7qZ4V9qHUXOF365X4N7K9vtnoCNX4EgEXRAWT2ahy2wYxJsLuyTeC/3+g ueUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738471571; x=1739076371; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ew4R/cry5rK6+NjOXmOXGCnKwL4CqYc7qBGkoghDEB0=; b=eQfRU8tUuvUwV3jBFXouz5ZUf1Hi5WWERSPwob3rdYj+tLnVqNytNUNMiWrMlkPARx 1saElT2yCT6Y2zGCJsIVisWGBXB2etMXEVFQ07M75/efqVgSucMNA1JFl2Vhnt4Klwot Wq9nNZ1LRKbDIC64+LF7dCYxjtBAsl6I0fjCnt1zl+avTZiYr3tL3UDaTAf6zrN3PHEc lYstgveRGBaDvpTITsvY7x16yurMzp/cnXVb7D2p9GRfErKSQWLQkGkwng6LAu4s2Dp3 8U0CUWCV5wTBc+N6eDGxU15Cj2YTfdF6j9myWmgpfBzNbQqRYAowrGQrTdUAvnoh6s+S xK/g== X-Gm-Message-State: AOJu0Yzr6eENcP8sAiFhjj1Wc1di6flqmv8s1Ep5moNE05DdhELC8EIT 8Lxmky/ih1e4LCU76hl/fnabUFZ1nGMuf1vwr84LCck1N1KNtBwFMS8bZhWDea4ep9ks++i9bSI = X-Gm-Gg: ASbGncu46/nD/M7LyJ7Y9Z/wA/q/2zv4zGB9JKCqimHok5mdBERqMweB6ThvtsByZ7T ZSlWwCeu/6xfsXxmbrL6SFw20Py1WP3KVPMUFzDh+iORrpRUuzBFpCgibMsByZFklKrI/kIeJml Gqiy7N/118uPfPh9oWN+nkh3gcLfbunD0tR8JUAFO4bOIs2NTWBWkYW1VpW4g8gOfZfiYxgmI+b o1USQNL9WuP5CovO1qqMiDqoXoDbOCntX4KvO1X9gaEtTpAIF0cPYMupx+o1jFcIgNMm+Z02YSu QsmMP1qIurisLNwL743japytUG7m8v5l9+MXdTgEr45lg27F0iJ1 X-Google-Smtp-Source: AGHT+IEQ4Sco49Hv1evOojhS3jyoqpYun58GuU/kiuvpKv5bimBaT5sE8qhbqECGiBqEo4ZFU8bI/g== X-Received: by 2002:a05:6902:1025:b0:e58:a25d:5696 with SMTP id 3f1490d57ef6-e58a4c20389mr13028546276.45.1738471570994; Sat, 01 Feb 2025 20:46:10 -0800 (PST) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com. [209.85.219.179]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e5acb3dbcb0sm1480645276.50.2025.02.01.20.46.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Feb 2025 20:46:09 -0800 (PST) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-e587cca1e47so3677131276.0 for ; Sat, 01 Feb 2025 20:46:08 -0800 (PST) X-Received: by 2002:a05:6902:2401:b0:e4b:b2bd:5f94 with SMTP id 3f1490d57ef6-e58a4adcdfemr13163904276.13.1738471568577; Sat, 01 Feb 2025 20:46:08 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Sun, 2 Feb 2025 05:45:55 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AWEUYZkl4GjTJxhy7bf7W2jDkQe7CDJ_sR1IuE5ZXQgxjO1yfs9h4TIL8TsSxBk Message-ID: Subject: Re: Adjustments to userland for a quieter startup (RC system) To: "Steven Harms (High-Security Mail)" Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2d:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[cedro.info]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[cedro.info:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Ylxsc4gG6z3Jwq On Sun, Feb 2, 2025 at 1:18=E2=80=AFAM Tomek CEDRO wrote= : > On Sun, Feb 2, 2025 at 12:16=E2=80=AFAM Steven Harms (High-Security Mail) > wrote: > > Greetings, > > I have created https://github.com/freebsd/freebsd-src/pull/1582 in an e= ffort to quiet down some of the chattiness of module linking and network di= agnostics on startup. I'm used to working in a git-based workflow and saw n= o action on the PR, so I thought I would notify here. If that's not the cor= rect 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/50c962d773705f60d32c29f8e4bb274= 3ab55733b/libexec/rc/rc.conf#L29 * There is already `rc_startmsg` that may be used? https://github.com/freebsd/freebsd-src/blob/50c962d773705f60d32c29f8e4bb274= 3ab55733b/libexec/rc/rc.conf#L30 * If really necessary `_msgs` can be replaced with `_verbose` suffix? https://github.com/freebsd/freebsd-src/blob/50c962d773705f60d32c29f8e4bb274= 3ab55733b/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 :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info