Bug 255207 - rc_startmsgs: Silence "Starting ..." messages
Summary: rc_startmsgs: Silence "Starting ..." messages
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-rc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-19 04:40 UTC by Jose Luis Duran
Modified: 2021-04-20 07:51 UTC (History)
2 users (show)

See Also:


Attachments
Allow silencing of netif startmsgs. (372 bytes, patch)
2021-04-19 04:40 UTC, Jose Luis Duran
no flags Details | Diff
Address @rgrimes suggestions (2.60 KB, patch)
2021-04-20 06:53 UTC, Jose Luis Duran
no flags Details | Diff
Start with the easy ones first. (1.11 KB, patch)
2021-04-20 07:13 UTC, Jose Luis Duran
no flags Details | Diff
Easy fixes first. (2.10 KB, patch)
2021-04-20 07:51 UTC, Jose Luis Duran
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Duran 2021-04-19 04:40:43 UTC
Created attachment 224239 [details]
Allow silencing of netif startmsgs.

By rc.conf(5), setting `rc_startmsgs="NO"` should silence netif's "Starting Network: lo0 ...".
Comment 1 Rodney W. Grimes freebsd_committer 2021-04-19 13:10:24 UTC
This fixes one of many cases.  A quick grep of /etc/rc.d indicates that at least jail, local, ppp, pppoed and rfcomm_pppd_server may also be ignoring the rc_startmsgs control.
Comment 2 Jose Luis Duran 2021-04-20 06:53:05 UTC
Created attachment 224275 [details]
Address @rgrimes suggestions

There is another case, /etc/network.subr invokes wpa_supplicant/hostapd start, and the message "Starting wpa_supplicant." is displayed. I don't know how to best address this one.

Thank you!
Comment 3 Jose Luis Duran 2021-04-20 07:13:49 UTC
Created attachment 224278 [details]
Start with the easy ones first.

The previous patch was wrong.
Comment 4 Jose Luis Duran 2021-04-20 07:51:51 UTC
Created attachment 224281 [details]
Easy fixes first.