lkml.org 
[lkml]   [1999]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Possible ld-so bug.
Date
From
Zygo Blaxell wrote:

> The answer might be a C program that executes a lot of
>
> rename("library.new", "library");
>
> given a master list, after all the 'library.new''s have been written.
> That C program would do all the renames itself and therefore keeps the
> old shared library images in RAM while changing the files around on disk.
> The C program would continue until all of the libraries have been replaced,
> and once that is done you can happily run the (statically linked)
> /sbin/ldconfig -v and you're done.

And then all your running daemons have heart attacks. Why? Because sendmail
has glibc 2.0.7x mapped, but doesn't have the DNS stuff mapped, and then
sendmail decides to do a DNS lookup, maps in glibc 2.0.7y's DNS module,
and looses/bounces your e-mail.

(Yes, it was only the test machine, but some people might think it's safe to
upgrade glibc on a running system from packages - often, it isn't. It might
usually work, but occasionally bouncing e-mail is still not good.)

David.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.074 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site