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, Apr 23, 6:56 AM
Unknown Object (File)
Sun, Apr 20, 4:17 AM
Unknown Object (File)
Sat, Apr 19, 10:00 PM
Unknown Object (File)
Sat, Apr 19, 9:35 PM
Unknown Object (File)
Sat, Apr 19, 8:52 PM
Unknown Object (File)
Sat, Apr 19, 8:50 PM
Unknown Object (File)
Sat, Apr 19, 8:49 PM
Unknown Object (File)
Sat, Apr 19, 8:40 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 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