Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 1999 09:43:06 -0800 (PST)
From:      jeld@mindless.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/10547: whereis script reports errors
Message-ID:  <19990311174306.6DB7614F26@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <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:
>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?19990311174306.6DB7614F26>