Re: IMP: downgrade ldso to bo: no ldso left!
> On May 11, joost witteveen wrote
> > I just downgraded my ldso from the one in unstable, to the one
> > in bo, and I appear to be left with a system that doesn't have
> > a dynamic linker!
> This is because of a change from a hard link to a symlink in one of
> the 1.9.x versions. I'm not sure that I can do anything about it
> except to not allow ldso to be downgraded.
Well, as the problem is rather serious (very, very, very!),
I think the least you can do is warn the user who wants to
downgrade to the bo version, and offer him to quit the install
if no statically linked version of "cp" or "ln" is available.
Or, maybe provide a statically linked version of ln in the
preinst (uuencoded) of the bo version of ldso, that the preisnt
stores in /tmp/ln-static. Then you could use that /tmp/ln-static to:
-maybe use to correct the damage yourself in the postinst,
-or, simply "rm /tmp/ln-static" in the postinst:
if the system still works, this will safely delete that ln.
if the system is broken, the rm doesn't work, and the user
at least has a statically linked "ln" available.
then just an "echo" will suffice to tell the users what to do
(well, it would have worked with me).
$ ls -al ln
-rwxr-xr-x 1 root root 172383 May 13 12:05 ln*
$ ldd ln
statically linked (ELF)
Yes, it's big, I know. But the problem really is big to.
BTW, it isn't unlikely people will want to downgrade to the bo
version of ldso, as it's the only version that still allows us
to build .deb packages: dpkg-shlib doesn't work with the new
ld.so. Yes, I know there's an experimental dpkg out that does
work with the new ld.so, but we've just been warned about the
dangers of that experimental version.
Also, we need to new ldso in order to run libc6 packages (loads
already in unstable). So, I can well envisage the situation where
people want to switch between the two ldso's
joost witteveen, firstname.lastname@example.org
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .