[Pkg-xen-devel] About libc/tls

Ralph Passgang ralph at debianbase.de
Wed Mar 1 18:03:33 UTC 2006


sorry, that was a stupid question. why should a file in /etc disappear just 
because of a reboot.

hmmm. so touching that file is more or less the same as moving the /lib/tls 
directory. It's more elegant, because moving the directory is not a solution 
for the case that libc6 is updated. on the other hand touching 
the /etc/ld.so.hwnocap file would be a solution for the libc6 upgrading 
problem.

if we go this way, we should try to create the /etc/ld.so.hwnocap file as soon 
as possible after the init process to not have services started in an 
tls-enabled mode. We should also remove this file again in a very early 
runnlevel if a non-xen kernel is running (again).

Is that also a solution for the initrd/tls-problem? A initrd that has been 
created on a tls-enabled system will cause xen to warn about tls. What about 
the /etc/ld.so.hwnocap file in combination with the initrd-creation? Will a 
initrd image warn about tls at boot time or not?

--Ralph

Am Mittwoch, 1. März 2006 18:50 schrieb Ralph Passgang:
> and after a reboot the system is tls-enabled again?
>
> is that debian specific or should that work on all systems? I am wondering
> because I think this solution has never been reported to the xen lists
> before...
>
> --Ralph
>
> Am Mittwoch, 1. März 2006 17:40 schrieb Julien Danjou:
> > Hello,
> >
> > I asked Aurelien Jarno from the Debian glibc team about our /lib/tls
> > problem.
> > It gave me a little help:
> >
> > # ldd /bin/echo
> >                 libc.so.6 => /lib/tls/libc.so.6 (0x40021000)
> > # touch /etc/ld.so.hwnocap
> > # ldd /bin/echo
> >                 libc.so.6 => /lib/libc.so.6 (0x40021000)
> >
> > I think this could help us.
>
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-xen-devel



More information about the Pkg-xen-devel mailing list