From roelof@n669.telekabel.euronet.nl Tue Mar  2 19:32:14 1999
Return-Path: <roelof@n669.telekabel.euronet.nl>
Received: from n669.telekabel.euronet.nl (n669.telekabel.euronet.nl [194.134.130.170])
	by hub.freebsd.org (Postfix) with ESMTP id F011514E3D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Mar 1999 19:30:51 -0800 (PST)
	(envelope-from roelof@n669.telekabel.euronet.nl)
Received: (from roelof@localhost)
	by n669.telekabel.euronet.nl (8.9.2/8.9.2) id EAA05417;
	Wed, 3 Mar 1999 04:30:37 +0100 (CET)
	(envelope-from roelof)
Message-Id: <199903030330.EAA05417@n669.telekabel.euronet.nl>
Date: Wed, 3 Mar 1999 04:30:37 +0100 (CET)
From: User Roelof Osinga <roelof@n669.telekabel.euronet.nl>
Reply-To: roelof@n669.telekabel.euronet.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: Freshly installed program can not be found
X-Send-Pr-Version: 3.2

>Number:         10364
>Category:       misc
>Synopsis:       Freshly installed program can not be found
>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:   Tue Mar  2 19:40:00 PST 1999
>Closed-Date:    Fri Mar 5 09:22:15 PST 1999
>Last-Modified:  Fri Mar  5 09:24:21 PST 1999
>Originator:     Roelof Osinga
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
eboa - engineering buro Office Automation
>Environment:

	

>Description:

Right after installing a port that port is not found, even though
present.

>How-To-Repeat:

On a freshly installed system install the bash2 port. Followed
directly by:

n669# whereis bash
Warning: couldn't stat file /usr/local/lib/perl5/5.00502/man!
bash: /usr/local/bin/bash /usr/local/man/man1/bash.1.gz
n669# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/root/bin
n669# bash
bash: Command not found.
n669# ls -ld /usr/local/bin/ba*
lrwxr-xr-x  1 root  wheel       6 Mar  2 22:48 /usr/local/bin/base64 -> ssleay
-r-xr-xr-x  1 root  wheel  366040 Mar  3 04:09 /usr/local/bin/bash
-r-xr-xr-x  1 root  wheel    3149 Mar  3 04:09 /usr/local/bin/bashbug
n669# /usr/local/bin/bash 
bash-2.02# exit
n669# bash
bash: Command not found.
n669# 

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nectar 
State-Changed-When: Fri Mar 5 09:22:15 PST 1999 
State-Changed-Why:  
By default, root uses the C shell (csh).  Please read 
``man csh'' and look for the ``rehash'' command.  This 
is needed if new commands are added to directories in 
your path while you are logged in. 
>Unformatted:
 >Fie: 
 	
 	<How to correct or work around the problem, if known (multiple lines)>
 It is self correcting. In fact other consoles can find the program just
 fine. It is the console that did the install that can't find the installed
 program.
 
