From owner-freebsd-hackers Thu Sep 28 13:49:31 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA00490 for hackers-outgoing; Thu, 28 Sep 1995 13:49:31 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA00476 for ; Thu, 28 Sep 1995 13:49:23 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA13277; Thu, 28 Sep 1995 13:44:20 -0700 From: Terry Lambert Message-Id: <199509282044.NAA13277@phaeton.artisoft.com> Subject: Re: ports startup scripts To: gryphon@healer.com (Coranth Gryphon) Date: Thu, 28 Sep 1995 13:44:20 -0700 (MST) Cc: peter@taronga.com, terry@lambert.org, hackers@FreeBSD.ORG In-Reply-To: <199509281846.OAA25004@healer.com> from "Coranth Gryphon" at Sep 28, 95 02:46:35 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: 1276 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > > Because the installation *is* the activation of the package. I think > > that install and activation should be held seperate. Hence my support > > for the rc[0-6].d/symlink -> init.d. > > You're either not paying attention to the makefile proposal, or failing > to see obvious parallels. > > Creating the symlink from rcN.d to init.d is the same as changing the name > of the init chunk from "package.NO" to "package.mk" and running "makerc". > > If you don't, it is there, but does not run on startup. If you do, it > runs on startup. What's the functional difference? Arbitration of the rename bases on dependencies existing vs. arbitration of the link based on explicit package activation (activation being denied if dependencies don't exist). The difference is whether you find out at boot time that you've been screwed or find out when you try to activate the package using the administrative tool that a dependency doesn't exist. Admittedly, you could make the makefile proposal multiple pass to get it to "do the right thing", but it would be inelegant and time consuming (at run time; programmer time is irrelevant). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.