Bug#640872: Info received (Bug#640872: Acknowledgement (libc6: upgrade fails to mv /lib64.eglibc-new to /lib64; leaves system unusable))
On 2011-09-08 08:35 +0200, Austin Clements wrote:
> I probably don't understand all of the nuances of that code, but one
> potential fix is simply to pass a benign argument to mv. Something like
> if ! $ldfile /bin/mv --version >/dev/null 2>/dev/null; then
> ...
> Alternatively, it may be more robust for the script to simply create a
> file to mv (for example, if it's possible to have a /bin/mv that
> doesn't accept --version).
That is possible, for instance if you divert it and replace it with a
symlink to busybox. The original code in 2.13-17 checked /bin/true
instead of /bin/mv, and somebody who replaced /bin/true with a
statically linked binary complained (#640753).
Sven
Reply to: