From owner-cvs-etc Tue Jun 24 15:38:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA11421 for cvs-etc-outgoing; Tue, 24 Jun 1997 15:38:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA11382; Tue, 24 Jun 1997 15:37:45 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA15215; Tue, 24 Jun 1997 15:36:44 -0700 (PDT) Date: Tue, 24 Jun 1997 15:36:44 -0700 (PDT) Message-Id: <199706242236.PAA15215@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc.conf Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 15:36:44 PDT Modified files: etc rc.conf Log: Add missing '.' Revision Changes Path 1.19 +10 -10 src/etc/rc.conf From owner-cvs-etc Tue Jun 24 15:43:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA11644 for cvs-etc-outgoing; Tue, 24 Jun 1997 15:43:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA11617; Tue, 24 Jun 1997 15:43:00 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA15269; Tue, 24 Jun 1997 15:42:00 -0700 (PDT) Date: Tue, 24 Jun 1997 15:42:00 -0700 (PDT) Message-Id: <199706242242.PAA15269@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc.conf Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 15:41:59 PDT Modified files: (Branch: RELENG_2_2) etc rc.conf Log: Add missing '.'s Revision Changes Path 1.1.2.18 +9 -9 src/etc/rc.conf From owner-cvs-etc Tue Jun 24 20:12:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26332 for cvs-etc-outgoing; Tue, 24 Jun 1997 20:12:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26274; Tue, 24 Jun 1997 20:11:19 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA17443; Tue, 24 Jun 1997 20:10:17 -0700 (PDT) Date: Tue, 24 Jun 1997 20:10:17 -0700 (PDT) Message-Id: <199706250310.UAA17443@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 20:10:17 PDT Modified files: (Branch: RELENG_2_2) etc rc Log: sh /etc/rc.local -> . /etc/rc.local Revision Changes Path 1.104.2.18 +2 -2 src/etc/rc From owner-cvs-etc Tue Jun 24 20:13:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26379 for cvs-etc-outgoing; Tue, 24 Jun 1997 20:13:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26355; Tue, 24 Jun 1997 20:13:16 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA17480; Tue, 24 Jun 1997 20:12:14 -0700 (PDT) Date: Tue, 24 Jun 1997 20:12:14 -0700 (PDT) Message-Id: <199706250312.UAA17480@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 20:12:13 PDT Modified files: etc rc Log: sh /etc/rc.local -> . /etc/rc.local Revision Changes Path 1.130 +2 -2 src/etc/rc From owner-cvs-etc Tue Jun 24 20:20:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26663 for cvs-etc-outgoing; Tue, 24 Jun 1997 20:20:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26632; Tue, 24 Jun 1997 20:20:36 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA17524; Tue, 24 Jun 1997 20:19:34 -0700 (PDT) Date: Tue, 24 Jun 1997 20:19:34 -0700 (PDT) Message-Id: <199706250319.UAA17524@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 20:19:33 PDT Modified files: etc services Log: Add krb5_prop service (kerberos v5 prop). It's on the same port as for v4 but requires different name. Revision Changes Path 1.33 +2 -1 src/etc/services From owner-cvs-etc Tue Jun 24 20:28:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA27035 for cvs-etc-outgoing; Tue, 24 Jun 1997 20:28:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26951; Tue, 24 Jun 1997 20:27:51 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA17566; Tue, 24 Jun 1997 20:26:48 -0700 (PDT) Date: Tue, 24 Jun 1997 20:26:48 -0700 (PDT) Message-Id: <199706250326.UAA17566@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 20:26:48 PDT Modified files: (Branch: RELENG_2_2) etc services Log: Added krb5_prop service. Revision Changes Path 1.27.2.4 +2 -1 src/etc/services From owner-cvs-etc Tue Jun 24 21:23:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29119 for cvs-etc-outgoing; Tue, 24 Jun 1997 21:23:49 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (bourbon.sfc.wide.ad.jp [203.178.139.171]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA28989; Tue, 24 Jun 1997 21:20:53 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (localhost [127.0.0.1]) by bourbon.sfc.wide.ad.jp (8.8.5/3.5Wpl104/21/97) with ESMTP id NAA04993; Wed, 25 Jun 1997 13:17:55 +0900 (JST) Message-Id: <199706250417.NAA04993@bourbon.sfc.wide.ad.jp> To: dima@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Cc: max@wide.ad.jp Subject: Re: cvs commit: src/etc rc From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= In-Reply-To: Your message of "Tue, 24 Jun 1997 20:12:14 -0700 (PDT)" References: <199706250312.UAA17480@freefall.freebsd.org> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 25 Jun 1997 13:17:55 +0900 Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > dima 1997/06/24 20:12:13 PDT > Modified files: > etc rc > Log: > sh /etc/rc.local -> . /etc/rc.local > Revision Changes Path > 1.130 +2 -2 src/etc/rc What's the advantage of the latter form over the former one? I can only see disadvantage. What if rc.local exists but doesn't have execution bit set? Of course you can change the test for rc.local to -x from -f. (If we keep this sh /etc/rc.local -> ./etc/rc.local change, we at least need to make this change to the test for rc.local, I believe.) But if you are not careful enough, there are good possibility that you think rc.local gets executed if it's present. Cheers, Max From owner-cvs-etc Tue Jun 24 21:31:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29443 for cvs-etc-outgoing; Tue, 24 Jun 1997 21:31:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA29418; Tue, 24 Jun 1997 21:31:22 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA19223; Tue, 24 Jun 1997 21:30:19 -0700 (PDT) Date: Tue, 24 Jun 1997 21:30:19 -0700 (PDT) Message-Id: <199706250430.VAA19223@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 21:30:19 PDT Modified files: (Branch: RELENG_2_2) etc services Log: Fix krb5_prop entry Pointed-by: Bill Fenner Revision Changes Path 1.27.2.5 +2 -3 src/etc/services From owner-cvs-etc Tue Jun 24 21:37:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29898 for cvs-etc-outgoing; Tue, 24 Jun 1997 21:37:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA29874; Tue, 24 Jun 1997 21:37:34 -0700 (PDT) From: Dima Ruban Received: (from dima@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA20926; Tue, 24 Jun 1997 21:36:31 -0700 (PDT) Date: Tue, 24 Jun 1997 21:36:31 -0700 (PDT) Message-Id: <199706250436.VAA20926@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dima 1997/06/24 21:36:31 PDT Modified files: etc services Log: Fix krb5_prop entry. Pointed-by: Bill Fenner Revision Changes Path 1.34 +2 -3 src/etc/services From owner-cvs-etc Tue Jun 24 21:37:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29912 for cvs-etc-outgoing; Tue, 24 Jun 1997 21:37:56 -0700 (PDT) Received: from burka.rdy.com (dima@burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA29904; Tue, 24 Jun 1997 21:37:48 -0700 (PDT) Received: by burka.rdy.com id VAA15429; (8.8.5/RDY) Tue, 24 Jun 1997 21:37:11 -0700 (PDT) Message-Id: <199706250437.VAA15429@burka.rdy.com> Subject: Re: cvs commit: src/etc rc In-Reply-To: <199706250417.NAA04993@bourbon.sfc.wide.ad.jp> from =?us-ascii?Q?Masafumi_NAKANE=2F=3D=3FISO=2D2022=2DJP=3FB=3FGy?= =?us-ascii?Q?RCQ2Y6LDJtSjgbKEI=3D=3F=3D?= at "Jun 25, 97 01:17:55 pm" To: max@wide.ad.jp (Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=) Date: Tue, 24 Jun 1997 21:37:11 -0700 (PDT) Cc: dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG, max@wide.ad.jp X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= writes: > > dima 1997/06/24 20:12:13 PDT > > Modified files: > > etc rc > > Log: > > sh /etc/rc.local -> . /etc/rc.local > > > Revision Changes Path > > 1.130 +2 -2 src/etc/rc > > What's the advantage of the latter form over the former one? I can > only see disadvantage. The advantage is: now variables from /etc/rc.conf{,.local} will be propagated to /etc/rc.local > What if rc.local exists but doesn't have execution bit set? Of course > you can change the test for rc.local to -x from -f. (If we keep this > sh /etc/rc.local -> ./etc/rc.local change, we at least need to make > this change to the test for rc.local, I believe.) But if you are not > careful enough, there are good possibility that you think rc.local > gets executed if it's present. Ohh? Here's entry from /etc/rc for /etc/rc.conf: # If there is a global system configuration file, suck it in. if [ -f /etc/rc.conf ]; then . /etc/rc.conf fi Here are primissions on rc.conf: [sivka]-p9:80> ls -la /etc/rc.conf -rw-r--r-- 1 root wheel 6221 5 MAJ 17:46 /etc/rc.conf [sivka]-p9:81> Are you trying to tell me that rc.conf is not executed on the system startup on my machine? :-) > > Cheers, > Max > -- dima From owner-cvs-etc Tue Jun 24 22:12:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA01286 for cvs-etc-outgoing; Tue, 24 Jun 1997 22:12:57 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (bourbon.sfc.wide.ad.jp [203.178.139.171]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA01252; Tue, 24 Jun 1997 22:12:08 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (localhost [127.0.0.1]) by bourbon.sfc.wide.ad.jp (8.8.5/3.5Wpl104/21/97) with ESMTP id OAA22765; Wed, 25 Jun 1997 14:08:55 +0900 (JST) Message-Id: <199706250508.OAA22765@bourbon.sfc.wide.ad.jp> To: dima@best.net Cc: max@wide.ad.jp, dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= In-Reply-To: Your message of "Tue, 24 Jun 1997 21:37:11 -0700 (PDT)" References: <199706250437.VAA15429@burka.rdy.com> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 25 Jun 1997 14:08:53 +0900 Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > Log: >> > sh /etc/rc.local -> . /etc/rc.local >> >> > Revision Changes Path >> > 1.130 +2 -2 src/etc/rc >> >> What's the advantage of the latter form over the former one? I can >> only see disadvantage. > The advantage is: now variables from /etc/rc.conf{,.local} will be propagated > to /etc/rc.local Damn, I overlooked the space between the period and the slash! Now I see what you meant . Sorry for bothering you. Cheers, Max From owner-cvs-etc Wed Jun 25 00:23:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA07147 for cvs-etc-outgoing; Wed, 25 Jun 1997 00:23:39 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-41.rdcy01.pacbell.net [206.170.5.41]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA07141; Wed, 25 Jun 1997 00:23:33 -0700 (PDT) Received: from shockwave.com (localhost [127.0.0.1]) by precipice.shockwave.com (8.8.5/8.7.3) with ESMTP id AAA26789; Wed, 25 Jun 1997 00:22:05 -0700 (PDT) Message-Id: <199706250722.AAA26789@precipice.shockwave.com> To: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= cc: dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc In-reply-to: Your message of "Wed, 25 Jun 1997 13:17:55 +0900." <199706250417.NAA04993@bourbon.sfc.wide.ad.jp> Date: Wed, 25 Jun 1997 00:22:05 -0700 From: Paul Traina Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Agreed, it's really nice to have rc.local be executed by a subshell that cannot, under any circumstances, screw with stuff in /etc/rc. From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= Subject: Re: cvs commit: src/etc rc > dima 1997/06/24 20:12:13 PDT > Modified files: > etc rc > Log: > sh /etc/rc.local -> . /etc/rc.local > Revision Changes Path > 1.130 +2 -2 src/etc/rc What's the advantage of the latter form over the former one? I can only see disadvantage. What if rc.local exists but doesn't have execution bit set? Of course you can change the test for rc.local to -x from -f. (If we keep this sh /etc/rc.local -> ./etc/rc.local change, we at least need to make this change to the test for rc.local, I believe.) But if you are not careful enough, there are good possibility that you think rc.local gets executed if it's present. Cheers, Max From owner-cvs-etc Wed Jun 25 00:53:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA08424 for cvs-etc-outgoing; Wed, 25 Jun 1997 00:53:01 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA08377; Wed, 25 Jun 1997 00:52:03 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA01169; Wed, 25 Jun 1997 09:51:52 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA07309; Wed, 25 Jun 1997 09:49:56 +0200 (MET DST) Message-ID: <19970625094956.OX64271@uriah.heep.sax.de> Date: Wed, 25 Jun 1997 09:49:56 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: pst@shockwave.com (Paul Traina) Cc: max@wide.ad.jp (Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=), dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc References: <199706250417.NAA04993@bourbon.sfc.wide.ad.jp> <199706250722.AAA26789@precipice.shockwave.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199706250722.AAA26789@precipice.shockwave.com>; from Paul Traina on Jun 25, 1997 00:22:05 -0700 Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Paul Traina wrote: > What if rc.local exists but doesn't have execution bit set? Nothing: $ cat > foo.sh echo "hi, i'm foo" $ ls -l foo.sh -rw-r--r-- 1 j other 19 Jun 25 09:48 foo.sh $ . foo.sh hi, i'm foo -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-etc Wed Jun 25 01:59:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA11747 for cvs-etc-outgoing; Wed, 25 Jun 1997 01:59:59 -0700 (PDT) Received: from burka.rdy.com (dima@burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA11738; Wed, 25 Jun 1997 01:59:54 -0700 (PDT) Received: by burka.rdy.com id BAA16442; (8.8.5/RDY) Wed, 25 Jun 1997 01:59:07 -0700 (PDT) Message-Id: <199706250859.BAA16442@burka.rdy.com> Subject: Re: cvs commit: src/etc rc In-Reply-To: <199706250722.AAA26789@precipice.shockwave.com> from Paul Traina at "Jun 25, 97 00:22:05 am" To: pst@shockwave.com (Paul Traina) Date: Wed, 25 Jun 1997 01:59:07 -0700 (PDT) Cc: max@wide.ad.jp, dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Traina writes: > Agreed, it's really nice to have rc.local be executed by a subshell that > cannot, under any circumstances, screw with stuff in /etc/rc. Please read my reply to Max's email and my reply to your next email. > > From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= > Subject: Re: cvs commit: src/etc rc > > dima 1997/06/24 20:12:13 PDT > > Modified files: > > etc rc > > Log: > > sh /etc/rc.local -> . /etc/rc.local > > > Revision Changes Path > > 1.130 +2 -2 src/etc/rc > > What's the advantage of the latter form over the former one? I can > only see disadvantage. > > What if rc.local exists but doesn't have execution bit set? Of course > you can change the test for rc.local to -x from -f. (If we keep this > sh /etc/rc.local -> ./etc/rc.local change, we at least need to make > this change to the test for rc.local, I believe.) But if you are not > careful enough, there are good possibility that you think rc.local > gets executed if it's present. > > Cheers, > Max > > -- dima From owner-cvs-etc Wed Jun 25 02:49:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA14008 for cvs-etc-outgoing; Wed, 25 Jun 1997 02:49:04 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-41.rdcy01.pacbell.net [206.170.5.41]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA13995; Wed, 25 Jun 1997 02:48:58 -0700 (PDT) Received: from shockwave.com (localhost [127.0.0.1]) by precipice.shockwave.com (8.8.5/8.7.3) with ESMTP id CAA27266; Wed, 25 Jun 1997 02:47:15 -0700 (PDT) Message-Id: <199706250947.CAA27266@precipice.shockwave.com> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: max@wide.ad.jp (Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=), dima@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc In-reply-to: Your message of "Wed, 25 Jun 1997 09:49:56 +0200." <19970625094956.OX64271@uriah.heep.sax.de> Date: Wed, 25 Jun 1997 02:47:15 -0700 From: Paul Traina Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You're attributing that to me -- that was Max's question. From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: cvs commit: src/etc rc As Paul Traina wrote: > What if rc.local exists but doesn't have execution bit set? Nothing: $ cat > foo.sh echo "hi, i'm foo" $ ls -l foo.sh -rw-r--r-- 1 j other 19 Jun 25 09:48 foo.sh $ . foo.sh hi, i'm foo -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-etc Wed Jun 25 04:52:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18562 for cvs-etc-outgoing; Wed, 25 Jun 1997 04:52:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA18446; Wed, 25 Jun 1997 04:49:55 -0700 (PDT) From: Paul Traina Received: (from pst@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24905; Wed, 25 Jun 1997 04:48:49 -0700 (PDT) Date: Wed, 25 Jun 1997 04:48:49 -0700 (PDT) Message-Id: <199706251148.EAA24905@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 1997/06/25 04:48:48 PDT Modified files: etc rc Log: Execute rc.local in a subshell instead of sourcing it. Requested by: dima Revision Changes Path 1.131 +2 -2 src/etc/rc From owner-cvs-etc Wed Jun 25 04:52:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18582 for cvs-etc-outgoing; Wed, 25 Jun 1997 04:52:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA18502; Wed, 25 Jun 1997 04:50:32 -0700 (PDT) From: Paul Traina Received: (from pst@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24941; Wed, 25 Jun 1997 04:49:27 -0700 (PDT) Date: Wed, 25 Jun 1997 04:49:27 -0700 (PDT) Message-Id: <199706251149.EAA24941@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 1997/06/25 04:49:27 PDT Modified files: (Branch: RELENG_2_2) etc rc Log: Merge from -currrent. Revision Changes Path 1.104.2.19 +2 -2 src/etc/rc From owner-cvs-etc Wed Jun 25 05:18:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA19534 for cvs-etc-outgoing; Wed, 25 Jun 1997 05:18:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA19486; Wed, 25 Jun 1997 05:18:23 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA25027; Wed, 25 Jun 1997 05:17:17 -0700 (PDT) Date: Wed, 25 Jun 1997 05:17:17 -0700 (PDT) Message-Id: <199706251217.FAA25027@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc.local Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/06/25 05:17:17 PDT Modified files: etc rc.local Log: Add . /etc/rc.conf to pick variables Revision Changes Path 1.24 +6 -1 src/etc/rc.local From owner-cvs-etc Wed Jun 25 05:33:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA20247 for cvs-etc-outgoing; Wed, 25 Jun 1997 05:33:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA20205; Wed, 25 Jun 1997 05:32:43 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA25100; Wed, 25 Jun 1997 05:31:38 -0700 (PDT) Date: Wed, 25 Jun 1997 05:31:38 -0700 (PDT) Message-Id: <199706251231.FAA25100@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/06/25 05:31:37 PDT Modified files: (Branch: RELENG_2_2) etc rc Log: Merge /var/run cleaning from -current Revision Changes Path 1.104.2.20 +5 -4 src/etc/rc From owner-cvs-etc Wed Jun 25 05:56:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA21216 for cvs-etc-outgoing; Wed, 25 Jun 1997 05:56:17 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA21174; Wed, 25 Jun 1997 05:55:51 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id NAA13096; Wed, 25 Jun 1997 13:03:29 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id NAA00933; Wed, 25 Jun 1997 13:25:01 GMT Message-Id: <199706251325.NAA00933@ubiq.veda.is> Subject: Re: cvs commit: src/etc rc.local In-Reply-To: <199706251217.FAA25027@freefall.freebsd.org> from "Andrey A. Chernov" at "Jun 25, 97 05:17:17 am" To: ache@FreeBSD.ORG (Andrey A. Chernov) Date: Wed, 25 Jun 1997 13:25:00 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > ache 1997/06/25 05:17:17 PDT > > Modified files: > etc rc.local > Log: > Add . /etc/rc.conf to pick variables > > Revision Changes Path > 1.24 +6 -1 src/etc/rc.local > Please either provide this as a commented-out example, or back it out. It is individual choice to pull in the variables. -- Adam David From owner-cvs-etc Wed Jun 25 06:56:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA23484 for cvs-etc-outgoing; Wed, 25 Jun 1997 06:56:45 -0700 (PDT) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA23409; Wed, 25 Jun 1997 06:55:43 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.5/8.8.5) id RAA29481; Wed, 25 Jun 1997 17:55:33 +0400 (MSD) Date: Wed, 25 Jun 1997 17:55:33 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net Reply-To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Adam David cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc.local In-Reply-To: <199706251325.NAA00933@ubiq.veda.is> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 25 Jun 1997, Adam David wrote: > > ache 1997/06/25 05:17:17 PDT > > > > Modified files: > > etc rc.local > > Log: > > Add . /etc/rc.conf to pick variables > > > > Revision Changes Path > > 1.24 +6 -1 src/etc/rc.local > > > > Please either provide this as a commented-out example, or back it out. > It is individual choice to pull in the variables. Why? It not breaks anything and not cause any sufficient slowdown we can talk about seriously. I think all rc variables must be accessible from any rc* script for completeness. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-etc Wed Jun 25 07:04:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA23948 for cvs-etc-outgoing; Wed, 25 Jun 1997 07:04:22 -0700 (PDT) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA23939; Wed, 25 Jun 1997 07:04:17 -0700 (PDT) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id HAA21451; Wed, 25 Jun 1997 07:03:21 -0700 (PDT) To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Adam David , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc.local In-reply-to: Your message of "Wed, 25 Jun 1997 17:55:33 +0400." Date: Wed, 25 Jun 1997 07:03:20 -0700 Message-ID: <21447.867247400@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Why? It not breaks anything and not cause any sufficient slowdown we can > talk about seriously. > I think all rc variables must be accessible from any rc* script for > completeness. I agree. Now can we end this discussion-from-hell please? :-) I've noted before that it's always the smallest changes which incite the greatest number of follow-ups, and we frequently see the situation where something like NFS or the audio subsystem is just crawling with bogons and nobody says spit about them. Then someone makes a small, relatively cosmetic change and everybody is on their chairs, exerting tremendous energy on the issue. I would respectfully suggest that a lot of people's energies are being sadly misdirected and they need to focus more on the genuine evils still lurking on our source tree if they've got so much time and energy to spare. ;) Jordan From owner-cvs-etc Wed Jun 25 07:33:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA25497 for cvs-etc-outgoing; Wed, 25 Jun 1997 07:33:04 -0700 (PDT) Received: from critter.dk.tfs.com ([140.145.230.252]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA25480; Wed, 25 Jun 1997 07:33:00 -0700 (PDT) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.5/8.8.5) with ESMTP id QAA01888; Wed, 25 Jun 1997 16:13:59 +0200 (CEST) To: "Jordan K. Hubbard" cc: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= , Adam David , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-etc@freebsd.org From: Poul-Henning Kamp Subject: Re: cvs commit: src/etc rc.local In-reply-to: Your message of "Wed, 25 Jun 1997 07:03:20 PDT." <21447.867247400@time.cdrom.com> Date: Wed, 25 Jun 1997 16:13:59 +0200 Message-ID: <1886.867248039@critter.dk.tfs.com> Sender: owner-cvs-etc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I've noted before that it's always the smallest changes which incite >the greatest number of follow-ups, and we frequently see the situation >where something like NFS or the audio subsystem is just crawling with >bogons and nobody says spit about them. Then someone makes a small, >relatively cosmetic change and everybody is on their chairs, exerting >tremendous energy on the issue. It's called "the Parkinson principle", which paraphrased goes something like "You can get permission to build a nuclear plant, because people do not understand it so they dare not object or they would show their ignorance. But try to get permission for a bike-shelter..." -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail. From owner-cvs-etc Wed Jun 25 08:16:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA27790 for cvs-etc-outgoing; Wed, 25 Jun 1997 08:16:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27757; Wed, 25 Jun 1997 08:16:20 -0700 (PDT) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25567; Wed, 25 Jun 1997 08:15:14 -0700 (PDT) Date: Wed, 25 Jun 1997 08:15:14 -0700 (PDT) Message-Id: <199706251515.IAA25567@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc rc.local Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/06/25 08:15:13 PDT Modified files: etc rc.local Log: Comment out rc.conf picking by default Revision Changes Path 1.25 +4 -4 src/etc/rc.local From owner-cvs-etc Wed Jun 25 12:11:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09252 for cvs-etc-outgoing; Wed, 25 Jun 1997 12:11:04 -0700 (PDT) Received: from burka.rdy.com (dima@burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA09244; Wed, 25 Jun 1997 12:10:57 -0700 (PDT) Received: by burka.rdy.com id MAA19092; (8.8.5/RDY) Wed, 25 Jun 1997 12:10:57 -0700 (PDT) Message-Id: <199706251910.MAA19092@burka.rdy.com> Subject: Re: cvs commit: src/etc rc In-Reply-To: <199706251148.EAA24905@freefall.freebsd.org> from Paul Traina at "Jun 25, 97 04:48:49 am" To: pst@FreeBSD.ORG (Paul Traina) Date: Wed, 25 Jun 1997 12:10:57 -0700 (PDT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Traina writes: > pst 1997/06/25 04:48:48 PDT > > Modified files: > etc rc > Log: > Execute rc.local in a subshell instead of sourcing it. > > Requested by: dima It was not requested by me. > > Revision Changes Path > 1.131 +2 -2 src/etc/rc > -- dima From owner-cvs-etc Fri Jun 27 21:32:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA04159 for cvs-etc-outgoing; Fri, 27 Jun 1997 21:32:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA04033; Fri, 27 Jun 1997 21:29:36 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA16491; Fri, 27 Jun 1997 21:28:08 -0700 (PDT) Date: Fri, 27 Jun 1997 21:28:08 -0700 (PDT) Message-Id: <199706280428.VAA16491@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/27 21:28:08 PDT Modified files: etc services Log: add cvspserver (officially registered at 2401) Revision Changes Path 1.35 +3 -1 src/etc/services