Subject: Re: HELP ON 1.3 BOOT
To: None <port-mac68k@NetBSD.ORG>
From: Nico van Eikema Hommes <hommes@ccc.uni-erlangen.de>
List: port-mac68k
Date: 11/16/1997 08:40:19
    Hi,

>>> at the end of the boot I get
>>> /etc/rc.conf is not configured.  Multiuser aborted
>>> help.  I am fairly new to BSD so I don't know all the configs
>>Basically, you need to boot into single-user and edit the file
>>/etc/rc.conf so that the line that currently says:
>>rc_configured=NO
>>says
>>rc_configured=YES
>>instead.
>You'll probably want to make other changes while you're in there
>(if you haven't already ;-).
>You'll want to `mount -u /` before editing the file so you can
>write it back.

We're in the phase of testing 1.3alpha to locate bugs, aren't we?
I'd definitely consider this a bug, not a cute new feature.
Forcing a user (in particular if (s)he is new to netbsd) to fiddle
with files while in single user mode, without giving any instructions
on what to do, is ridiculous. Even the above is incorrect, since it does
not include the necessary "fsck -p" (which no doubt will fail too for
a lot of people for yet another confusing reason).

IIRC, "RC_CONFIGURED" was introduced to increase security, i.e. to avoid
letting the machine boot in multi-user in an insecure setup. The advice
given above means "forget it, be as insecure as it used to be". I'm aware
that this is NetBSD, not OpenBSD (which is sooo much more secure :-), but
we nevertheless should care about security sufficiently.

An improvement might be:
* with RC_CONFIGURED == YES, boot the usual way;
* otherwise, boot with a minimal configuration, in particular without any
  network setup, and print a nice warning like "/etc/rc.conf is not yet
  configured. Edit this file to enable the functions you want. See
  man rc.conf(8) for more information". (it should be 8, shouldn't it?)

It would be nice if someone actively involved in preparing the 1.3 release
could forward this to the proper list. Thanks.

Best wishes,

        Nico

--
  Dr. N.J.R. van Eikema Hommes     Computer-Chemie-Centrum
  hommes@ccc.uni-erlangen.de       Universitaet Erlangen-Nuernberg
  Phone:    +49-(0)9131-856532     Naegelsbachstr. 25
  FAX:      +49-(0)9131-856566     D-91052 Erlangen, Germany