Why people don't test development distributions
Posted Jul 6, 2009 21:38 UTC (Mon) by
nix (subscriber, #2304)
Parent article:
Why people don't test development distributions
A helpful hint for development distribution users: have at least one other
root-suitable partition set aside on the system.
An alternative: have a busybox linked against uClibc linked to /bin/ash or
similar. Then you can use that if glibc --- or, as in this case,
*everything* dynamically linked --- gets fubared. For extra paranoia mark
it immutable.
prelink is an awesome piece of work, but to be honest I look at anything
editing ELF executables like it does and remain amazed that it ever works.
There aren't many things out there that treat executables like a big data
structure and tromp around in them modifying stuff *on the disk*.
Only valgrind scores higher in my personal wizardliness scale, and
if valgrind goes wrong, the system doesn't implode.
Automating prelink runs after a glibc or prelink update seems particularly
risky: the thing should be run manually so you can verify that the result
worked. (prelink itself is statically linked, and your existing *running*
binaries will still work, so prelink -ua will function no matter how badly
prelink goes wrong.)
This is probably not suitable for release versions of distros: unskilled
users won't know how to fix things even if they do go wrong. But
unskilled users won't be running rawhide.
The biggest mistake most of these people made was to reboot. Unix boxes
are extremely robust even after horrific filesystem catastrophes
until you reboot them, after which you're often in reinstall
territory. Vaped dynamic loader, erased /lib, encrypted all of /bin
and /usr/bin? The system's still running to some degree so you can figure
out how to fix it. Reboot, and things get harder, 'cos that system isn't
booting without help. I suppose livecds do help here.
(
Log in to post comments)