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, Sep 30, 2:15 PM
Unknown Object (File)
Wed, Sep 30, 12:25 PM
Unknown Object (File)
Tue, Sep 29, 3:55 AM
Unknown Object (File)
Wed, Sep 23, 10:39 AM
Unknown Object (File)
Sat, Sep 12, 7:46 PM
Unknown Object (File)
Sat, Sep 12, 7:12 PM
Unknown Object (File)
Mon, Sep 7, 11:42 PM
Unknown Object (File)
Sep 1 2026, 7:22 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 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