1 |
On Tue, Oct 30, 2012 at 12:21:00PM -0400, Ian Stakenvicius wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA256 |
4 |
> |
5 |
> On 30/10/12 11:36 AM, William Hubbs wrote: |
6 |
> > Fellow Council Members: |
7 |
> > |
8 |
> > We now have two methods of handling separate /usr configurations |
9 |
> > on Linux in the tree. |
10 |
> > |
11 |
> > The first, and by far, the most flexable method is to use an |
12 |
> > initramfs. This method is now documented in the initramfs guide [1] |
13 |
> > and the handbooks. It would need to be used if a user needs |
14 |
> > specialized drivers running or modules loaded before the / or /usr |
15 |
> > file systems can be accessed. A non-inclusive list of these |
16 |
> > situations would be RAID, LVM2, ZFS, and software for encrypted |
17 |
> > file systems. |
18 |
> > |
19 |
> > The second method can be used if the flexability of the first |
20 |
> > method is not needed. It involves re-emerging |
21 |
> > >=sys-apps/busybox-1.20.0 with the sep-usr use flag active and |
22 |
> > following the instructions in the elog messages. This is the way to |
23 |
> > support separate /usr without an initramfs if someone wants this. |
24 |
> > |
25 |
> > The goal of separate /usr support is to insure that /usr is always |
26 |
> > available when / is, and both of these methods meet this goal. If |
27 |
> > users switch to one of these methods, there is no further work |
28 |
> > required by us to support separate /usr configurations. |
29 |
> > |
30 |
> > I have gone over this with Diego in QA, and he agrees that these |
31 |
> > are the methods we should use. That is why he is on the cc: |
32 |
> > specifically for this email. |
33 |
> > |
34 |
> > I believe the only remaining step is for the council to approve |
35 |
> > this plan, so I would like it to be added to the agenda. |
36 |
> > |
37 |
> > If this is approved, my plan will be to release a news item then |
38 |
> > give a time window for users to read the news item and make their |
39 |
> > decision [2]. Once the time window expires, we could assume that |
40 |
> > users with separate /usr have switched to using one of these two |
41 |
> > methods of supporting it. |
42 |
> > |
43 |
> |
44 |
> The end result of this assumption is that the use of |
45 |
> gen_usr_ldscript() and the move of libs from /usr/lib to /lib will |
46 |
> become deprecated, correct? I think it's pertinent to note this (or |
47 |
> whatever other changes will then be requested/required for Council to |
48 |
> decide on) within this discussion, if not also within the "plan".. |
49 |
|
50 |
On Linux, yes, you are correct. I wouldn't propose touching it for the |
51 |
*bsd platforms. |
52 |
|
53 |
Also, once everyone switches over, this deprecation would be |
54 |
transparent. The calls to gen_usr_ldscript would be removed from |
55 |
ebuilds where possible, and the function itself could be disabled on |
56 |
linux. Once this is done, when packages are rebuilt, the libraries would |
57 |
migrate back to /usr/lib. |
58 |
|
59 |
William |