Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2009 11:28:01 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        "B. Cook" <bcook@poughkeepsieschools.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: most bizarre libc.so.7 problem
Message-ID:  <ade45ae90910251028l7a98db7x9d85ace9950bae8f@mail.gmail.com>
In-Reply-To: <4AE2F431.7070504@poughkeepsieschools.org>
References:  <4AE2E84F.6060703@poughkeepsieschools.org> <4AE2F431.7070504@poughkeepsieschools.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<snip all>

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#CANONICAL-BUILD


Look at "the following recommended sequence":
  1. make buildworld
  2. make buildkernel
  3. make installkernel
  4. reboot in single user [*]
  5. mergemaster -p
  6. make installworld
  7. mergemaster
  8. reboot

Your steps skip steps 4 and 5.

Note that it's been said many times, especially with remote hosting.
4 can be modified to read something like:
  4. Boot with only required programs to run steps 5 and 6.  In most
cases, it's just sshd that needs to be running.  This means editing
/etc/rc.conf and disabling everything except sshd and the IP
networking/routing.

The purpose of 4 is to stop other people, binaries, or daemons running
and using files that need to be updated.

Redirecting or piping in steps 1, 2, 3 and 6 are optional.  I'd love
to have a logfile myself most of these things.  Either script(1) or
tee(1) it.


Please update your script per directions.  and I would definitely cut
the 4 && commands away from each other.  they're not related and
didn't seem to do the purpose you probably intended it to do.


--Tim



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