From owner-freebsd-hackers Wed Nov 18 09:17:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA02700 for freebsd-hackers-outgoing; Wed, 18 Nov 1998 09:17:00 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alive.znep.com (207-178-54-226.go2net.com [207.178.54.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02691 for ; Wed, 18 Nov 1998 09:16:57 -0800 (PST) (envelope-from marcs@znep.com) Received: from localhost (marcs@localhost) by alive.znep.com (8.9.1/8.9.1) with ESMTP id JAA22861; Wed, 18 Nov 1998 09:13:30 -0800 (PST) (envelope-from marcs@znep.com) Date: Wed, 18 Nov 1998 09:13:29 -0800 (PST) From: Marc Slemko To: Jacques Vidrine cc: hackers@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? In-Reply-To: <199811180255.UAA01561@spawn.nectar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Nov 1998, Jacques Vidrine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > These are good points, so I hope you don't mind me copying them back > to -hackers where my original message was posted. > > On 17 November 1998 at 23:53, Nik Clayton wrote: > > On Tue, Nov 17, 1998 at 04:41:03PM -0600, Jacques Vidrine wrote: > > > Let's see ... you will be adding complexity. Please specify > > > the payback. > > > > 1. When killing system daemons (i.e., inetd, sendmail, named, lpd, and > > so on) no need to try and find the right PID, playing with ps, grep, > > and friends. This is a win when explaining the process to someone > > newer to Unix than most members of this list, particularly because > > the process is the same each time. They don't (yet!) need or want to > > understand what the script is doing, that can come later. It also > > makes documentation simpler. > > Unless the user is from a System V world, this will be no simpler > than using ``killall''. killall is NEVER the right way to kill daemons under normal circumstances. Getting in the habit of using it as part of normal procedure is just setting yourself up to be shot in the foot when, for whatever reason, there happen to be other processes that match the name. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message