Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: rfc: locations of binaries and separate /usr
Date: Mon, 02 Jan 2012 05:41:00
Message-Id: pan.2012.01.02.05.39.39@cox.net
In Reply to: Re: [gentoo-dev] Re: rfc: locations of binaries and separate /usr by "Olivier Crête"
1 Olivier Crête posted on Sun, 01 Jan 2012 15:17:50 -0500 as excerpted:
2
3 > On Sun, 2012-01-01 at 12:46 -0600, William Hubbs wrote:
4 >> I don't think the /{bin,sbin,lib} and /usr/sbin directories should be
5 >> deleted.
6 >>
7 >> However, what I would like to see is that the package maintainers would
8 >> be responsible for creating any compatibility symlinks their package
9 >> needs, not portage. I don't think it is a good idea to have portage or
10 >> any package manager controling the migration.
11 >
12 > The other option is to do mv /bin/* /sbin/* /usr/sbin/* /usr/bin; and
13 > then create symlinks from the other dirs to /usr/bin.. That can be done
14 > in big move, it's the way Fedora is going to do it.
15
16 That's what I had in mind, and in fact have already been thinking about
17 trying, here.
18
19 Which is why I don't really like the idea of packages placing symlinks,
20 since then it'd likely be the symlink copied last, overwriting the actual
21 binary with the symlink... pointing at itself due to the symlinked dirs!
22
23 Which is why I suggested a portage feature that would detect such
24 collisions and die before installing them, potentially overwriting the
25 binary with a symlink to itself!
26
27 --
28 Duncan - List replies preferred. No HTML msgs.
29 "Every nonfree program has a lord, a master --
30 and if you use the program, he is your master." Richard Stallman

Replies