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)
Wed, Feb 4, 10:44 PM
Unknown Object (File)
Sat, Jan 31, 3:27 PM
Unknown Object (File)
Mon, Jan 26, 3:41 PM
Unknown Object (File)
Sun, Jan 25, 4:16 PM
Unknown Object (File)
Sun, Jan 25, 5:33 AM
Unknown Object (File)
Jan 1 2026, 4:00 AM
Unknown Object (File)
Jan 1 2026, 4:00 AM
Unknown Object (File)
Jan 1 2026, 4:00 AM
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 41800
Build 38689: 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