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

Bug#440394: libc6: Change for #395177 favors /usr/local/lib over /usr/lib



Package: libc6
Version: 2.6.1-1+b1
Severity: important

After installing libc6-2.6.1-1+b1, my gtk theme stopped working. I
eventually tracked it down to the change which added /usr/local/lib to
/etc/ld.so.conf.d/libc.conf, coupled with the fact I have an obsolete
build of gtk in /usr/local/lib used when I hack on gtk, and then I would
explicitly request it with an LD_* environment variable tweak. I can 
only imagine the chaos this might have caused trying to start a full
gnome session rather than just individual apps.

A snippet of ldd output from a gtk app (broken):
    libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7e62000)
    libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0
(0xb7ac8000)

I have worked around this by adding /usr/lib before /usr/local/lib in
the new libc.conf file, resulting in the equivalent snippet (fixed):
    libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7e5c000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b0b000)

This could easily be considered a security hole, thus raising this to
critical, but I was not ready to make that assertion.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (601, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                       1:4.2.1-4  GCC support library

libc6 recommends no packages.

-- no debconf information




Reply to: