All of lore.kernel.org
 help / color / mirror / Atom feed
* a more permenant solution to /lib/tls.disabled
@ 2006-02-26  0:06 James Harper
  2006-02-26 11:18 ` Marcin Owsiany
  2006-02-26 11:55 ` Goetz Bock
  0 siblings, 2 replies; 3+ messages in thread
From: James Harper @ 2006-02-26  0:06 UTC (permalink / raw)
  To: xen-devel

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?

Thanks

James

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a more permenant solution to /lib/tls.disabled
  2006-02-26  0:06 a more permenant solution to /lib/tls.disabled James Harper
@ 2006-02-26 11:18 ` Marcin Owsiany
  2006-02-26 11:55 ` Goetz Bock
  1 sibling, 0 replies; 3+ messages in thread
From: Marcin Owsiany @ 2006-02-26 11:18 UTC (permalink / raw)
  To: xen-devel

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@owsiany.pl>              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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a more permenant solution to /lib/tls.disabled
  2006-02-26  0:06 a more permenant solution to /lib/tls.disabled James Harper
  2006-02-26 11:18 ` Marcin Owsiany
@ 2006-02-26 11:55 ` Goetz Bock
  1 sibling, 0 replies; 3+ messages in thread
From: Goetz Bock @ 2006-02-26 11:55 UTC (permalink / raw)
  To: xen-devel


On Sun, Feb 26 '06 at 11:06, 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.
You could divert them

cd /lib/tls
for i in * 
    do dpkg-divert --add --local --divert /lib/tls.disabled/$i /lib/tls/$i 
done
cd ..
mv tls tls.disabled
-- 
Goetz Bock       (c) 2006 as     blacknet.de - Munich - Germany   /"\
IT Consultant  Creative Commons  secure mobile Linux everNETting  \ /
                                                                   X
 ASCII Ribbon Campaign against HTML email & microsoft attachments / \

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-26 11:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26  0:06 a more permenant solution to /lib/tls.disabled James Harper
2006-02-26 11:18 ` Marcin Owsiany
2006-02-26 11:55 ` Goetz Bock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.