Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Sep 13, 2004 8:03 pm 
Offline
Senior Newbie

Joined: Mon May 03, 2004 7:45 pm
Posts: 13
Due to incompatibilities between NPTL-enabled libcs in various distributions and the current UML kernels (which do not yet fully support NPTL), several things will be broken unless you do:

Code:
mv /lib/tls /lib/tls-disabled


You could also just delete /lib/tls, but it's a good idea to keep it around, just in case. /lib/tls contains the NPTL-enabled libraries, and without the existence of this directory, it'll fall back to using /lib/i686, which contains LinuxThreads libraries. Don't worry, "tls" in this case has nothing to do with "Transport Layer Security" or encryption. Here are a few symptoms that this should solve:

  • nslookup, dig, host, mysql, or sshd segfaults (aka signal 11) on ...
  • ... Debian Unstable (Sid)
  • ... Gentoo (some builds, not sure of the circumstances)
  • ... CentOS
  • ... Any system running kernel 2.6 (modified Fedora Cores, most notably)

If you are not covered by this, check for the existence of /lib/tls anyways. It is safe to move it out of the way, since NPTL functionality is not in current UML kernels anyways.

Also, please bear in mind that if you update glibc, either manually or though your distro's package management system, the /lib/tls directory will be restored, so a script like this in /etc/cron.hourly is helpful:

Code:
#!/bin/sh

[ -d /lib/tls ] && mv /lib/tls /lib/tls-diabled-`date +%s`


This will check every hour for the existence of /lib/tls, and if it exists, it moves it into a unique directory, without clobbering older versions. Have fun!


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 5:22 pm 
Offline
Junior Member

Joined: Wed Feb 01, 2006 1:24 am
Posts: 40
This is also responsible for the phantom segfaults I've been getting trying to apt-get some software and get erlang/ejabberd to install, and the segfaults in erl.

I post this here for anyone trying to do a search on the forums for "segfault", "segmentation fault", and/or "erlang", "ejabberd", and "erl".

Just for completeness:

segfault, segmentation fault, erlang, ejabberd, erl

I'm so glad to have this working. 2 days of frustrations just washed away.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group