/usr/lib/debug ownership

Michael Schwendt mschwendt at gmail.com
Thu Feb 14 22:19:20 UTC 2013


On Thu, 14 Feb 2013 16:36:03 +0100, Alec Leamas wrote:

> Running some automated tests I stumble over the debug directories. E. g.,
> 
> $ repoquery -qf /usr/lib/debug
> 
> shows 45 owners on current F18. Other directories under /usr/lib/debug 
> have  a similar situation with many owners..
> 
> I note that /usr/src/debug is owned by filesystem, but filesystem does 
> not own /usr/lib/debug.
> 
> Is all this on purpose, or is something broken here? Thinking about it, 
> we never require anything for the debug package AFAICT. What's the story?

It depends on what the package stores below /usr/lib/debug.
Here's one that is mispackaged:

  # repoquery -qf /usr/lib/debug
  nacl-devel-0:20110221-3.fc19.i686

  -> http://koji.fedoraproject.org/koji/rpminfo?rpmID=3336721

It includes the -debuginfo package contents in the -devel package, most
likely because it does a lazy'n'risky %{_libdir}/* in its %files section.

-- 
Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc7.git0.1.fc19.x86_64
loadavg: 0.27 0.11 0.07


More information about the devel mailing list