3 ms·
Obviously a few of these need work, but I've been in the unfortunate position of recovering a Linux system with a busted .so that broke almost all of coreutils,
by duped 5y ago
Obviously a few of these need work, but I've been in the unfortunate position of recovering a Linux system with a busted .so that broke almost all of coreutils, but cargo worked and so did the coreutils alternatives. Static linking is an absolute godsend.
- otabdeveloper4 5y agoUse busybox instead.
- duped 5y agoDoesn't help when `sudo` is broken ...
- pseudalopex 5y agoHow do these utils help when sudo is broken?
- duped 5y agoWhat I wound up doing was getting a working shared library and editing the LD_PRELOAD, then getting sudo back to use normal coreutils.
- GhettoComputers 5y agoI thought you would just end up doing everything as root lol
- deleted 5y ago[deleted]
- mariusor 5y agosudo and coreutils being broken are separate things though.
- marcodiego 5y agoIn the old days, /sbin guarded statically linked binaries to used before dynamic link is available. Would surely help in this situation. Don't know exactly why that changed. EDIT: Just checked, it is still there! And... It doesn't contains sudo. Can't see a good reason why.