From owner-cvs-etc  Sun Sep 17 20:38:00 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id UAA29261
          for cvs-etc-outgoing; Sun, 17 Sep 1995 20:38:00 -0700
Received: (from davidg@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id UAA29239
          ; Sun, 17 Sep 1995 20:37:52 -0700
Date: Sun, 17 Sep 1995 20:37:52 -0700
From: David Greenman <davidg>
Message-Id: <199509180337.UAA29239@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc/mtree BSD.usr.dist
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

davidg      95/09/17 20:37:51

  Branch:      etc/mtree  RELENG_2_1_0
  Modified:    etc/mtree  BSD.usr.dist
  Log:
  Brought in changes from revs 1.41 and 1.43: add share/nls/C and targets
  for FAQ and handbook.

From owner-cvs-etc  Mon Sep 18 00:38:28 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id AAA06447
          for cvs-etc-outgoing; Mon, 18 Sep 1995 00:38:28 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id AAA06438
          ; Mon, 18 Sep 1995 00:38:20 -0700
Date: Mon, 18 Sep 1995 00:38:20 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509180738.AAA06438@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/18 00:38:19

  Modified:    etc       rc
  Log:
  Add support for /etc/rc.local.d directory, ala SYSV.  If the purists
  don't like it, they don't have to use it.  The check makes sure that
  /etc/rc.local.d exists before attempting to do anything with it.  Now
  packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
  in order to get local startup behavior.  Maybe we can stop adding
  knobs to /etc/sysconfig for ports/packages now?
  Submitted by:	wollman & jkh

From owner-cvs-etc  Mon Sep 18 01:13:21 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id BAA07655
          for cvs-etc-outgoing; Mon, 18 Sep 1995 01:13:21 -0700
Received: from ref.tfs.com (ref.tfs.com [140.145.254.251])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA07649
          ; Mon, 18 Sep 1995 01:13:13 -0700
Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id BAA01253; Mon, 18 Sep 1995 01:13:11 -0700
From: Julian Elischer <julian@ref.tfs.com>
Message-Id: <199509180813.BAA01253@ref.tfs.com>
Subject: Re: cvs commit: src/etc rc
To: jkh@freefall.freebsd.org (Jordan K. Hubbard)
Date: Mon, 18 Sep 1995 01:13:10 -0700 (PDT)
Cc: CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <199509180738.AAA06438@freefall.freebsd.org> from "Jordan K. Hubbard" at Sep 18, 95 00:38:20 am
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 540       
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

YAY!
> 
> jkh         95/09/18 00:38:19
> 
>   Modified:    etc       rc
>   Log:
>   Add support for /etc/rc.local.d directory, ala SYSV.  If the purists
>   don't like it, they don't have to use it.  The check makes sure that
>   /etc/rc.local.d exists before attempting to do anything with it.  Now
>   packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
>   in order to get local startup behavior.  Maybe we can stop adding
>   knobs to /etc/sysconfig for ports/packages now?
>   Submitted by:	wollman & jkh
> 


From owner-cvs-etc  Mon Sep 18 06:51:31 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id GAA16365
          for cvs-etc-outgoing; Mon, 18 Sep 1995 06:51:31 -0700
Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA16360
          ; Mon, 18 Sep 1995 06:51:26 -0700
Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id OAA14322; Mon, 18 Sep 1995 14:51:24 +0100
From: Paul Richards <paul@netcraft.co.uk>
Message-Id: <199509181351.OAA14322@server.netcraft.co.uk>
Subject: Re: cvs commit: src/etc rc
To: jkh@freefall.freebsd.org (Jordan K. Hubbard)
Date: Mon, 18 Sep 1995 14:51:23 +0100 (BST)
Cc: CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <199509180738.AAA06438@freefall.freebsd.org> from "Jordan K. Hubbard" at Sep 18, 95 00:38:20 am
Reply-to: paul@FreeBSD.org
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Length: 2020      
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

In reply to Jordan K. Hubbard who said
> 
> jkh         95/09/18 00:38:19
> 
>   Modified:    etc       rc
>   Log:
>   Add support for /etc/rc.local.d directory, ala SYSV.  If the purists
>   don't like it, they don't have to use it.  The check makes sure that
>   /etc/rc.local.d exists before attempting to do anything with it.  Now
>   packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
>   in order to get local startup behavior.  Maybe we can stop adding
>   knobs to /etc/sysconfig for ports/packages now?
>   Submitted by:	wollman & jkh

Yuck, not because of SYSV but because of packages sticking stuff
in /etc.  I keep my root partition  small and as read only as
possible. This breaks that philosphy big time since it can grow
without bounds as I add packages.

I'm not happy about this at all since we had a long discussion
about this on ports and I came up with a perfectly workable solution
that has basically being ignored, but I guess Jordan knows best.

Here was my proposal, I'd have liked to hear reasons against it before
implementing a solution that I had already raised objections to.

--------------------

Seriously, what I'd suggest is that a knob be added to /etc/sysconfig
such as

packages_startup= /usr/local/etc

and then the package installation code honour that flag and use it to
place their startup files. We just need one hook in /etc then that calls
something in packages_startup. If Satoshi thinks up a simple registration
system, such as just adding a line to packages_startup/startme, then
this will all work with little effort and we avoid lots of little files
getting added to /etc for each installed package.

Installing a package is then a process of, checking /etc/sysconfig to
see where package startup files go, installing them there and doing
any other mess with startup files there instead of /etc.

-- 
  Paul Richards, Netcraft Ltd.
  Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk
  Phone: 0370 462071 (Mobile), +44 1225 447500 (work)

From owner-cvs-etc  Mon Sep 18 07:20:56 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id HAA17169
          for cvs-etc-outgoing; Mon, 18 Sep 1995 07:20:56 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA17161
          ; Mon, 18 Sep 1995 07:20:46 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id HAA26408; Mon, 18 Sep 1995 07:20:39 -0700
To: paul@FreeBSD.org
cc: jkh@freefall.freebsd.org (Jordan K. Hubbard),
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc 
In-reply-to: Your message of "Mon, 18 Sep 1995 14:51:23 BST."
             <199509181351.OAA14322@server.netcraft.co.uk> 
Date: Mon, 18 Sep 1995 07:20:38 -0700
Message-ID: <26406.811434038@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> Yuck, not because of SYSV but because of packages sticking stuff
> in /etc.  I keep my root partition  small and as read only as
> possible. This breaks that philosphy big time since it can grow
> without bounds as I add packages.

In theory, yes, but there are two mitigating factors:

	1. Very few packages need to fuss with this.  A very small
	   handful of utilities, from gated to apache, actually have
	   "system startup" behavior.  I rather doubt that people will
	   be starting emacs or tclsh from here.. :-)

	2. Such startup files are typically going to be *very small*,
	   say one or two lines.  Even the most bit starved root
	   would be unlikely to fall over from this.

> I'm not happy about this at all since we had a long discussion
> about this on ports and I came up with a perfectly workable solution
> that has basically being ignored, but I guess Jordan knows best.

I don't remember this discussion and I certainly wasn't ignoring it
when I committed the change.  It was more a matter of me cleaning out
my inbox and finding this old proposal from Garrett..

Honestly, I don't know why you always have to be so confrontational in
bringing up such issues!  "Jordan knows best" is hardly my attitude, I
was simply trying to do some good and folks like Julian have already
been quite enthusiastic in their support for it.  Rather than assuming
us nasty U.S. people have it in for you personally at each and every
turn, you might perhaps try assuming innocence before guilt?  I can
assure you, you'll have *far* fewer fights that way!

As a point of fact, I see no reason why *both* mechanisms could easily
exist.  /etc/rc.local.d for system local changes and
/usr/local/etc/rc.local.d for truly local ones.  The only objection I
could see being raised is that invoking things out of /usr/local/etc
at startup time (and while root) could be construed as a massive
security hole.  Especially if you're mounting your /usr/local from a
common fileserver for which you've no control.

Thoughts, folks?  I'm not an unreasonable person and have no axes to
grind where this change is concerned.

					Jordan

From owner-cvs-etc  Mon Sep 18 07:27:55 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id HAA17439
          for cvs-etc-outgoing; Mon, 18 Sep 1995 07:27:55 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA17430
          ; Mon, 18 Sep 1995 07:27:46 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id HAA27760; Mon, 18 Sep 1995 07:27:42 -0700
To: paul@FreeBSD.org, jkh@freefall.freebsd.org (Jordan K. Hubbard),
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc 
In-reply-to: Your message of "Mon, 18 Sep 1995 07:20:38 PDT."
             <26406.811434038@time.cdrom.com> 
Date: Mon, 18 Sep 1995 07:27:41 -0700
Message-ID: <27758.811434461@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> As a point of fact, I see no reason why *both* mechanisms could easily
> exist.  /etc/rc.local.d for system local changes and

Whoops, embarassing typo that:  "couldn't easily exist"

					Jordan

From owner-cvs-etc  Mon Sep 18 08:12:08 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id IAA19025
          for cvs-etc-outgoing; Mon, 18 Sep 1995 08:12:08 -0700
Received: from critter.tfs.com ([140.145.230.252])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA19017
          ; Mon, 18 Sep 1995 08:11:53 -0700
Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id IAA06943; Mon, 18 Sep 1995 08:11:22 -0700
X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol
To: paul@FreeBSD.org
cc: jkh@freefall.freebsd.org (Jordan K. Hubbard),
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc 
In-reply-to: Your message of "Mon, 18 Sep 1995 14:51:23 BST."
             <199509181351.OAA14322@server.netcraft.co.uk> 
Date: Mon, 18 Sep 1995 08:11:22 -0700
Message-ID: <6941.811437082@critter.tfs.com>
From: Poul-Henning Kamp <phk@critter.tfs.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> Seriously, what I'd suggest is that a knob be added to /etc/sysconfig
> such as
> 
> packages_startup= /usr/local/etc
You mean:
  packages_startup= /usr/local/etc/rc.d

Yes indeed, good thinking, but can we not have both then ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Just that: dried leaves in boiling water ?

From owner-cvs-etc  Mon Sep 18 08:31:49 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id IAA19935
          for cvs-etc-outgoing; Mon, 18 Sep 1995 08:31:49 -0700
Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA19899
          ; Mon, 18 Sep 1995 08:31:23 -0700
Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id QAA15420; Mon, 18 Sep 1995 16:31:14 +0100
From: Paul Richards <paul@netcraft.co.uk>
Message-Id: <199509181531.QAA15420@server.netcraft.co.uk>
Subject: Re: cvs commit: src/etc rc
To: phk@critter.tfs.com (Poul-Henning Kamp)
Date: Mon, 18 Sep 1995 16:31:13 +0100 (BST)
Cc: paul@FreeBSD.org, jkh@freefall.freebsd.org,
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <6941.811437082@critter.tfs.com> from "Poul-Henning Kamp" at Sep 18, 95 08:11:22 am
Reply-to: paul@FreeBSD.org
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Length: 1064      
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

In reply to Poul-Henning Kamp who said
> 
> > Seriously, what I'd suggest is that a knob be added to /etc/sysconfig
> > such as
> > 
> > packages_startup= /usr/local/etc
> You mean:
>   packages_startup= /usr/local/etc/rc.d

Or even 

	 packages_startup= /etc/rc.local.d

the point is, the sysadmin has control over local configuration issues.
If packages aren't used at all then there's no extra baggage.

> 
> Yes indeed, good thinking, but can we not have both then ?

Umm, seems a bit silly that! In any case, I'm against what Jordan
has implemented since I've got no way to stop it working that way
as a local admin. This is only part of the change, the package
installation code now has to be modified to register packages in
that area and with Jordan's proposal that would be a hard wired
path that would be very hard to change at a future date and a
nightmare to change for a different local configuration.

-- 
  Paul Richards, Netcraft Ltd.
  Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk
  Phone: 0370 462071 (Mobile), +44 1225 447500 (work)

From owner-cvs-etc  Mon Sep 18 11:50:08 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id LAA26257
          for cvs-etc-outgoing; Mon, 18 Sep 1995 11:50:08 -0700
Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA26246
          ; Mon, 18 Sep 1995 11:50:01 -0700
Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id LAA04250; Mon, 18 Sep 1995 11:49:46 -0700
From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
Message-Id: <199509181849.LAA04250@GndRsh.aac.dev.com>
Subject: Re: cvs commit: src/etc rc
To: phk@critter.tfs.com (Poul-Henning Kamp)
Date: Mon, 18 Sep 1995 11:49:45 -0700 (PDT)
Cc: paul@freebsd.org, jkh@freefall.freebsd.org,
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <6941.811437082@critter.tfs.com> from "Poul-Henning Kamp" at Sep 18, 95 08:11:22 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 540       
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

> 
> > Seriously, what I'd suggest is that a knob be added to /etc/sysconfig
> > such as
> > 
> > packages_startup= /usr/local/etc
> You mean:
>   packages_startup= /usr/local/etc/rc.d
> 
> Yes indeed, good thinking, but can we not have both then ?

Could you simply change that into a ``Path'' type variable:
packages_startup=/usr/local/etc:/usr/local/etc/rc.d:/usr/share/etc


????


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD

From owner-cvs-etc  Mon Sep 18 12:17:20 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id MAA27061
          for cvs-etc-outgoing; Mon, 18 Sep 1995 12:17:20 -0700
Received: (from paul@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id MAA27052
          ; Mon, 18 Sep 1995 12:17:15 -0700
Date: Mon, 18 Sep 1995 12:17:15 -0700
From: Paul Richards <paul>
Message-Id: <199509181917.MAA27052@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

paul        95/09/18 12:17:15

  Modified:    etc       rc sysconfig
  Log:
  Removed startup code for pcnfsd and apache. These don't even exist
  in FreeBSD and should never have got in here.
  
  Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
  solution.
  
  Added a local configuration area to sysconfig.

From owner-cvs-etc  Mon Sep 18 12:36:18 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id MAA27785
          for cvs-etc-outgoing; Mon, 18 Sep 1995 12:36:18 -0700
Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA27773
          ; Mon, 18 Sep 1995 12:35:48 -0700
Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1])
	by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id VAA04803
	; Mon, 18 Sep 1995 21:35:36 +0200
Received: from (uucp@localhost)
	by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id VAA02313
	; Mon, 18 Sep 1995 21:35:35 +0200
Received: (from roberto@localhost) by keltia.Freenix.FR (8.7.Beta.14/keltia-uucp-2.4) id UAA07647; Mon, 18 Sep 1995 20:00:44 +0200 (MET DST)
From: Ollivier Robert <roberto@keltia.Freenix.FR>
Message-Id: <199509181800.UAA07647@keltia.Freenix.FR>
Subject: Re: cvs commit: src/etc rc
To: jkh@freefall.freebsd.org (Jordan K. Hubbard)
Date: Mon, 18 Sep 1995 20:00:44 +0200 (MET DST)
Cc: CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <199509180738.AAA06438@freefall.freebsd.org> from "Jordan K. Hubbard" at Sep 18, 95 00:38:20 am
X-Operating-System: FreeBSD 2.2-CURRENT ctm#1085
X-Mailer: ELM [version 2.4 PL24 ME7a+]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

It seems that Jordan K. Hubbard said:
> jkh         95/09/18 00:38:19
> 
>   Modified:    etc       rc
>   Log:
>   Add support for /etc/rc.local.d directory, ala SYSV.  If the purists

Nice    indeed.  Now, can    we  implement  a   proper /etc/rc.shutdown  or
/etc/rc.shutdown.d  *please*. I already have  a  patch for /etc/rc.shutdown
(as a file) but the discussion a while ago about it leaded to modifications
to  the way reboot/halt/init  worked (mainly put init in  charge of all the
work and making reboot/halt just send a signal to init). 

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
 FreeBSD keltia.Freenix.FR 2.2-CURRENT #1: Sun Sep 10 18:50:19 MET DST 1995

From owner-cvs-etc  Mon Sep 18 17:10:04 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id RAA12673
          for cvs-etc-outgoing; Mon, 18 Sep 1995 17:10:04 -0700
Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA12658
          ; Mon, 18 Sep 1995 17:09:45 -0700
Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id RAA04926; Mon, 18 Sep 1995 17:09:37 -0700
From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
Message-Id: <199509190009.RAA04926@GndRsh.aac.dev.com>
Subject: Re: cvs commit: src/etc/root dot.cshrc
To: nate@freefall.freebsd.org (Nate Williams)
Date: Mon, 18 Sep 1995 17:09:36 -0700 (PDT)
Cc: CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
In-Reply-To: <199509181953.MAA28597@freefall.freebsd.org> from "Nate Williams" at Sep 18, 95 12:53:44 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 346       
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> 
> nate        95/09/18 12:53:43
> 
>   Modified:    etc/root  dot.cshrc
>   Log:
>   Fix the cdpath to find utilities in the gnu src tree.

Thanks.. and can we have that uncommented???  


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD

From owner-cvs-etc  Mon Sep 18 17:37:25 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id RAA15725
          for cvs-etc-outgoing; Mon, 18 Sep 1995 17:37:25 -0700
Received: from rocky.sri.MT.net (sri.MT.net [204.94.231.129])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA15709
          ; Mon, 18 Sep 1995 17:37:17 -0700
Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id SAA23823; Mon, 18 Sep 1995 18:39:15 -0600
Date: Mon, 18 Sep 1995 18:39:15 -0600
From: Nate Williams <nate@rocky.sri.MT.net>
Message-Id: <199509190039.SAA23823@rocky.sri.MT.net>
To: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
Cc: nate@freefall.freebsd.org (Nate Williams),
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc/root dot.cshrc
In-Reply-To: <199509190009.RAA04926@GndRsh.aac.dev.com>
References: <199509181953.MAA28597@freefall.freebsd.org>
	<199509190009.RAA04926@GndRsh.aac.dev.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> >   Fix the cdpath to find utilities in the gnu src tree.
> 
> Thanks.. and can we have that uncommented???  
> 

Nope, because 'csh' blows chunks in the cdpath when the directories
don't exist, and IF the sources aren't installed the directories won't
exist.


Nate

From owner-cvs-etc  Mon Sep 18 19:04:51 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id TAA22999
          for cvs-etc-outgoing; Mon, 18 Sep 1995 19:04:51 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA22972
          ; Mon, 18 Sep 1995 19:04:28 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id TAA29945; Mon, 18 Sep 1995 19:04:14 -0700
To: Ollivier Robert <roberto@keltia.Freenix.FR>
cc: jkh@freefall.freebsd.org (Jordan K. Hubbard),
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc 
In-reply-to: Your message of "Mon, 18 Sep 1995 20:00:44 +0200."
             <199509181800.UAA07647@keltia.Freenix.FR> 
Date: Mon, 18 Sep 1995 19:04:13 -0700
Message-ID: <29943.811476253@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

Too late.  Paul has already taken it upon himself to remove my
changes, so I can only expect that he has some grander scheme in mind.
In any case, this is in his court now.  I expect him to implement a
complete solution.

> It seems that Jordan K. Hubbard said:
> > jkh         95/09/18 00:38:19
> > 
> >   Modified:    etc       rc
> >   Log:
> >   Add support for /etc/rc.local.d directory, ala SYSV.  If the purists
> 
> Nice    indeed.  Now, can    we  implement  a   proper /etc/rc.shutdown  or
> /etc/rc.shutdown.d  *please*. I already have  a  patch for /etc/rc.shutdown
> (as a file) but the discussion a while ago about it leaded to modifications
> to  the way reboot/halt/init  worked (mainly put init in  charge of all the
> work and making reboot/halt just send a signal to init). 
> 
> -- 
> Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
>  FreeBSD keltia.Freenix.FR 2.2-CURRENT #1: Sun Sep 10 18:50:19 MET DST 1995


From owner-cvs-etc  Mon Sep 18 21:45:56 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id VAA02489
          for cvs-etc-outgoing; Mon, 18 Sep 1995 21:45:56 -0700
Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA02478
          ; Mon, 18 Sep 1995 21:45:49 -0700
Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id VAA05196; Mon, 18 Sep 1995 21:45:35 -0700
From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
Message-Id: <199509190445.VAA05196@GndRsh.aac.dev.com>
Subject: Re: cvs commit: src/etc/root dot.cshrc
To: nate@rocky.sri.MT.net (Nate Williams)
Date: Mon, 18 Sep 1995 21:45:34 -0700 (PDT)
Cc: nate@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org,
        cvs-etc@freefall.freebsd.org
In-Reply-To: <199509190039.SAA23823@rocky.sri.MT.net> from "Nate Williams" at Sep 18, 95 06:39:15 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1046      
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> 
> > >   Fix the cdpath to find utilities in the gnu src tree.
> > 
> > Thanks.. and can we have that uncommented???  
> > 
> 
> Nope, because 'csh' blows chunks in the cdpath when the directories
> don't exist, and IF the sources aren't installed the directories won't
> exist.

Excuse me???

SkyRsh# set cdpath=(/arg /foo /bar /zap /what)
SkyRsh# ls /
.cshrc          bin             kernel          proc            tmp3
.profile        c               kernel.GENERIC  root            usr
COPYRIGHT       cdrom           kernel.last     sbin            var
Yikes           dev             kernel.old      sys
a               etc             lkm             tmp
b               home            mnt             tmp2
SkyRsh# 
SkyRsh# cd apple
foo: No such file or directory.
SkyRsh# mkdir -p /foo/apple
SkyRsh# cd apple
/foo/apple 
SkyRsh# 


Now, what is this about ``blows chunks????''.


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD

From owner-cvs-etc  Mon Sep 18 21:57:41 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id VAA03349
          for cvs-etc-outgoing; Mon, 18 Sep 1995 21:57:41 -0700
Received: (from nate@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id VAA03318
          ; Mon, 18 Sep 1995 21:57:37 -0700
Date: Mon, 18 Sep 1995 21:57:37 -0700
From: Nate Williams <nate>
Message-Id: <199509190457.VAA03318@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc/root dot.cshrc
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

nate        95/09/18 21:57:36

  Modified:    etc/root  dot.cshrc
  Log:
  Added /usr/src/sys/compile to cdpath.
  
  Set cdpath instead of leaving it commented out.

From owner-cvs-etc  Mon Sep 18 22:26:12 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id WAA06817
          for cvs-etc-outgoing; Mon, 18 Sep 1995 22:26:12 -0700
Received: from meter.eng.uci.edu (root@meter.eng.uci.edu [128.200.85.3])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA06802
          ; Mon, 18 Sep 1995 22:26:04 -0700
Received: from newport.ece.uci.edu by meter.eng.uci.edu (8.6.12) id WAA11744; Mon, 18 Sep 1995 22:26:02 -0700
Received: from localhost by newport.ece.uci.edu (8.6.12) id WAA11426; Mon, 18 Sep 1995 22:26:00 -0700
Message-Id: <199509190526.WAA11426@newport.ece.uci.edu>
To: paul@freebsd.org
cc: phk@critter.tfs.com (Poul-Henning Kamp), jkh@freefall.freebsd.org,
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc 
In-reply-to: Your message of "Mon, 18 Sep 1995 16:31:13 BST."
             <199509181531.QAA15420@server.netcraft.co.uk> 
Date: Mon, 18 Sep 1995 22:25:59 -0700
From: Steven Wallace <swallace@ece.uci.edu>
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

>> You mean:
>>   packages_startup= /usr/local/etc/rc.d
> 
> Or even 
> 
> 	 packages_startup= /etc/rc.local.d
> 
> the point is, the sysadmin has control over local configuration issues.
> If packages aren't used at all then there's no extra baggage.
> 
Yeah, I think this is the way to go.  That way there is control where
all the startup files go, in /etc/rc.local.d or /usr/local/etc/rc.d
or wherever your fancy may be.  If I remember correctly, people
aren't forced to put their packages into /usr/local, so why should
they be forced to put the startup files in /etc?

Steven

From owner-cvs-etc  Tue Sep 19 01:30:50 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id BAA17576
          for cvs-etc-outgoing; Tue, 19 Sep 1995 01:30:50 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id BAA17567
          ; Tue, 19 Sep 1995 01:30:43 -0700
Date: Tue, 19 Sep 1995 01:30:43 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509190830.BAA17567@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/19 01:30:43

  Branch:      etc       RELENG_2_1_0
  Modified:    etc       rc sysconfig
  Log:
  Bring in changes from the HEAD.  Also fix the local rc file changes
  to:
  	A) Use consistent variable expansion syntax.
  
  	B) *NOT* expect rc files to be directly in /usr/local/etc.  That
  	   was a very poor choice since lots of ports dump things straight
  	   into /usr/local/etc and invoking anything with a .sh suffix in
  	   there would be a bad idea indeed.  It's now /usr/local/etc/rc.local.d
  	   for much greater clarity and safety.

From owner-cvs-etc  Tue Sep 19 01:33:50 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id BAA17756
          for cvs-etc-outgoing; Tue, 19 Sep 1995 01:33:50 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id BAA17746
          ; Tue, 19 Sep 1995 01:33:45 -0700
Date: Tue, 19 Sep 1995 01:33:45 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509190833.BAA17746@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/19 01:33:44

  Modified:    etc       rc sysconfig
  Log:
  Bring my fixes over from 2.1.

From owner-cvs-etc  Tue Sep 19 02:47:02 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id CAA22069
          for cvs-etc-outgoing; Tue, 19 Sep 1995 02:47:02 -0700
Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA22056
          ; Tue, 19 Sep 1995 02:46:54 -0700
Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id CAA00831; Tue, 19 Sep 1995 02:46:53 -0700
Date: Tue, 19 Sep 1995 02:46:53 -0700
Message-Id: <199509190946.CAA00831@silvia.HIP.Berkeley.EDU>
To: paul@freebsd.org
CC: CVS-commiters@freebsd.org, cvs-etc@freebsd.org
In-reply-to: <199509181917.MAA27052@freefall.freebsd.org> (paul)
Subject: Re: cvs commit: src/etc rc sysconfig
From: asami@cs.berkeley.edu (Satoshi Asami)
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

Duh, can we at least have some DISCUSSION before we go into commit
wars like this?  Jordan and Paul, please stop the rash of commits
IMMEDIATELY and let's talk about it, ok?

 * paul        95/09/18 12:17:15
 * 
 *   Modified:    etc       rc sysconfig
 *   Log:
 *   Removed startup code for pcnfsd and apache. These don't even exist
 *   in FreeBSD and should never have got in here.

I won't comment on this for now....

 *   Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
 *   solution.
 *   
 *   Added a local configuration area to sysconfig.

Objection, you used "/usr/local/etc" as the default of startup
directory name, which means every file with a name that matches *.sh
will be executed at startup.  This is not desirable, as /usr/local/etc
is a place to hold configuration scripts in general, not only ones
that are executed on startup.  This should at least be changed to
"/usr/local/etc/rc.d" or some such.

I got a new commit message now...so Jordan has now changed it to
"/usr/local/etc/rc.local.d"...gosh, this is ugly, if you ask me. :<

Anyway, I have a huge problem with all this stuff going into
/usr/local, as there is nothing the X ports (which use
PREFIX=/usr/X11R6 by default) can do to know where that tree is, as
the user may have decided to put the "local" (non-X) ports into /opt
or some such.

This was my objection to Paul's original proposal, and the reason why
nothing was implemented following the previous discussion in "ports"
was that nobody could come up with a clean solution to this.

Also, I dislike the idea of the string "/usr/local" now defined in two
places (/etc/sysconfig and /usr/share/mk/bsd.port.mk), there should be
exactly one place on the system that the user can change if we are to
allow him to change it.

Another thing, I would like you (and I mean both of you) to at least
consult me before making such changes, as a change like this affects
the whole ports paradigm.  I don't want to sound too authoritative but
I'm the ports manager and I would like to be at least contacted about
stuff like this.

Ok? :)

Satoshi

From owner-cvs-etc  Tue Sep 19 02:53:54 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id CAA22692
          for cvs-etc-outgoing; Tue, 19 Sep 1995 02:53:54 -0700
Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA22659
          ; Tue, 19 Sep 1995 02:53:44 -0700
Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id TAA03222; Tue, 19 Sep 1995 19:51:03 +1000
Date: Tue, 19 Sep 1995 19:51:03 +1000
From: Bruce Evans <bde@zeta.org.au>
Message-Id: <199509190951.TAA03222@godzilla.zeta.org.au>
To: CVS-commiters@freefall.FreeBSD.org, cvs-etc@freefall.FreeBSD.org,
        jkh@freefall.FreeBSD.org
Subject: Re: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

>  Branch:      etc       RELENG_2_1_0
>  Modified:    etc       rc sysconfig
>  Log:
>  Bring in changes from the HEAD.  Also fix the local rc file changes

What happened to the idea of testing things in current?  The changes
in rc broke rc.local, which is carefully installed with mode 644, so
it shouldn't pass the -x test.

Bruce

From owner-cvs-etc  Tue Sep 19 03:04:03 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA23353
          for cvs-etc-outgoing; Tue, 19 Sep 1995 03:04:03 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA23340
          ; Tue, 19 Sep 1995 03:03:51 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id DAA02452; Tue, 19 Sep 1995 03:03:43 -0700
To: asami@cs.berkeley.edu (Satoshi Asami)
cc: paul@freebsd.org, CVS-commiters@freebsd.org, cvs-etc@freebsd.org
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Tue, 19 Sep 1995 02:46:53 PDT."
             <199509190946.CAA00831@silvia.HIP.Berkeley.EDU> 
Date: Tue, 19 Sep 1995 03:03:43 -0700
Message-ID: <2450.811505023@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

> Objection, you used "/usr/local/etc" as the default of startup
> directory name, which means every file with a name that matches *.sh
> will be executed at startup.  This is not desirable, as /usr/local/etc
> is a place to hold configuration scripts in general, not only ones
> that are executed on startup.  This should at least be changed to
> "/usr/local/etc/rc.d" or some such.

My feelings exactly.  I changed it.

> I got a new commit message now...so Jordan has now changed it to
> "/usr/local/etc/rc.local.d"...gosh, this is ugly, if you ask me. :<

Well, yeah, a little bit - I agree.  rc.d, eh?  Hmmmmm...  Yeah, OK,
you convinced me! :-) I'll change it one last time before people start
using it, after which it'll be a lot harder.

> Anyway, I have a huge problem with all this stuff going into
> /usr/local, as there is nothing the X ports (which use
> PREFIX=/usr/X11R6 by default) can do to know where that tree is, as
> the user may have decided to put the "local" (non-X) ports into /opt
> or some such.

I don't much like it either, but as Paul tends to overheat so easily
about stuff like this it's just simpler to just cave in and do it his
way rather than engage in a long and pointless argument over it.  I'm
too tired and/or busy to waste any more time with it.

> Another thing, I would like you (and I mean both of you) to at least
> consult me before making such changes, as a change like this affects
> the whole ports paradigm.  I don't want to sound too authoritative but
> I'm the ports manager and I would like to be at least contacted about
> stuff like this.

You're right, of course...  When I made the original change it was to
/etc and I thought of it as more of a "management" mechanism that
ports could use if they wanted to rather than a solution to the
general ports problem.  Ample precedent for this exists with SVR4 so I
didn't figure that I was breaking any new ground or going completely
off the rails with something for which no precedent existed.  When
Paul changed it to /usr/local he was treading firmly on your toes and
I just tried to fix it up a little (after firing off a couple of
shotgun blasts in Paul's direction for just mucking up my stuff, and
incorrectly at that, without even the kind of discussion period he
himself calls for so periodically).

I think it's fair to say that Paul and I can no longer work together,
the mutual antipathy between us even becoming a detriment to the way
things are managed in the repository.  That's bad, and I have no easy
solutions except to say that we should probably stay in opposite ends
of the tree whenever possible and take any disputes to core rather
than simply playing CVS wars in the repository.  Blasting someone's
change in the repository because you don't agree with it without any
kind of discussion or arbitration whatsoever is not the way to handle
things at all.

					Jordan

From owner-cvs-etc  Tue Sep 19 03:05:30 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA23439
          for cvs-etc-outgoing; Tue, 19 Sep 1995 03:05:30 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA23429
          ; Tue, 19 Sep 1995 03:05:12 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id DAA02465; Tue, 19 Sep 1995 03:04:44 -0700
To: Bruce Evans <bde@zeta.org.au>
cc: CVS-commiters@freefall.FreeBSD.org, cvs-etc@freefall.FreeBSD.org,
        jkh@freefall.FreeBSD.org
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Tue, 19 Sep 1995 19:51:03 +1000."
             <199509190951.TAA03222@godzilla.zeta.org.au> 
Date: Tue, 19 Sep 1995 03:04:44 -0700
Message-ID: <2463.811505084@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

> >  Branch:      etc       RELENG_2_1_0
> >  Modified:    etc       rc sysconfig
> >  Log:
> >  Bring in changes from the HEAD.  Also fix the local rc file changes
> 
> What happened to the idea of testing things in current?  The changes
> in rc broke rc.local, which is carefully installed with mode 644, so
> it shouldn't pass the -x test.
> 
> Bruce

Wurgh..  I actually thought of this as a kind of extra sanity check,
but I suppose you're right..  I'll change it back - I need to make
some more changes there anyway..

					Jordan

From owner-cvs-etc  Tue Sep 19 03:20:03 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA24504
          for cvs-etc-outgoing; Tue, 19 Sep 1995 03:20:03 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA24483
          ; Tue, 19 Sep 1995 03:19:48 -0700
Date: Tue, 19 Sep 1995 03:19:48 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509191019.DAA24483@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/19 03:19:46

  Modified:    etc       rc sysconfig
  Log:
  local_startup=/usr/local/etc/rc.d
  [ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
    duh! :-)]
  
  [ -f /etc/rc.local ] && sh /etc/rc.local
  For backwards compatibilty with non-executable rc.local files.  Sorry, Bruce!
  
  Submitted by:	asami & bde & jkh

From owner-cvs-etc  Tue Sep 19 03:23:54 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA24913
          for cvs-etc-outgoing; Tue, 19 Sep 1995 03:23:54 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id DAA24896
          ; Tue, 19 Sep 1995 03:23:46 -0700
Date: Tue, 19 Sep 1995 03:23:46 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509191023.DAA24896@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/19 03:23:46

  Branch:      etc       RELENG_2_1_0
  Modified:    etc       rc sysconfig
  Log:
  Merge from HEAD

From owner-cvs-etc  Tue Sep 19 04:12:46 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id EAA26647
          for cvs-etc-outgoing; Tue, 19 Sep 1995 04:12:46 -0700
Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA26642
          ; Tue, 19 Sep 1995 04:12:41 -0700
Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id EAA01836; Tue, 19 Sep 1995 04:12:35 -0700
Date: Tue, 19 Sep 1995 04:12:35 -0700
Message-Id: <199509191112.EAA01836@silvia.HIP.Berkeley.EDU>
To: jkh@time.cdrom.com
CC: paul@freebsd.org, CVS-commiters@freebsd.org, cvs-etc@freebsd.org
In-reply-to: <2450.811505023@time.cdrom.com> (jkh@time.cdrom.com)
Subject: Re: cvs commit: src/etc rc sysconfig
From: asami@cs.berkeley.edu (Satoshi Asami)
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

 * Well, yeah, a little bit - I agree.  rc.d, eh?  Hmmmmm...  Yeah, OK,
 * you convinced me! :-) I'll change it one last time before people start
 * using it, after which it'll be a lot harder.

Umm, can you back out ALL the changes?  I see that you already
commited this one, now we have 6 (counting both branches) commits to
this file in the past 12 hours or so, and we haven't even agreed what
to do with it! :<

 * I don't much like it either, but as Paul tends to overheat so easily
 * about stuff like this it's just simpler to just cave in and do it his
 * way rather than engage in a long and pointless argument over it.  I'm
 * too tired and/or busy to waste any more time with it.

It's not only your problem.  By "caving in" you are making life harder 
for others too.

By the way, one reason why Paul "overheated" so easily about this is
because there was a discussion in the ports list a while ago as he
already said (I assume you weren't there at that time), so your
initial commit was viewed as unilateral enforcement.

 * You're right, of course...  When I made the original change it was to
 * /etc and I thought of it as more of a "management" mechanism that
 * ports could use if they wanted to rather than a solution to the
 * general ports problem.  Ample precedent for this exists with SVR4 so I
 * didn't figure that I was breaking any new ground or going completely
 * off the rails with something for which no precedent existed.  When
 * Paul changed it to /usr/local he was treading firmly on your toes and
 * I just tried to fix it up a little (after firing off a couple of
 * shotgun blasts in Paul's direction for just mucking up my stuff, and
 * incorrectly at that, without even the kind of discussion period he
 * himself calls for so periodically).

Then his commit priviledges must go.  We have no room for cvs wars on
freefall, anyone who can't hold his fingers from blasting away
people's changes right in the middle of the discussion (or with no
discussion at all) are not welcome to the project! :<

Satoshi

From owner-cvs-etc  Tue Sep 19 04:24:33 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id EAA26986
          for cvs-etc-outgoing; Tue, 19 Sep 1995 04:24:33 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA26981
          ; Tue, 19 Sep 1995 04:24:29 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id EAA11213; Tue, 19 Sep 1995 04:24:20 -0700
To: asami@cs.berkeley.edu (Satoshi Asami)
cc: paul@freebsd.org, CVS-commiters@freebsd.org, cvs-etc@freebsd.org
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Tue, 19 Sep 1995 04:12:35 PDT."
             <199509191112.EAA01836@silvia.HIP.Berkeley.EDU> 
Date: Tue, 19 Sep 1995 04:24:18 -0700
Message-ID: <11199.811509858@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

> Umm, can you back out ALL the changes?  I see that you already
> commited this one, now we have 6 (counting both branches) commits to
> this file in the past 12 hours or so, and we haven't even agreed what
> to do with it! :<

Woog.  This is getting a bit crazy.  Can we have maybe just a little
discussion before we do *anything* else?  I have no fundamental
objection to backing these changes out entirely, and will certainly do
so if it looks like that's what's definitely wanted, but I'm loath to
do even a single additional CVS op at this point until we at least
decide "forward or backward".  It would only be layering even more
craziness onto this situation if I backed everything out and then it
was decided to take a route similar to what we have now.  I'd have to
bring it all back in again.

Maybe if I simply remove it from the snapshot?  That would, at least,
prevent anyone from becoming attached to a feature that might go away.
We could leave it in -current for a little longer then, until this
is decided..

Foo.  Why is it that the 3 line changes always seem to generate the most
grief? :-)

					Jordan

From owner-cvs-etc  Tue Sep 19 04:34:30 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id EAA27258
          for cvs-etc-outgoing; Tue, 19 Sep 1995 04:34:30 -0700
Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA27250
          ; Tue, 19 Sep 1995 04:34:20 -0700
Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id EAA01886; Tue, 19 Sep 1995 04:34:14 -0700
Date: Tue, 19 Sep 1995 04:34:14 -0700
Message-Id: <199509191134.EAA01886@silvia.HIP.Berkeley.EDU>
To: jkh@time.cdrom.com
CC: paul@freebsd.org, CVS-commiters@freebsd.org, cvs-etc@freebsd.org
In-reply-to: <11199.811509858@time.cdrom.com> (jkh@time.cdrom.com)
Subject: Re: cvs commit: src/etc rc sysconfig
From: asami@cs.berkeley.edu (Satoshi Asami)
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

 * Woog.  This is getting a bit crazy.  Can we have maybe just a little
 :
 * was decided to take a route similar to what we have now.  I'd have to
 * bring it all back in again.
 * 
 * Maybe if I simply remove it from the snapshot?  That would, at least,
 * prevent anyone from becoming attached to a feature that might go away.
 * We could leave it in -current for a little longer then, until this
 * is decided..

Ok, please do that then.  But I request no port use this mechanism
until the issue is resolved, it may be in -current, but it's as dead
as a frozen chicken for now (i.e., until it's thawed).

Satoshi

From owner-cvs-etc  Tue Sep 19 05:09:08 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id FAA28199
          for cvs-etc-outgoing; Tue, 19 Sep 1995 05:09:08 -0700
Received: (from jkh@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id FAA28190
          ; Tue, 19 Sep 1995 05:09:05 -0700
Date: Tue, 19 Sep 1995 05:09:05 -0700
From: "Jordan K. Hubbard" <jkh>
Message-Id: <199509191209.FAA28190@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc rc sysconfig
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

jkh         95/09/19 05:09:05

  Branch:      etc       RELENG_2_1_0
  Modified:    etc       rc sysconfig
  Log:
  Back this out of 2.1 until we can reach some concensus about how to
  do all this right in -current.  Sorry, Satoshi.

From owner-cvs-etc  Tue Sep 19 07:21:39 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id HAA06715
          for cvs-etc-outgoing; Tue, 19 Sep 1995 07:21:39 -0700
Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA06680
          ; Tue, 19 Sep 1995 07:21:24 -0700
Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id PAA29943; Tue, 19 Sep 1995 15:20:05 +0100
From: Paul Richards <paul@netcraft.co.uk>
Message-Id: <199509191420.PAA29943@server.netcraft.co.uk>
Subject: Re: cvs commit: src/etc rc sysconfig
To: jkh@time.cdrom.com (Jordan K. Hubbard)
Date: Tue, 19 Sep 1995 15:20:04 +0100 (BST)
Cc: asami@cs.berkeley.edu, paul@freebsd.org, CVS-commiters@freebsd.org,
        cvs-etc@freebsd.org
In-Reply-To: <2450.811505023@time.cdrom.com> from "Jordan K. Hubbard" at Sep 19, 95 03:03:43 am
Reply-to: paul@freebsd.org
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Length: 7310      
Sender: owner-cvs-etc@freebsd.org
Precedence: bulk

In reply to Jordan K. Hubbard who said
> 
> > Objection, you used "/usr/local/etc" as the default of startup
> > directory name, which means every file with a name that matches *.sh
> > will be executed at startup.  This is not desirable, as /usr/local/etc
> > is a place to hold configuration scripts in general, not only ones
> > that are executed on startup.  This should at least be changed to
> > "/usr/local/etc/rc.d" or some such.
> 
> My feelings exactly.  I changed it.
> 
> > I got a new commit message now...so Jordan has now changed it to
> > "/usr/local/etc/rc.local.d"...gosh, this is ugly, if you ask me. :<
> 
> Well, yeah, a little bit - I agree.  rc.d, eh?  Hmmmmm...  Yeah, OK,
> you convinced me! :-) I'll change it one last time before people start
> using it, after which it'll be a lot harder.

Exactly and your commit would have nailed us to a hard-coded path that
was completely wrong and there would have been no way to get around it.

Let's get this straight. Jordan committed a completely bogus change from 
a piece of mail he happened to find in his inbox, which was not reviewed by
anyone despite it having a filled in reveiwed by line in the commit. 

*ALL* I did was generalise that addition so that it wasn't hard coded. I
didn't want this thing done at all since as Satoshi has said there are
still problems to be resolved but since Jordan's so gun-ho about doing 
whatever he wishes whnever he feels like I decided it was best to get
the flexibility in quickly before people got stuck into his bogus mechanism.
Jordan has sent me heaps of personal mail about keeping my mouth shut unless
I'm actually going to carry out what I say so I just went in and did it.
To a large extent, my normal process of discussion to reach concensus before
implementing changes had been eroded by the abuse I get from him.

Compare what he did to the way I'm handling the syslogd changes, very small
changes but nevertheless needing discussion. I first brought the bug to
people's attention, then I implemented change and then I rasised an issue
relating to that change which I only received one reply to so I'm still
sitting on it. Ok, this is slow, but it'll get done the way people agree
is right.

> > Anyway, I have a huge problem with all this stuff going into
> > /usr/local, as there is nothing the X ports (which use
> > PREFIX=/usr/X11R6 by default) can do to know where that tree is, as
> > the user may have decided to put the "local" (non-X) ports into /opt
> > or some such.
> 
> I don't much like it either, but as Paul tends to overheat so easily
> about stuff like this it's just simpler to just cave in and do it his
> way rather than engage in a long and pointless argument over it.  I'm
> too tired and/or busy to waste any more time with it.
> 
> > Another thing, I would like you (and I mean both of you) to at least
> > consult me before making such changes, as a change like this affects
> > the whole ports paradigm.  I don't want to sound too authoritative but
> > I'm the ports manager and I would like to be at least contacted about
> > stuff like this.

Fair enough, but see my point above, all I did was fix the shortcomings in
Jordan's commit since in his usual obstinate fashion (remember the changing
of the login banner) he refuses to even admit that there might be problems.

> I think it's fair to say that Paul and I can no longer work together,
> the mutual antipathy between us even becoming a detriment to the way
> things are managed in the repository.  That's bad, and I have no easy
> solutions except to say that we should probably stay in opposite ends
> of the tree whenever possible and take any disputes to core rather
> than simply playing CVS wars in the repository.  Blasting someone's
> change in the repository because you don't agree with it without any
> kind of discussion or arbitration whatsoever is not the way to handle
> things at all.

This is a very one-sided opinion of what happened. *YOU* implemented a
significant change without *any* discussion, when in fact there were people
who had discussed this problem and realised it was rather more complex
than way you understood it to be. I didn't "blast" your commit, I didn't
simply nuke it I modified it to be more flexible, it now does what you wanted
but with a configurable knob. There have now been god knows how many commits,
which are all now being ripped out, simply because you dived in and did
something without discussing it with anyone. My subsequent change was nothing
more than a fix before a bad commit propagated throughout the tree.
Jordan is a major cause of rashes of commits where some spur of the moment
decision on his part results in bogus code being committed, then fixed, then
subsequently nuked.

Anyway, I'm now going to break general etiquette and post some of
the vitriol I have to put up with Jordan. Some of you have probably
noticed that I'm not in the core team any longer, if you were having
to deal with the abuse Jordan sends in private mail you'd bail out to.
Don't send me any more personal mail Jordan, I'll just forward it somewhere
public.


>From jkh@time.cdrom.com Tue Sep 19 03:03:36 1995
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [192.216.222.4]) by server.netcraft.co.uk (8.6.11/8.6.9) with ESMTP id DAA23755 for <paul@netcraft.co.uk>; Tue, 19 Sep 1995 03:03:34 +0100
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA22850
          for <paul@freefall.freebsd.org>; Mon, 18 Sep 1995 19:03:00 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id TAA29888 for <paul@freefall.freebsd.org>; Mon, 18 Sep 1995 19:02:56 -0700
To: Paul Richards <paul@freefall.freebsd.org>
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Mon, 18 Sep 1995 12:17:15 PDT."
             <199509181917.MAA27052@freefall.freebsd.org> 
Date: Mon, 18 Sep 1995 19:02:56 -0700
Message-ID: <29885.811476176@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Status: OR

I see.  Without any discussion or group concensus you remove my
changes.  Oh yes, we're definitely talking about somebody with group
spirit here!

Paul, you are totally and utterly full of shit.  You flame me one
minute for acting precipitously and then turn around and do exactly
the same thing yourself when it suits you.  Well fine, I guess I know
your true colors.  You are a complete hypocrite.

I'll let this one slide since it doesn't really matter that much to me
either way, but it really just adds insult to injury and if you do
something like this again there will be open war between us and
neither of us will care for the results!  Consider this my first and
last warning shot.

					Jordan


> paul        95/09/18 12:17:15
> 
>   Modified:    etc       rc sysconfig
>   Log:
>   Removed startup code for pcnfsd and apache. These don't even exist
>   in FreeBSD and should never have got in here.
>   
>   Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
>   solution.
>   
>   Added a local configuration area to sysconfig.




-- 
  Paul Richards, Netcraft Ltd.
  Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk
  Phone: 0370 462071 (Mobile), +44 1225 447500 (work)

From owner-cvs-etc  Tue Sep 19 12:21:04 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id MAA25444
          for cvs-etc-outgoing; Tue, 19 Sep 1995 12:21:04 -0700
Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93])
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id MAA25439
          ; Tue, 19 Sep 1995 12:20:59 -0700
Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15207(3)>; Tue, 19 Sep 1995 12:20:18 PDT
Received: from localhost by crevenia.parc.xerox.com with SMTP id <177475>; Tue, 19 Sep 1995 12:20:05 -0700
X-Mailer: exmh version 1.6.1 5/23/95
To: "Jordan K. Hubbard" <jkh@freefall.freebsd.org>
cc: CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Tue, 19 Sep 95 03:19:48 PDT."
             <199509191019.DAA24483@freefall.freebsd.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 19 Sep 1995 12:19:56 PDT
From: Bill Fenner <fenner@parc.xerox.com>
Message-Id: <95Sep19.122005pdt.177475@crevenia.parc.xerox.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

In message <199509191019.DAA24483@freefall.freebsd.org> you write:
>  [ -f /etc/rc.local ] && sh /etc/rc.local
>  For backwards compatibilty with non-executable rc.local files. 

Um, backwards compatibility?  I hope none of the rc files are executable; you 
can cause a lot of damage by running an rc by mistake.

(UNICOS gets particularly upset, someone I know took down a cray because they 
had their fingers on the wrong keys and tried to type 'tv'...)

  Bill


From owner-cvs-etc  Tue Sep 19 12:24:13 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id MAA25621
          for cvs-etc-outgoing; Tue, 19 Sep 1995 12:24:13 -0700
Received: from time.cdrom.com (time.cdrom.com [192.216.222.226])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA25616
          ; Tue, 19 Sep 1995 12:24:07 -0700
Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id MAA17884; Tue, 19 Sep 1995 12:23:50 -0700
To: Bill Fenner <fenner@parc.xerox.com>
cc: "Jordan K. Hubbard" <jkh@freefall.freebsd.org>,
        CVS-commiters@freefall.freebsd.org, cvs-etc@freefall.freebsd.org
Subject: Re: cvs commit: src/etc rc sysconfig 
In-reply-to: Your message of "Tue, 19 Sep 1995 12:19:56 PDT."
             <95Sep19.122005pdt.177475@crevenia.parc.xerox.com> 
Date: Tue, 19 Sep 1995 12:23:50 -0700
Message-ID: <17882.811538630@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

I suppose that's a good point.  I'll hunt around to see if there
are any others like this.

> In message <199509191019.DAA24483@freefall.freebsd.org> you write:
> >  [ -f /etc/rc.local ] && sh /etc/rc.local
> >  For backwards compatibilty with non-executable rc.local files. 
> 
> Um, backwards compatibility?  I hope none of the rc files are executable; you
 
> can cause a lot of damage by running an rc by mistake.
> 
> (UNICOS gets particularly upset, someone I know took down a cray because they
 
> had their fingers on the wrong keys and tried to type 'tv'...)
> 
>   Bill
> 


From owner-cvs-etc  Fri Sep 22 13:42:45 1995
Return-Path: owner-cvs-etc
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id NAA18425
          for cvs-etc-outgoing; Fri, 22 Sep 1995 13:42:45 -0700
Received: (from peter@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id NAA18389
          ; Fri, 22 Sep 1995 13:42:18 -0700
Date: Fri, 22 Sep 1995 13:42:18 -0700
From: Peter Wemm <peter>
Message-Id: <199509222042.NAA18389@freefall.freebsd.org>
To: CVS-commiters, cvs-etc
Subject: cvs commit: src/etc/etc.i386 MAKEDEV
Sender: owner-cvs-etc@FreeBSD.org
Precedence: bulk

peter       95/09/22 13:42:15

  Modified:    etc/etc.i386  MAKEDEV
  Log:
  Update the /dev naming for the Specialix driver..  I've changed it to do
  the same sort of thing as the Digiboard driver (ttyD*), as creating 96
  /dev entries one by one was very painful.