From nobody  Sat Dec 12 10:06:47 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id KAA12961;
          Sat, 12 Dec 1998 10:06:47 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199812121806.KAA12961@hub.freebsd.org>
Date: Sat, 12 Dec 1998 10:06:47 -0800 (PST)
From: bjg@otherspace.net
To: freebsd-gnats-submit@freebsd.org
Subject: error from whereis command in FReeBSD-2.2.8 w/perl-5.00502 installed
X-Send-Pr-Version: www-1.0

>Number:         9060
>Category:       bin
>Synopsis:       error from whereis command in FReeBSD-2.2.8 w/perl-5.00502 installed
>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:   Sat Dec 12 10:10:00 PST 1998
>Closed-Date:    Tue Dec 29 14:58:06 PST 1998
>Last-Modified:  Tue Dec 29 14:59:37 PST 1998
>Originator:     Bob Glotzbach
>Release:        2.2.8-RELEASE
>Organization:
Self
>Environment:
FreeBSD mariah.rochester.rr.com 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0:
Fri Dec 11 13:37:41 EST 1998 root@mariah.rochester.rr.com:
/usr/src/sys/compile/MARIAH  i386

>Description:
the "whereis" command produces an error:
root@mariah:~/#whereis mail
Can't exec "/usr/sbin/sysctl -n user.cs_path": No such file or directory 
at /usr/bin/whereis line 99mail: /usr/bin/mail /usr/share/man/man1/mail.1.gz

>How-To-Repeat:
run "whereis".
>Fix:
change line 1 of /usr/bin/whereis from: #!/usr/bin/perl
to: #!/usr/local/bin/perl
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Tue Dec 29 14:58:06 PST 1998 
State-Changed-Why:  
Fixed by jkh (r.1.1.2.3) and ache (r.1.5) on Dec.17/98 and Dec.22/98, resp. 
>Unformatted:
