Thursday, March 16, 2006

Linode, Debian, libc6 and that stupid TLS problem (again)

After a recent "apt-get install package/testing" to setup some Apache/php4 based products, a number of system services (MySQL, Bind9) mysteriously segfaulted and refused to start. (Skip to the end for the quick-fix.)

Okay, there is the crash right at the end. Rather hard to get anything useful out of the 20 screen-fulls of trace... Until in the middle '/lib/tls' caught my eye. Of course, the libc6 update had replaced the /lib/tls folder that I had carefully renamed out of the way, many months ago.

Great, finally an answer that i already knew. From the Linode forum: "UML does not (yet) support Thread Local Storage (TLS) in either 2.4 or 2.6. TLS is required by the Native POSIX Thread Library (NPTL) so NPTL is also not supported by UML"