[uClibc] Re: The naming wars continue...
Denis Vlasenko
vda at port.imtp.ilyichevsk.odessa.ua
Fri Oct 29 23:33:50 UTC 2004
On Saturday 30 October 2004 02:22, Adrian Bunk wrote:
> On Sat, Oct 30, 2004 at 02:13:18AM +0300, Denis Vlasenko wrote:
> >...
> > > That's not completely impossible, but e.g. in Debian unstable as it is
> > > today it would require a non-trivial amount of changes.
> > >
> > > And you still need other pieces like the possibility to execute commands
> > > on all clients for e.g. restarting services during a glibc upgrade.
> >
> > Why do I need to execute anything on glibc update?
>
> Due to NSS (Name Service Switch) changes NSS lookups might fail if
> programs using NSS aren't restarted.
# ls -l /lib/*nss* | grep glibc
lrwxrwxrwx 1 root root 39 Oct 27 07:36 /lib/libnss_compat-2.3.so -> /app/glibc-2.3/lib/libnss_compat-2.3.so
lrwxrwxrwx 1 root root 37 Oct 27 07:36 /lib/libnss_compat.so.2 -> /app/glibc-2.3/lib/libnss_compat.so.2
lrwxrwxrwx 1 root root 36 Oct 27 07:36 /lib/libnss_dns-2.3.so -> /app/glibc-2.3/lib/libnss_dns-2.3.so
lrwxrwxrwx 1 root root 34 Oct 27 07:36 /lib/libnss_dns.so.2 -> /app/glibc-2.3/lib/libnss_dns.so.2
lrwxrwxrwx 1 root root 38 Oct 27 07:36 /lib/libnss_files-2.3.so -> /app/glibc-2.3/lib/libnss_files-2.3.so
lrwxrwxrwx 1 root root 36 Oct 27 07:36 /lib/libnss_files.so.2 -> /app/glibc-2.3/lib/libnss_files.so.2
lrwxrwxrwx 1 root root 39 Oct 27 07:36 /lib/libnss_hesiod-2.3.so -> /app/glibc-2.3/lib/libnss_hesiod-2.3.so
lrwxrwxrwx 1 root root 37 Oct 27 07:36 /lib/libnss_hesiod.so.2 -> /app/glibc-2.3/lib/libnss_hesiod.so.2
lrwxrwxrwx 1 root root 36 Oct 27 07:36 /lib/libnss_nis-2.3.so -> /app/glibc-2.3/lib/libnss_nis-2.3.so
lrwxrwxrwx 1 root root 34 Oct 27 07:36 /lib/libnss_nis.so.2 -> /app/glibc-2.3/lib/libnss_nis.so.2
lrwxrwxrwx 1 root root 40 Oct 27 07:36 /lib/libnss_nisplus-2.3.so -> /app/glibc-2.3/lib/libnss_nisplus-2.3.so
lrwxrwxrwx 1 root root 38 Oct 27 07:36 /lib/libnss_nisplus.so.2 -> /app/glibc-2.3/lib/libnss_nisplus.so.2
When I add *.so.2.4 links to point to glibc-2.4 libs,
and replace *.so.2 links to point to the same,
already running programs will happily continue to run, no?
(Modulo libs breaking binary comatibility between minor versions.
AFAIK libs are not allowed to do so.
Unfortunately even glibc did it to me at least once.)
--
vda
More information about the uClibc
mailing list