R: make installworld fails (touch not found)
Jeremy Chadwick
freebsd at jdc.parodius.com
Sat Sep 17 05:59:15 UTC 2011
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 at 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 |
More information about the freebsd-stable
mailing list