From owner-freebsd-bugs Tue Apr 11 8:30: 8 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 E9EDC37BA33 for ; Tue, 11 Apr 2000 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA91277; Tue, 11 Apr 2000 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from thrush.omix.com (thrush.omix.com [206.40.77.44]) by hub.freebsd.org (Postfix) with ESMTP id 17ADC37B9C5 for ; Tue, 11 Apr 2000 08:26:50 -0700 (PDT) (envelope-from byron@thrush.omix.com) Received: (from byron@localhost) by thrush.omix.com (8.9.3/8.9.2) id IAA94047; Tue, 11 Apr 2000 08:29:22 -0700 (PDT) (envelope-from byron) Message-Id: <200004111529.IAA94047@thrush.omix.com> Date: Tue, 11 Apr 2000 08:29:22 -0700 (PDT) From: byron@omix.com Reply-To: byron@omix.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17929 >Category: conf >Synopsis: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 11 08:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Byron Brummer (aka Zenin) >Release: FreeBSD 4.0-RELEASE i386 >Organization: >Environment: ThinkPad 600 laptop. >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. >How-To-Repeat: Copy /etc/pccard.conf.sample to /etc/pccard.conf as one would expect to be the way to do things. Change something in /etc/pccard.conf and watch pccardd simply ignore your changes. >Fix: Set the pccard_conf variable in /etc/defaults/rc.conf to point to /etc/pccard.conf. Either copy or better yet move /etc/pccard.conf.sample to /etc/pccard.conf. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message