1 |
Zac Medico posted on Thu, 07 Dec 2017 01:07:21 -0800 as excerpted: |
2 |
|
3 |
> On 12/07/2017 12:37 AM, Duncan wrote: |
4 |
>> Zac Medico posted on Fri, 31 May 2013 22:49:02 -0700 as excerpted: |
5 |
>> |
6 |
>>> On 05/31/2013 10:36 PM, Duncan wrote: |
7 |
>>>> As in subject, is portage bin/usr-bin merge safe? |
8 |
>>>> |
9 |
>>>> It appears most of my clashing files are /usr/bin/* -> /bin/* |
10 |
>>>> symlinks. |
11 |
>>> |
12 |
>>> I haven't tried it, but it should work just fine. Portage has always |
13 |
>>> supported directory symlinks like these. I haven't heard any recent |
14 |
>>> complaints regarding them. |
15 |
>> |
16 |
>> As the attribution says, I'm resurrecting a thread from 2013... |
17 |
>> |
18 |
>> I set up a merged /usr/bin -> /bin (and sbin -> bin, and /usr -> .) |
19 |
>> soon after that, with very few problems, usually ebuilds doing |
20 |
>> unconditional rms in postinst or the like, until recently... |
21 |
>> |
22 |
>> Something recently changed, as now I'm having many more problems, so |
23 |
>> far with four packages, glibc (!!), coreutils (!!), nano, and shadow, |
24 |
>> installing symlinks that ultimately point to themselves. |
25 |
>> |
26 |
> I think the sort order of your root directory changed for some reason. |
27 |
> The order that readdir returns filenames depends on the filesystem |
28 |
> implementation: |
29 |
> |
30 |
> http://man7.org/linux/man-pages/man3/readdir.3.html |
31 |
|
32 |
That's... strange. Back in 2013 might have still been on reiserfs, but |
33 |
I've been on btrfs for awhile now. I wonder what might make it change |
34 |
order? |
35 |
|
36 |
Tho I /did/ somewhat recently upgrade ssds, thus copying the /bin dir |
37 |
and /usr -> . symlink, among other root entries. Obviously back when I |
38 |
first setup the /usr -> . symlink it was the newest entry. Maybe if I |
39 |
delete and recreate it so it's definitely the newest entry again... |
40 |
|
41 |
I have no idea how long it might have been before I came up with the idea |
42 |
to try that on my own. Thanks! I'll (gingerly, I don't like major |
43 |
system breakage!) see if it makes a difference. |
44 |
|
45 |
-- |
46 |
Duncan - List replies preferred. No HTML msgs. |
47 |
"Every nonfree program has a lord, a master -- |
48 |
and if you use the program, he is your master." Richard Stallman |