[GTALUG] How much do you know about how linux executes binaries?

Anthony de Boer adb at adb.ca
Thu Dec 12 23:07:17 EST 2019


Sergio Durigan Junior via talk wrote:
>  ...
> BTW, Debian offers busybox-static to help with this kind of scenario.

The problem is that you have to already have that installed before that
kind of oops, and it has to be just that kind of oops, ie not something
minor that doesn't need that kind of tool, nor something major that calls
for a complete reinstall/restore because on a clear disk you can seek
forever.

Back in the day when Unix was a complete PITA to install that kind of
heroic effort was something sysadmins aspired to, but especially with
test instances and virtual machines nowadays it's almost always easier to
just roll a fresh one.  Granted, if you have root on both it can be too
easy to pull a trigger on your workstation or server rather than the test
instance you meant to test so it's good to see that those skills haven't
died out of the world and are still exercised in 2019.

Pro tip from back in the day was to always resist the urge to hit
reboot, because a partially-hosed machine that still had a root shell
open or such gave you a state you might not be able to boot back to.

-- 
Anthony de Boer


More information about the talk mailing list