On Wed, 07 May 2025 at 15:21:43 +0200, Santiago Vila wrote:
El 7/5/25 a las 13:40, Simon Josefsson escribió:
I think we need to separate:
...
2) Removing the /bin symlink.
...
(I don't think anybody is proposing 2) right now).
My understanding is that the compatibility symlinks /bin, /lib* and
/sbin in the root directory can never be deleted, and even the least
conservative advocates of merged-/usr don't intend to delete them,
because they are part of the platform ABI. They could be owned by
base-files, or created programmatically, or even created by tmpfiles.d,
but they have to exist. In practice the implementation we've chosen in
Debian is that base-files owns them.
(/bin for /bin/sh, which is one of the few Unix paths that are
universally available, and possibly specified by POSIX; /lib for several
architectures' ld.so paths, as specified by the psABI; /lib64 for
several other architectures' ld.so paths, as specified by the psABI; and
maybe /sbin could eventually be removed but it seems like something
whose effort and risk would be a lot higher than its benefit, because we
need to keep /bin anyway, and then whatever mechanism ensures that /bin
exists can equally easily take responsibility for /sbin.)
smcv