Page MenuHomeFreeBSD

loader: set boot_safe=YES when safe mode is selected
ClosedPublic

Authored by kevans on Sep 28 2021, 3:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 15, 4:05 PM
Unknown Object (File)
Sun, Dec 14, 12:02 AM
Unknown Object (File)
Mon, Dec 1, 5:12 PM
Unknown Object (File)
Nov 9 2025, 6:35 PM
Unknown Object (File)
Nov 7 2025, 4:01 AM
Unknown Object (File)
Nov 6 2025, 8:03 PM
Unknown Object (File)
Nov 5 2025, 11:10 PM
Unknown Object (File)
Nov 5 2025, 10:24 PM
Subscribers

Details

Summary

This may be used to disable or limit functionality of some services
when safe mode is selected.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41797
Build 38686: arc lint + arc unit

Event Timeline

stand/man/loader.8
391

Is it set or not? Or does its value matter. I recommend the former and that we document it like that...

stand/man/loader.8
391

Hmm, other boot_* style kenv officially check for set + not-"no", but I don't know if that's really common knowledge. I tend to agree with you, though, and I'll amend the documentation to reflect that.

stand/man/loader.8
391

Yea, , those are just to set rb_howto... this seems different.

Advise that only the presence of a value matters

Advise that only the presence of a value matters

I am a bit confused, nothing seems to check it (boot_safe variable, that is)?

Advise that only the presence of a value matters

I am a bit confused, nothing seems to check it (boot_safe variable, that is)?

Correct, I still need to poke through rc scripts and see if any others besides devmatch might make sense to avoid if boot_safe is set.

This revision is now accepted and ready to land.Sep 30 2021, 4:02 PM