Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 22:59:14 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Jason Hellenthal <jhell@DataIX.net>
Cc:        Tom Evans <tevans.uk@googlemail.com>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: R: make installworld fails (touch not found)
Message-ID:  <20110917055914.GA7938@icarus.home.lan>
In-Reply-To: <20110917053831.GA33534@DataIX.net>
References:  <807974.3757131316022987517.JavaMail.defaultUser@defaultHost> <20110916061813.GB18043@DataIX.net> <CAFHbX1Kwo=wb%2BK8NHXpxfwufFrRSGZXy0LAxLsDfXXvYtK5-_Q@mail.gmail.com> <20110917053831.GA33534@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 17, 2011 at 01:38:31AM -0400, Jason Hellenthal wrote:
> 
> 
> On Fri, Sep 16, 2011 at 12:26:46PM +0100, Tom Evans wrote:
> > On Fri, Sep 16, 2011 at 7:18 AM, Jason Hellenthal <jhell@dataix.net> wrote:
> > >
> > > Don't get why all these references for time are popping up here and why
> > > everyone seems to think that would make the PATH variable get cut short
> > > from the environment that newvers.sh is running in, but see the post I
> > > made to the real thread a few moments earlier.
> > >
> > 
> > Its also a FAQ in the handbook:
> > 
> > http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#TOUCH-NOT-FOUND
> > 
> 
> Keywords "...when booting into single user mode." 

...which is what you're supposed to do when doing installworld.  I
*hope* the OP was booted into single-user when doing installworld -- if
not: sigh.

We (community members) have had this discussion before in the past, re:
can installworld be done in multi-user safely.  The absolutely 100%
failsafe answer is "no, you need to do it in single-user".  The
"get'er'done!!!" answer is "it depends".

There have **absolutely** been times in the past where single-user was
required (I know because this bit me back in the day and it's how I
learned my lesson).  People often come to the lists asking if they can
do installworld in multi-user because they lack console access (shame on
them).

Furthermore booting into single-user for installworld is explicitly
stated in /usr/src/Makefile, which is effectively the source of truth
when it comes to world rebuilding/updating.  There are some other steps
that should really make it into /usr/src/Makefile (such as the need to
rm -fr /usr/share/man/* before doing the installworld phase, else you
can end up with stale man/catman pages), but the existing method works
reliably.

So what part of the picture am I missing?  :-)

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, US |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




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