Date: Tue, 11 Apr 2000 08:29:22 -0700 (PDT) From: byron@omix.com To: FreeBSD-gnats-submit@freebsd.org Subject: conf/17929: pccardd uses /etc/pccard.conf.sample when man page says /etc/pccard.conf Message-ID: <200004111529.IAA94047@thrush.omix.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004111529.IAA94047>
