Making a dynamically-linked root

Terry Lambert tlambert2 at mindspring.com
Thu Jun 5 04:48:36 PDT 2003


"Daniel C. Sobral" wrote:
> Sorry, Terry didn't answer /rescue/sh. He disclaimed the need for one
> because, see, the risk we are incurring by having root dynamically
> linked isn't greater.
> 
> Yes, /rescue/sh answer this question. But I'm not questioning the
> proposal, I'm questioning Terry's answer to a valid question (which
> *should* have been /rescue/sh).

If init or mount gets toasted, you are just as toasted by a
single file failure as if everything were linked dynamic and
you lost ld.so or libc.so.

You can type incantations at the boot loader prompt (if you
are local, or if you are remote, and the single points of
failure of the boot loader configuration files for enabling
the serial console don't get hosed) until you are blue in
the face, but unless you have everything installed on / so
you can rebuild init or mount from sources, you are screwed
by these single points of failure.

-- Terry


More information about the freebsd-arch mailing list