add a question describing how to get around chflags failures when installing

a new kernel.

PR:		23106
Submitted by:	Mike Meyer <mwm@mired.org>
This commit is contained in:
Ben Smithurst 2000-11-26 13:23:17 +00:00
parent b4d759f49f
commit b1de3f2d6b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=8420
2 changed files with 54 additions and 2 deletions

View file

@ -15,7 +15,7 @@
</author>
</authorgroup>
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.123 2000/11/12 16:22:40 nik Exp $</pubdate>
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.124 2000/11/15 14:28:18 ben Exp $</pubdate>
<abstract>
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
@ -6560,6 +6560,32 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
will be renamed to 4.1-STABLE.</para>
</answer>
</qandaentry>
<qandaentry>
<question id="kernel-chflag-failure">
<para>I tried to install a new kernel, and the chflags failed.
How do I get around this?</para>
</question>
<answer>
<para>Short answer: You're probably at security level
greater than 0. Reboot directly to single user mode to
install the kernel.</para>
<para>Long answer: FreeBSD disallows changing system flags
at security levels greater than 0. You can check your
security level with the command:</para>
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
<para>You cannot lower the security level; you have to boot
to single mode to install the kernel, or change it in
<filename>/etc/rc.conf</filename> then reboot. See the
&man.init.8; man page for details on securelevel, and
see <filename>/etc/defaults/rc.conf</filename> and the
&man.rc.conf.5; man page for more information on rc.conf.</para>
</answer>
</qandaentry>
</qandaset>
</chapter>

View file

@ -15,7 +15,7 @@
</author>
</authorgroup>
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.123 2000/11/12 16:22:40 nik Exp $</pubdate>
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.124 2000/11/15 14:28:18 ben Exp $</pubdate>
<abstract>
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
@ -6560,6 +6560,32 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
will be renamed to 4.1-STABLE.</para>
</answer>
</qandaentry>
<qandaentry>
<question id="kernel-chflag-failure">
<para>I tried to install a new kernel, and the chflags failed.
How do I get around this?</para>
</question>
<answer>
<para>Short answer: You're probably at security level
greater than 0. Reboot directly to single user mode to
install the kernel.</para>
<para>Long answer: FreeBSD disallows changing system flags
at security levels greater than 0. You can check your
security level with the command:</para>
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
<para>You cannot lower the security level; you have to boot
to single mode to install the kernel, or change it in
<filename>/etc/rc.conf</filename> then reboot. See the
&man.init.8; man page for details on securelevel, and
see <filename>/etc/defaults/rc.conf</filename> and the
&man.rc.conf.5; man page for more information on rc.conf.</para>
</answer>
</qandaentry>
</qandaset>
</chapter>