Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 10:41:36 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Rong-En Fan <grafan@gmail.com>
Subject:   Re: tail, tr: not found when booting
Message-ID:  <200604121041.37870.jhb@freebsd.org>
In-Reply-To: <6eb82e0604112027q557fa36bw692f147913112997@mail.gmail.com>
References:  <6eb82e0604112027q557fa36bw692f147913112997@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 April 2006 23:27, Rong-En Fan wrote:
> Hi,
> 
> I just upgraded my -currnet to today. I noticed that rc complains about
> tail and tr not found:
> 
> [...]
> Trying to mount root from ufs:/dev/ad0s3a
> start_init: trying /sbin/init
> tail: not found
> tr: not found
> Loading configuration files.
> kernel dumps on /dev/ad0s3b
> [...]
> 
> The following line in rc.subr looks suspicious
> 
> JID=`ps -p $$ -o jid | tail -1 | tr -d ' '`
> 
> They should be replaced by absolute name as the rest command in
> rc.subr. :-)

You don't have tail and tr in /usr/bin?  Hmm, I wonder if /usr is
mounted at that point, if not then rc.subr needs to be fixed.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604121041.37870.jhb>