From owner-freebsd-current Sat Jan 27 23:32:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 5663337B400 for ; Sat, 27 Jan 2001 23:32:29 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14Mc6g-0000Cv-00; Sat, 27 Jan 2001 13:37:59 -0700 Message-ID: <3A7331A6.BE5B27C7@softweyr.com> Date: Sat, 27 Jan 2001 13:37:58 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Steve O'Hara-Smith Cc: Garrett Wollman , current@FreeBSD.ORG Subject: Re: patch for test: /etc/shells -> /usr/local/etc/shells References: <20010126220820.2fa3265a.steveo@eircom.net> <200101262121.QAA02884@khavrinen.lcs.mit.edu> <20010126223412.7eba6913.steveo@eircom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve O'Hara-Smith wrote: > > On Fri, 26 Jan 2001 16:21:01 -0500 (EST) > Garrett Wollman wrote: > > GW> < said: > GW> > GW> > The patch below (against 4-stable but it will probably apply easily > GW> > to -current) moves /etc/shells to /usr/local/etc/shells. > GW> > GW> Bad idea. No base component (never mind libc!) should hard-code a > GW> pathname in /usr/local. > > I'll consider it flamed to death then :) > > It was intended to prevent port installs having to write in /etc > without having to change libc/gen, roken and sendmail which I rather suspect > is also a bad thing to do. > > Perhaps /etc/shells is the least of all evils here. There is a difference between a port creating a config file in /etc, and a port adding to a standard config file in etc. The former is a bad idea, the latter necessary. The other solution would be to allow a PATH of shells files, but that seems rather messy for something this simple. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message