Gentoo Archives: gentoo-dev

From: "Paweł Hajdan
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /bin and /sbin to /usr
Date: Tue, 10 Aug 2010 14:00:48
Message-Id: 4C615BAA.7080006@gentoo.org
In Reply to: [gentoo-dev] /bin and /sbin to /usr by Eray Aslan
1 On 8/10/10 4:22 AM, Eray Aslan wrote:
2 > 1. Is this OK or should we file bugs against binaries in {/bin,/sbin} linking
3 > against libraries in /usr/lib? Fix is relatively easy in general (give
4 > --libdir=/lib against the config script)
5
6 I'd suggest a fix that is guaranteed to work: make portage refuse to
7 install anything in /bin that depends on /usr (based on say ldd check).
8
9 > 2. Is the below acceptable? (symlinking from /bin to /usr/bin)
10 > # ls -l $(find {/bin,/sbin}/ -type l)|grep /usr
11 > lrwxrwxrwx 1 root root 20 Oct 28 2008 /bin/igawk ->
12 > /usr/bin/igawk-3.1.6
13 > lrwxrwxrwx 1 root root 14 Aug 10 13:29 /bin/mail -> /usr/bin/mailx
14 > lrwxrwxrwx 1 root root 20 Oct 28 2008 /bin/pgawk ->
15 > /usr/bin/pgawk-3.1.6
16
17 I don't know the reason behind it. Both /usr/bin and /bin are in PATH...
18 maybe for compatibility reasons.
19
20 Paweł

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] /bin and /sbin to /usr Mike Frysinger <vapier@g.o>