From nobody@FreeBSD.ORG Thu Mar 11 09:43:07 1999
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: whereis script reports errors
X-Send-Pr-Version: www-1.0

>Number:         10547
>Category:       misc
>Synopsis:       whereis script reports errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 11 09:50:00 PST 1999
>Closed-Date:    Fri Mar 12 07:45:42 PST 1999
>Last-Modified:  Fri Mar 12 07:47:53 PST 1999
>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 <any command> 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:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Mar 12 07:45:42 PST 1999 
State-Changed-Why:  
1) Mentioned at http://www.freebsd.org/releases/2.2.8R/errata.html 
2) Please don't report release-related problems for old releases 
unless you're sure the problem exists in their successors. 
>Unformatted:
