summaryrefslogtreecommitdiffstats
path: root/libexec/Makefile
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-10-31 09:26:42 +0000
committeryar <yar@FreeBSD.org>2007-10-31 09:26:42 +0000
commitc9f53dc499bf895e1a8f90a39ad71ae5b964658d (patch)
tree28f1483be491237fd25507f0c5fd4841bb6b33d1 /libexec/Makefile
parent402e21e0f95128bd4e5b0e8500ff91b5d832e41c (diff)
downloadFreeBSD-src-c9f53dc499bf895e1a8f90a39ad71ae5b964658d.zip
FreeBSD-src-c9f53dc499bf895e1a8f90a39ad71ae5b964658d.tar.gz
Decouple the install tools from the main system as much as possible.
I.e., not only copy them to a scratch dir, but also make them use saved copies of libraries and locale files. That gives us several benefits: 1) ABI breakages should no longer affect installworld over the live system. 2) It becomes safe to run installworld while still running the old kernel. However, it can be reasonable to save the old /rescue before that to be able to run the old reboot(8), as the new binaries are rather likely to fail with the old kernel. Anyhow, it's now possible to upgrade a system in a single reboot _reliably_. 3) With a bit of hackery around rtld(8), it becomes possible to do destructive cross-installs, e.g., i386->amd64 over the live system. The only shared item left between the old and new systems is rtld(8), which cannot be run from a saved copy easily because its full pathname is stored in the respective field of each ELF executable. (In theory, that field could be overridden, e.g., from the environment, but this can lead to security issues.) That's why a destructive cross-install isn't possible w/o hackery yet. Fruitful ideas by: ru Reviewed by: ru Tested with: audit(4)
Diffstat (limited to 'libexec/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud