From owner-freebsd-current Wed Nov 10 5:43:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from indyio.rz.uni-sb.de (indyio.rz.uni-sb.de [134.96.7.3]) by hub.freebsd.org (Postfix) with ESMTP id 7218C14E1F for ; Wed, 10 Nov 1999 05:43:08 -0800 (PST) (envelope-from netchild@Vodix.CS.Uni-SB.de) Received: from mars.rz.uni-sb.de (ns0.rz.uni-sb.de [134.96.7.5]) by indyio.rz.uni-sb.de (8.9.3/8.9.3) with ESMTP id OAA10302717; Wed, 10 Nov 1999 14:43:04 +0100 (CET) Received: from work.net.local (maxtnt-211.telip.uni-sb.de [134.96.71.82]) by mars.rz.uni-sb.de (8.8.8/8.8.4/8.8.2) with ESMTP id OAA22499; Wed, 10 Nov 1999 14:43:05 +0100 (CET) Received: from Vodix.CS.Uni-SB.de (netchild@localhost.net.local [127.0.0.1]) by work.net.local (8.9.3/8.9.3) with ESMTP id NAA01228; Wed, 10 Nov 1999 13:47:47 +0100 (CET) (envelope-from netchild@Vodix.CS.Uni-SB.de) Message-Id: <199911101247.NAA01228@work.net.local> Date: Wed, 10 Nov 1999 13:47:46 +0100 (CET) From: A.Leidinger@WJPServer.CS.Uni-SB.de Subject: Re: "man" reads /etc/rc.conf? To: archie@whistle.com Cc: current@FreeBSD.ORG In-Reply-To: <199911092127.NAA35683@bubba.whistle.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 9 Nov, Archie Cobbs wrote: > A.Leidinger@WJPServer.CS.Uni-SB.de writes: >> (101) netchild@ttyp2 > man -k adadadad >> cat: /etc/isdn/connect.parameters: Permission denied >> adadadad: nothing appropriate >> >> (102) netchild@ttyp2 > grep cat /etc/rc.conf.local >> spppconfig_isp0="`cat /etc/isdn/connect.parameters`" >> >> Is this just my system or is man really reading rc.conf(.local)? > > ktrace(1) would tell for sure.. /usr/bin/apropos contains: ---snip--- # If possible check global system configuration file for additional # man locales installed if [ -r /etc/defaults/rc.conf ] ; then . /etc/defaults/rc.conf elif [ -r /etc/rc.conf ] ; then . /etc/rc.conf fi ---snip--- and /etc/defaults/rc.conf: ---snip--- man_locales="NO" # space separated list of man locales (or NO) ---snip--- Do we have to live with this or is it subject to change (it gives me a bad taste to have rc.conf sourced everytime apropos is used)? What about making it an environment variable (just set it in login.conf) or enhancing /etc/manpath.config (BTW: everithing is named *.conf except manpath.config)? Bye, Alexander. -- I believe the technical term is "Oops!" http://netchild.home.pages.de A.Leidinger+Home @ WJPServer.CS.Uni-SB.de Key fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message