From owner-freebsd-stable@FreeBSD.ORG Thu Dec 22 18:45:08 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AE1716A420; Thu, 22 Dec 2005 18:45:08 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED86843D49; Thu, 22 Dec 2005 18:45:07 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jBMIj7EZ052062; Thu, 22 Dec 2005 10:45:07 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jBMIj6Iq052061; Thu, 22 Dec 2005 10:45:06 -0800 (PST) (envelope-from jmg) Date: Thu, 22 Dec 2005 10:45:06 -0800 From: John-Mark Gurney To: Doug Barton Message-ID: <20051222184506.GH19490@funkthat.com> Mail-Followup-To: Doug Barton , FreeBSD Stable References: <43AA76CD.2040508@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43AA76CD.2040508@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: FreeBSD Stable Subject: Re: HEADS UP: Please clean out your */etc/rc.d directories X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 18:45:08 -0000 Doug Barton wrote this message on Thu, Dec 22, 2005 at 01:50 -0800: > I should have said this in my last heads up message, sorry for forgetting > about this important detail. The new code tries to run any script in a > local_startup directory (by default /usr/local/etc/rc.d and > /usr/X11R6/etc/rc.d) that has the execute bit set. So, if there is a script > in one of those directories that you don't want run at all, the safest > thing to do is to create a directory within rc.d, and move the script > there. Parsing of these scripts is not a recursive operation. The second > safest thing to do is to remove the execute bit from those scripts. Does this mean that we will remove the .sh extension on port rc.d startup scripts? Because a) it's been only running .sh scripts for quite a while, and b) it's really nice and easy to disable scripts by moving them to .old or another extension.. Also, how will this effect cups which installs a .sample file? and any other port that does this? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."