Pray for all those scripts out there that assume /bin/sh or /bin/bash exists. Sounds like they only have a couple more years of error-free life

There is no intent to remove the /bin symlink.

Too bad.

Will it at least lead to the removal of /sbin and /lib?

There are still many paths hardcoded into /sbin. /lib is expected to stay since the LDSO path for dynamic linking points there, removing it is not possible without breaking the ABI.

> There are still many paths hardcoded into /sbin

This is fixable: it only truly matters for /sbin/init, but it's nothing than can be fixed in a minute with the right kernel cmdline.

For the rest, a regex could replace /sbin by /usr/sbin in the package files

> /lib is expected to stay since the LDSO path for dynamic linking points there, removing it is not possible without breaking the ABI.

Maybe it's time to do that too? Android does just fine without /lib. Only the linker needs that, and changing the path to ld-linux should just require a kernel tweak.

But breaking the ABI could also be the opportunity to bring in android improvements, like the linkerconfig or namespaces!

The kernel has no idea about /lib (unless you're using the in-kernel firmware loader, which you really shouldn't be) - the rtdl path is present in every ELF object that depends on it, so the "kernel tweak" would be hacking the ELF loader to rewrite /lib (or /lib64) to something else.

I mean, we don't have to hack the elf loader if we just rewrite every elf binary using patchelf: https://github.com/NixOS/patchelf

The parent commenter is already suggesting "just run a regex", so it seems like a trivial extension to their simple solution to "just run patchelf on every binary on your system"