[PATCH] sln: Install as a hard link to ldconfig
Maciej W. Rozycki
macro@imgtec.com
Mon Aug 1 14:37:00 GMT 2016
On Mon, 1 Aug 2016, Mike Frysinger wrote:
> > E.g. booting Linux with `rw init=/bin/bash.static' has always worked for
> > me, with the root filesystem mounted r/w and ready for any recovery
> > actions, such as fixing up DSO symlinks. And I see no reason for it to
> > stop working even where an initial RAM disk is used, as an image of such a
> > RAM disk is always self-contained and not used beyond early (pre-init)
> > initialisation needed to pull the root and maybe console device drivers.
>
> bash.static is just as much of a distro-specific convention. i haven't
> heard of this before, and Debian/Ubuntu/Gentoo don't have it.
I find it a bit surprising for a general-purpose distribution not to
provide a static shell by default, but this is as you say a policy set by
individual distributions. I would feel a bit nervous if I were a system
administrator and didn't have a static shell around on a system I was
taking care of.
FWIW, the specific example I have given is based on what RedHat used to
have, dating back to mid 1990s, and what I have been carrying forward.
Maybe they've dropped the shell since or switched to a smaller one; I
haven't been watching this area closely and assumed good old practices
were retained.
Maciej
More information about the Libc-alpha
mailing list