From owner-freebsd-bugs Tue Apr 11 10:20: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A97437B8EC for ; Tue, 11 Apr 2000 10:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA05939; Tue, 11 Apr 2000 10:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 11 Apr 2000 10:20:04 -0700 (PDT) Message-Id: <200004111720.KAA05939@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brooks Davis Subject: Re: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Reply-To: Brooks Davis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/17929; it has been noted by GNATS. From: Brooks Davis To: byron@omix.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Date: Tue, 11 Apr 2000 10:15:51 -0700 On Tue, Apr 11, 2000 at 08:29:22AM -0700, byron@omix.com wrote: > >Description: > > The man page for pccard(8) says the default configuration file is > /etc/pccard.conf, which is false. /etc/defaults/rc.conf changes > the config to be /etc/pccard.conf.sample, effectively changing the > default for all practical use. > > As the file is marked .sample and there is no man page for > pccard.conf.sample, I assumed it was the same as the > /etc/ppp/ppp.shells.sample and similar files (such as those > often placed into /usr/local/etc/rc.d/*.sample). That is, the > intension is that the file must be copied into place before it's > usable; that it's just a sample file, not the real thing. > > I was wrong. > > /etc/defaults/rc.conf "magically" changes this perception, breaking > the .sample convention used throughout the system, and causing a > great amount of confusion when none of my changes in > /etc/pccard.conf had any effect. > > This wasn't the case in earlier releases and it shouldn't be the > case now, IMHO. This PR is obsolete. The new configuration method in -current makes the system read /etc/defaults/pccard.conf which in turn read /etc/pccard.conf to provide override support. This is the solution which should be adopted in 4.0. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message