From owner-freebsd-rc@FreeBSD.ORG  Sat Jul 31 17:44:06 2004
Return-Path: <owner-freebsd-rc@FreeBSD.ORG>
Delivered-To: freebsd-rc@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id D78AB16A4CE; Sat, 31 Jul 2004 17:44:06 +0000 (GMT)
Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 7314343D4C; Sat, 31 Jul 2004 17:44:06 +0000 (GMT)
	(envelope-from drosih@rpi.edu)
Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47])
	by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id i6VHgHKr031101;
	Sat, 31 Jul 2004 13:42:18 -0400
Mime-Version: 1.0
X-Sender: drosih@mail.rpi.edu
Message-Id: <p06110422bd318997b959@[128.113.24.47]>
In-Reply-To: <BA08DC36-E2ED-11D8-9C56-00039312D914@fillmore-labs.com>
References: <BA08DC36-E2ED-11D8-9C56-00039312D914@fillmore-labs.com>
Date: Sat, 31 Jul 2004 13:42:17 -0400
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
From: Garance A Drosihn <drosih@rpi.edu>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: CanIt (www . canit . ca)
cc: Rob MacGregor <freebsd.macgregor@blueyonder.co.uk>
cc: freebsd-rc@freebsd.org
cc: current@freebsd.org
Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts 
 inports (without touching localpkg)
X-BeenThere: freebsd-rc@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussion related to /etc/rc.d design and implementation.
	<freebsd-rc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>,
	<mailto:freebsd-rc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-rc>
List-Post: <mailto:freebsd-rc@freebsd.org>
List-Help: <mailto:freebsd-rc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-rc>,
	<mailto:freebsd-rc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 31 Jul 2004 17:44:07 -0000

At 2:32 PM +0200 7/31/04, Oliver Eikemeier wrote:
>Garance A Drosihn wrote:
>
>>>  > As stated above: everything users did before will
>>>  > continue to work.
>>>
>>>Except of course, disabling scripts by renaming them :)
>>
>>I seem to remember that the safe way to disable scripts was
>>to change the permissions on them so they were not executable.
>>This was considered better than renaming them, because the
>>file remained at the location it was installed at.  This
>>meant it would still be removed if the package was removed,
>>for instance.
>>
>>Is that no longer true?
>
>No, that is probably the best solution. But a)  [...]
>It will be not easy, and error-prone to hunt all those instances
>down. Of course it's doable, and would be somewhat `cleaner', but
>I believe it's better when we keep the previously documented
>behaviour as far as possible.

That is okay by me.  I was mainly wondering if it still true that a
person can disable a new-style script by changing the permissions
on it, after the script has been installed.  Just curious.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu