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
F107915950: D32172.diff
Sun, Jan 19, 9:16 AM
Unknown Object (File)
Wed, Jan 15, 4:12 PM
Unknown Object (File)
Sun, Jan 12, 8:02 AM
Unknown Object (File)
Mon, Jan 6, 10:41 AM
Unknown Object (File)
Mon, Jan 6, 7:14 AM
Unknown Object (File)
Mon, Jan 6, 6:51 AM
Unknown Object (File)
Mon, Jan 6, 5:10 AM
Unknown Object (File)
Mon, Jan 6, 2:57 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