Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] CONFIG_PROTECT and ROOT!='/'
Date: Tue, 15 Mar 2005 16:14:17
Message-Id: 20050315161413.GA17344@lion.gg3.net
In Reply to: Re: [gentoo-dev] CONFIG_PROTECT and ROOT!='/' by Brian Jackson
1 maillog: 15/03/2005-08:26:49(-0600): Brian Jackson types
2 > On 12:56:00 am 2005-03-15 Georgi Georgiev <chutz@×××.net> wrote:
3 > > maillog: 14/03/2005-22:24:24(-0600): Brian Jackson types
4 > > > On Mon, 2005-03-14 at 13:21 -0800, Donnie Berkholz wrote:
5 > > > > Vitaly Ivanov wrote:
6 > > > > > I found the comments of Nicholas Jones in bug
7 > > > > > http://bugs.gentoo.org/show_bug.cgi?id=52415
8 > > > > >>> Portage makes the assumption that if you're installing
9 > > > > >>> into a new root, then you're building a system and
10 > > > > >>> shouldn't bother with config protection. It's not
11 > > > > >>> documented either way, so it's undefined behavior.
12 > > > >
13 > > > > I disagree with that logic, because people may be maintaining
14 > > > > systems in a ROOT with modified config files. Updating those
15 > > > > systems trashes the files. Thank you for pointing out this
16 > > > > behavior now, because it walks all over plans I have for a
17 > > > diskless cluster.
18 > > > I mentioned this to the portage guys the other day. Either they
19 > > > didn't care, or they didn't hear me. Either way, probably need to
20 > > > file a bug about it (or stir up that other one).
21 > >
22 > > Alright! The bug is getting attention, and it even hasn't been a year!
23 > >
24 > > I posted a patch at http://bugs.gentoo.org/show_bug.cgi?id=52415 that
25 > > addresses the issue. You can directly do
26 > >
27 > > wget http://bugs.gentoo.org/attachment.cgi?id=53496 -O - | patch -p0
28 > >
29 > > which will in turn screw your portage.py, but hopefully for the best.
30 > >
31 > > As I see that there are more people who are interested in the bug, I
32 > > am expecting at least some to trust me enough as to try out the patch
33 > > and in turn make some noise (yeah, noise is what we need) when it
34 > > makes them happy.
35 > >
36 > > The other problem that bothers me (that is: reading configuration
37 > > files from $ROOT) seems to be worked on. At least, there are
38 > > comments like:
39 >
40 > I have a bug filed for that too, but it's probably going to be a while
41 > before it's fixed. From what I've been told, it's not trivial to fix it
42 > because some of the config stuff isn't very well abstracted.
43
44 It isn't? Are we talking about the same thing? After all, the locations
45 are just variables, that only need to be prefixed with something. Could
46 we get some input from whoever told you this?
47
48 > http://bugs.gentoo.org/show_bug.cgi?id=73350
49
50 --
51 ) Georgi Georgiev ) Sure he's sharp as a razor ... he's a two- )
52 ( chutz@×××.net ( dimensional pinhead! (
53 ) +81(90)6266-1163 ) )
54 --
55 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] CONFIG_PROTECT and ROOT!='/' Brian Jackson <iggy@g.o>