[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364666: installing libc6-xen does not run ldconfig



tag 364666 + pending
thanks

Jan Lübbe wrote:
On Tue, 2006-05-16 at 22:37 +0200, Aurelien Jarno wrote:
Jan Luebbe wrote:
Package: libc6-xen
Version: 2.3.6-7
Severity: important

After installing libc6-xen and a reboot, xen still complains
that it needs to emulate TLS. I needed to call ldconfig
manually to fix that. This should probably be done in postinst.
ldconfig is already called from postinst, so I don't really understand. Could you please try to run for example ldd /bin/ls after installing libc6-xen, but *before* running ldconfig?

I did exactly that to test it, and it showed me:

apmsrv032:~# ldd /bin/echo linux-gate.so.1 => (0xfbffd000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e02000)
        /lib/ld-linux.so.2 (0xb7f42000)

then i do aptitude install libc6-xen

Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://debian.tu-bs.de testing/main tzdata 2006c-2 [310kB]
Get:2 http://debian.tu-bs.de testing/main libc6-dev 2.3.6-7 [2730kB]
Get:3 http://debian.tu-bs.de testing/main libc6 2.3.6-7 [4725kB]
Get:4 http://debian.tu-bs.de testing/main libc6-xen 2.3.6-7 [1131kB]
Fetched 8895kB in 1s (7141kB/s)
Selecting previously deselected package tzdata.
(Reading database ... 22849 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2006c-2_all.deb) ...
Replacing files in old package libc6 ...
Preparing to replace libc6-dev 2.3.6-3
(using .../libc6-dev_2.3.6-7_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.3.6-3
(using .../libc6_2.3.6-7_i386.deb) ...
Unpacking replacement libc6 ...
Setting up tzdata (2006c-2) ...
Current default timezone: 'UTC'.
Local time is now:      Tue May 16 21:13:48 UTC 2006.
Universal Time is now:  Tue May 16 21:13:48 UTC 2006.
Run 'tzconfig' if you wish to change it.

Setting up libc6 (2.3.6-7) ...
Installing new version of config file /etc/init.d/glibc.sh ...

Selecting previously deselected package libc6-xen.
(Reading database ... 22894 files and directories currently installed.)
Unpacking libc6-xen (from .../libc6-xen_2.3.6-7_i386.deb) ...
Setting up libc6-dev (2.3.6-7) ...
Setting up libc6-xen (2.3.6-7) ...

apmsrv032:~# ldd /bin/echo
        linux-gate.so.1 =>  (0xfbffd000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e38000)
        /lib/ld-linux.so.2 (0xb7f78000)
apmsrv032:~# ldconfig apmsrv032:~# ldd /bin/echo
        linux-gate.so.1 =>  (0xfbffd000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e5d000)
        /lib/ld-linux.so.2 (0xb7fa0000)

I reproduced this right now...

Ok, I was able to reproduce it too after a few tries. I have just fixed the bug in the SVN, the fix will appear in the next upload.


--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: