[Bug 207069] setting loader password in loader.conf disallows boot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 24 06:02:35 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207069
--- Comment #1 from david at dcrosstech.com ---
Created attachment 167348
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167348&action=edit
Works for me!
uses getenv on 'kernelname' to see if the kernel is loaded (copied from other
places in the code), if it is, calls load_kernel and load_modules (attempted
with load_kernel_and_modules, but that was throwing a stack underflow, and I
don't understand the code well enough to just throw things onto the stack,
other parts of the code was also calling load_kernel and load_modules
separately), and then continue and execute autoboot as normal, restoring the
functionality from 10.1 and earlier.
Testing under the following conditions:
1) no password set -- doesn't delay boot, or interfere with anthing as
expected
2) password set -- autboot as designed, asks for password if interrupted.
3) password set and kernel loaded -- does not attempt to reload kenrel or
modules, continutes with autoboot
4) zfs_load="yes" set in loader.conf loads kernel and zfs module, continues
with autoboot.
Untested:modules loaded, but no kernel. Is this even legal/supported?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list