|
Lines 6560-6565
Link Here
|
| 6560 |
will be renamed to 4.1-STABLE.</para> |
6560 |
will be renamed to 4.1-STABLE.</para> |
| 6561 |
</answer> |
6561 |
</answer> |
| 6562 |
</qandaentry> |
6562 |
</qandaentry> |
|
|
6563 |
|
| 6564 |
<qandaentry> |
| 6565 |
<question id="kernel-chflag-failure"> |
| 6566 |
<para>I tried to install a new kernel, and the chflags failed. |
| 6567 |
How do I get around this?</para> |
| 6568 |
</question> |
| 6569 |
|
| 6570 |
<answer> |
| 6571 |
<para>Short answer: You're probably at security level |
| 6572 |
greater than 0. Reboot directly to single user mode to |
| 6573 |
install the kernel.</para> |
| 6574 |
|
| 6575 |
<para>Long answer: FreeBSD disallows changing system flags |
| 6576 |
at security levels greater than 0. You can check your |
| 6577 |
security level with the command:</para> |
| 6578 |
|
| 6579 |
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen> |
| 6580 |
|
| 6581 |
<para>You cannot lower the security level; you have to boot |
| 6582 |
to single mode to install the kernel, or change it in |
| 6583 |
<filename>/etc/rc.conf</filename> then reboot. See the |
| 6584 |
&man.init.8 man page for details on securelevel, and |
| 6585 |
<filename>/etc/defaults/rc.conf</filename> for more |
| 6586 |
information on rc.conf.</para> |
| 6587 |
</answer> |
| 6588 |
</qandaentry> |
| 6563 |
</qandaset> |
6589 |
</qandaset> |
| 6564 |
</chapter> |
6590 |
</chapter> |