[Pkg-uml-pkgs] Bug#372942: rootstrap: needs ability to disable /lib/tls

Andreas Beckmann debian at abeckmann.de
Mon Jun 12 14:37:25 UTC 2006


Package: rootstrap
Version: 0.3.22-1
Severity: normal

Hi Mattia,

/lib/tls seems to be a problem under user-mode-linux. I couldn't find
any really good documentation about this issue causing crashes without
useful error messages, debugging info etc. but
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265486 might help.
I experienced this myself with aptitude crashing during startup.

Since this strikes the uml users from time to time, it would be
good, if rootstrap could create a 'tls-free' image.

The best fix would be in glibc itself: autodetection of uml resulting
in disabling tls.

The usual advice is
  mv /lib/tls /lib/tls.disabled
but I consider this as extremely update unfriendly/unsafe.

So I created a local package (libc6-disable-tls) that diverts /lib/tls/*
to /lib/tls.disabled/* which is update-safe.

What would be the best way to integrate this into rootstrap?
Would such a package (libc6-disable-tls) have a chance to be accepted by
debian, so rootstrap could just recommend to install it during or after
debootstrap?


Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-vserver-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rootstrap depends on:
ii  debootstrap                 0.3.3        Bootstrap a basic Debian system
ii  dpkg                        1.13.19      package maintenance system for Deb
ii  python                      2.3.5-5      An interactive high-level object-o
ii  user-mode-linux             2.6.16-2um-1 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities                 20060323-3 User-mode Linux (utility programs)

-- no debconf information




More information about the Pkg-uml-pkgs mailing list