[Pkg-xen-devel] About libc/tls [signed]

Jeremy T. Bouse [c] jbouse at debian.org
Wed Mar 1 18:10:44 UTC 2006


    Just a thought, but we know that touching /etc/ld.so.hwnocap appears
to disable the tls support in libc; however, has anyone tried doing so
and then seeing if Xen detects whether tls is enabled or disabled? I
would agree if it simply means touching this file or ensuring this file
exists this would be a far simplier approach to the tls issue than
moving /lib/tls or trying to divert all the files contained within it.

    Regards,
    Jeremy

Ralph Passgang wrote:

>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
>>    
>>
>
>_______________________________________________
>Pkg-xen-devel mailing list
>Pkg-xen-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/pkg-xen-devel
>
>  
>



--
------------------------ [ SECURITY NOTICE ] ------------------------
To: pkg-xen-devel at lists.alioth.debian.org.
For your security, jbouse at debian.org
digitally signed this message on 01 March 2006 at 18:10:50 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
------------------- [ CIPHIRE DIGITAL SIGNATURE ] -------------------
Q2lwaGlyZSBTaWcuAjhwa2cteGVuLWRldmVsQGxpc3RzLmFsaW90aC5kZWJpYW4ub3JnA
Gpib3VzZUBkZWJpYW4ub3JnAGVtYWlsIGJvZHkASwgAAHwAfAAAAAEAAACq4wVESwgAAK
YCAAIAAgACACBbbe/kx8tpUyJhmgvpubSxgZmn0dxD/KgljpsTpsvZVQEAJLQlVT52rnd
nqox8AzyHB09mthbDWqsaMF1UXyCm8B4I0IaphuV6oKszV7EFBNQHEMKI/vpAkkRpD47/
i222Yz0EOIn0U2lnRW5k
--------------------- [ END DIGITAL SIGNATURE ] ---------------------




More information about the Pkg-xen-devel mailing list