From owner-freebsd-bugs Thu Mar 11 9:50:15 1999 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 7060615106 for ; Thu, 11 Mar 1999 09:50:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id JAA20754; Thu, 11 Mar 1999 09:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 6DB7614F26; Thu, 11 Mar 1999 09:43:06 -0800 (PST) Message-Id: <19990311174306.6DB7614F26@hub.freebsd.org> Date: Thu, 11 Mar 1999 09:43:06 -0800 (PST) From: jeld@mindless.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/10547: whereis script reports errors Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10547 >Category: misc >Synopsis: whereis script reports errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 11 09:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Dmitriy Kropivnitskiy >Release: 2.2.8 >Organization: >Environment: I do not think this is relevant to the problem and I do not have the output ready because I am forced to use my Win95 station to submit this :) Sorry >Description: On a freshly installed 2.2.8 system, when whereis command is issued an error is reported prior to displaying the results. An error indicates that /usr/sbin/sysctl is not found at line 99 of whereis script. >How-To-Repeat: Type whereis at the console. >Fix: In line 99 of /usr/bin/whereis "local($cs_path) = /usr/sbin/sysctl -n user.cs_path" should be changed to "local($cs_path) = /sbin/sysctl -n user.cs_path" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message