Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463808 - net-wireless/crda: executables link to libraries in /usr
Summary: net-wireless/crda: executables link to libraries in /usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 398051
  Show dependency tree
 
Reported: 2013-03-30 09:08 UTC by Michał Górny
Modified: 2014-02-12 21:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-30 09:08:58 UTC
/sbin/crda (interpreter => /lib64/ld-linux-x86-64.so.2)
    libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0
        libdl.so.2 => /lib64/libdl.so.2
        libz.so.1 => /lib64/libz.so.1
    libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200
    libnl-3.so.200 => /usr/lib64/libnl-3.so.200
        libpthread.so.0 => /lib64/libpthread.so.0
        libm.so.6 => /lib64/libm.so.6
    libc.so.6 => /lib64/libc.so.6

/sbin/regdbdump (interpreter => /lib64/ld-linux-x86-64.so.2)
    libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0
        libdl.so.2 => /lib64/libdl.so.2
        libz.so.1 => /lib64/libz.so.1
    libc.so.6 => /lib64/libc.so.6

The files should be probably moved to /usr/sbin or /usr/bin.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-01 02:29:57 UTC
Split /usr is broken by design.  I fail to see why I should manually move key binaries to new places.  If we don't move it to /usr it doesn't work before /usr is mounted, if we move it to /usr it doesn't work before /usr is mounted.

there is no possible benefit to this change.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-01 07:57:25 UTC
This is a QA issue. Shortly saying, you're wasting space on a (possibly small) rootfs through executables which are of no benefit there, and making users think that they could use it without /usr mounted. QA can probably argue better.
Comment 3 SpanKY gentoo-dev 2014-02-12 19:02:56 UTC
yeah, installing crda into / makes no sense when the files it needs to use (the wireless-regdb) live in /usr
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-02-12 20:19:47 UTC
Should we also create a /usr/etc/wireless-regdb folder for these?

There is no point in keeping them in /etc if the problems needing them requires /usr mounted first - right?

Just curious, since these files makes no sense without /usr mounted...
Comment 5 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-02-12 20:20:19 UTC
programs*
Comment 6 SpanKY gentoo-dev 2014-02-12 20:59:06 UTC
(In reply to Bjarke Istrup Pedersen from comment #4)

err, no, config files go in /etc.  there is no /usr/etc nor should there be.

if you want a split /usr, then you need to mount it early.  files in / are only there to assist in checking/recovering/mounting /usr and crda does not fall into that category at all.
Comment 7 SpanKY gentoo-dev 2014-02-12 21:01:41 UTC
should be all set now in the tree; thanks for the report!

Commit message: Update to python-any-r1.  Respect $EPREFIX.  Fix path to regulatory.bin.  Move binaries from /sbin to /usr/sbin
http://sources.gentoo.org/net-wireless/crda/crda-1.1.3-r1.ebuild?rev=1.1