From mandrews@mindcrime.termfrost.org  Mon Oct 13 20:13:40 1997
Received: from mindcrime.termfrost.org (mindcrime.termfrost.org [208.141.2.81])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA16238
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 Oct 1997 20:13:39 -0700 (PDT)
          (envelope-from mandrews@mindcrime.termfrost.org)
Received: (from mandrews@localhost)
	by mindcrime.termfrost.org (8.8.7/8.8.6/mindcrime-19970604) id XAA02063;
	Mon, 13 Oct 1997 23:13:28 -0400 (EDT)
Message-Id: <199710140313.XAA02063@mindcrime.termfrost.org>
Date: Mon, 13 Oct 1997 23:13:28 -0400 (EDT)
From: Mike Andrews <mandrews@termfrost.org>
Reply-To: mandrews@termfrost.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: /etc/rc won't run /etc/etc.i386/rc.i386
X-Send-Pr-Version: 3.2

>Number:         4758
>Category:       bin
>Synopsis:       /etc/rc won't run /etc/etc.i386/rc.i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 13 20:20:01 PDT 1997
>Closed-Date:    Tue Oct 14 00:07:08 PDT 1997
>Last-Modified:  Tue Oct 14 00:10:01 PDT 1997
>Originator:     Mike Andrews
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
>Environment:

FreeBSD mindcrime.termfrost.org 2.2-STABLE FreeBSD 2.2-STABLE #0: Sun Oct  5 15:59:18 EDT 1997     mandrews@mindcrime.termfrost.org:/usr/src/sys/compile/MINDCRIME  i386

>Description:

	Architecture specific stuff isn't getting run at boot time anymore.
	/usr/src/etc contains an etc.i386 directory, with an rc.i386 file,
	but /etc/rc looks for rc.i386 in /etc isntead of /etc/rc.i386.
	I noticed it when my screensaver stopped working, but for some people
	it could be more serious (i.e. Linux/SCO binary emulation not loading).
	Probably something to fix before 2.2.5 is built.

>How-To-Repeat:

	cp /usr/src/etc/rc* /etc
	configure a screensaver in /etc/rc.conf
	reboot
	watch it not load :)

>Fix:
	
	add "etc.${arch}/" to lines 238-239 of /etc/rc?

>Release-Note:
>Audit-Trail:

From: Tim Vanderhoek <tim@ppp1643.on.sympatico.ca>
To: Mike Andrews <mandrews@termfrost.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@hub.freebsd.org
Subject: Re: bin/4758: /etc/rc won't run /etc/etc.i386/rc.i386
Date: Tue, 14 Oct 1997 00:35:53 -0400 (EDT)

 On Mon, 13 Oct 1997, Mike Andrews wrote:
 
 > >Number:         4758
 > >Category:       bin
 > >Synopsis:       /etc/rc won't run /etc/etc.i386/rc.i386
 
 > 	Architecture specific stuff isn't getting run at boot time anymore.
 > 	/usr/src/etc contains an etc.i386 directory, with an rc.i386 file,
 > 	but /etc/rc looks for rc.i386 in /etc isntead of /etc/rc.i386.
                                                          ^^^^^^^^^
 					You mean
 					/etc/etc.i386/rc.i386, right?
 
 Are you sure?  My /etc/rc should be -stable as per a few days
 ago, and it executes
 
 /etc/rc.`uname -m`
 
 which is /etc/rc.i386, which is correct.
 
 [How-to-repeat]
 > 	cp /usr/src/etc/rc* /etc
 
 Uh...  I don't think you're allowed to do this...  try `make
 install' instead...  This should then copy the file
 /usr/src/etc/etc.i386/rc.i386 to /etc/rc.i386.  The directory
 src/etc/etc.i386 doesn't itself get copied to /etc.
 
 Makefiles exist for a reason.  Let them do their thing.  :-)
 
 And don't forget to backup your existing /etc, beforehand...  But
 you do backups, anyways, right?  ;-)
 
 This pr looks like it should be closed.
 
 
 --
  tIM...HOEk
 OPTIMIZATION: the process of using many one-letter variables names
               hoping that the resultant code will run faster.
 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Tue Oct 14 00:07:08 PDT 1997 
State-Changed-Why:  
This is not a bug - /etc/rc.i386 is supposed to be installed in /etc 
and is by the installation. 

From: Peter Wemm <peter@netplex.com.au>
To: ac199@hwcn.org
Cc: Mike Andrews <mandrews@termfrost.org>, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/4758: /etc/rc won't run /etc/etc.i386/rc.i386 
Date: Tue, 14 Oct 1997 15:04:13 +0800

 Tim Vanderhoek wrote:
 > On Mon, 13 Oct 1997, Mike Andrews wrote:
 > 
 > > >Number:         4758
 > > >Category:       bin
 > > >Synopsis:       /etc/rc won't run /etc/etc.i386/rc.i386
 > 
 > > 	Architecture specific stuff isn't getting run at boot time anymore.
 > > 	/usr/src/etc contains an etc.i386 directory, with an rc.i386 file,
 > > 	but /etc/rc looks for rc.i386 in /etc isntead of /etc/rc.i386.
 >                                                          ^^^^^^^^^
 > 					You mean
 > 					/etc/etc.i386/rc.i386, right?
 > 
 > Are you sure?  My /etc/rc should be -stable as per a few days
 > ago, and it executes
 > 
 > /etc/rc.`uname -m`
 > 
 > which is /etc/rc.i386, which is correct.
 
 I think the submitter is a bit confused. :-)  Just because the source tree 
 has src/etc/etc.i386/rc.i386, that doesn't mean that the file is installed 
 as /etc/etc.i386/rc.i386.. 
 
 Specifically..
 
 src/etc/etc.i386/rc.i386 -> /etc/rc.i386
 src/etc/etc.i386/disktab -> /etc/disktab
 src/etc/etc.i386/MAKEDEV -> /dev/MAKEDEV  (just to be wierd :-)
 
 Move rc.i386 from /etc/etc.i386/ to /etc/ and it'll work.
 
 Cheers,
 -Peter
 --
 Peter Wemm <peter@netplex.com.au>   Netplex Consulting
 
 
>Unformatted:
