Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 23:21:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-i386@FreeBSD.org
Subject:   [Bug 206300] /boot/defaults/loader.conf nextboot_enable should have a doc comment
Message-ID:  <bug-206300-10@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206300

            Bug ID: 206300
           Summary: /boot/defaults/loader.conf nextboot_enable should have
                    a doc comment
           Product: Base System
           Version: 10.2-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: joelh@piquan.org
                CC: freebsd-i386@FreeBSD.org
                CC: freebsd-i386@FreeBSD.org

In /boot/defaults/loader.conf, there is an option nextboot_enable=3D"NO".  =
From
this name, I thought that this would need to be enabled for the nextboot(8)
command to work.

In actuality, it needs to be "NO" under normal circumstances, and is change=
d to
"YES" by nextboot(8).  Turning it on when nextboot.conf isn't written used =
to
be harmless, but after some recent loader.4th changes, it now causes the
bootloader to get a stack underflow and fail.

It would be useful to add a comment to /boot/defaults/loader.conf describing
the variable's correct use.  For instance:

# Temporarily set to "YES" by nextboot(8) in nextboot_conf to request speci=
al
processing

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206300-10>