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

Bug#525779: marked as done ([checks/shared-libs] warn about private libraries/plugins in /usr/lib)



Your message dated Tue, 15 Sep 2009 22:19:25 -0700
with message-id <87d45ra2le.fsf@windlord.stanford.edu>
and subject line Re: Bug#525779: [checks/shared-libs] warn about private libraries/plugins in /usr/lib
has caused the Debian Bug report #525779,
regarding [checks/shared-libs] warn about private libraries/plugins in /usr/lib
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
525779: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525779
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.2.9
Severity: wishlist

Hi,

Given the current pollution of /usr/lib of private libs/plugins it would be 
great if lintian warned about those.

Probably something like the following (without the false positives and based 
on objdump's output):

for f in /usr/lib/*.so.* ; do
   nm -D "$f" | egrep -q '^[a-f0-9]+ [^U] [^_]' || echo "$f is private"
done

Ideas?

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net



--- End Message ---
--- Begin Message ---
As discussed in the bug, we can't really check for this, since there is no
clear distinction between plugins and regular shared libraries.  We
already catch libraries without SONAMEs or without versioned SONAMEs,
which I think is as good as we can do.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


--- End Message ---

Reply to: