On Mon, 25 Apr 2016 18:04:58 +0200, Mark Kettenis wrote: > Wait! Does that mean there is a moment where there is not a valid > libc.so installed? That would be wrong wouldn't it? > > Doesn't the install command guarantee atomicity?
Seems like it would be safer to just install as /usr/lib/$_tmplib and then rename to /usr/lib/$_lib. Trying to recover from a failed copy to /usr/lib/$_lib is potentially nasty (yes, I am aware that mv is statically linked). - todd