WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] a more permenant solution to /lib/tls.disabled

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] a more permenant solution to /lib/tls.disabled
From: Marcin Owsiany <marcin@xxxxxxxxxx>
Date: Sun, 26 Feb 2006 12:18:42 +0100
Delivery-date: Sun, 26 Feb 2006 11:19:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77DAF0A15@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxx
References: <AEC6C66638C05B468B556EA548C1A77DAF0A15@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Sun, Feb 26, 2006 at 11:06:12AM +1100, James Harper wrote:
> Almost every time I do an 'apt-get upgrade' or 'apt-get dist-upgrade', I
> get a new /lib/tls, and because I never log in at the console it often
> gets forgotten.
> 
> Is there any general (or Debian specific) solution to preventing the
> creation of /lib/tls, that won't break anything else?

If you use sid, you can have /lib/tls by creating custom libc6:

apt-get source glibc
cd glibc*
vi debian/rules # add -mno-tls-direct-seg-refs to both _CFLAGS definition
dch -v old.version.0.xen.1 "Make a nosegneg version for xen"
pdebuild # go for a walk or have a nice cup of tea
dpkg -i /var/cache/pbuilder/DEBS-YOU-NEED.deb
echo libc6 hold | dpkg --set-selections

Of course y0u can use simply "apt-get build-dep libc6 &&
dpkg-buildpackage -rfakeroot -uc -us" instead of pbuilder, and make nice
apt preferences stanzas instead of simple hold..

Marcin
-- 
Marcin Owsiany <marcin@xxxxxxxxxx>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>