1 |
Boyd Stephen Smith Jr. wrote: |
2 |
> On Sunday 12 February 2006 07:37, Maarten <gentoo@××××××××.org> wrote about |
3 |
> '[gentoo-user] Handling of config updates, RFC': |
4 |
> |
5 |
>>What tickles me the most about the current process is that one sometimes |
6 |
>>gets huge lists of updated files by updating a single package. A package |
7 |
>>which may have never been used, or at least configured, by the user. |
8 |
>>For instance, updating webmin, or snort, yields many many ._cfg files an |
9 |
>>average user knows little about, and does not care about since he never |
10 |
>>tweaked them. In other words, they are in their distibution-default |
11 |
>>state, never edited. It stands to reason everyone would want all those |
12 |
>>files overwritten by the new ones, is it not ? Well, neither tool does |
13 |
>>that now. |
14 |
> |
15 |
> |
16 |
> 1) "The Gentoo Way" says that gentoo shouldn't make that decision for you. |
17 |
|
18 |
Nah. I think "The Gentoo Way" translates to "You can turn this behaviour |
19 |
ON or OFF at your discretion". I fail to see why yet another switch in |
20 |
the dispatch-conf.conf would do harm to the Gentoo Way, and neither what |
21 |
would be the drawbacks to shipping a stage tarball with all config |
22 |
dates set to a predefined past date which can serve as reference point... |
23 |
|
24 |
> 2) Check out your /etc/dispatch-conf.conf; It has options to automatically |
25 |
> perform a number of merges and even keep an RCS history of config files to |
26 |
> ensure that it is easy to rollback in breaking changes. I tell |
27 |
> dispatch-conf to automatically merge config files I haven't touched. |
28 |
|
29 |
I do too, but it still confronts me with 80+ files I have never touched. |
30 |
|
31 |
> I'd say the tools provided with portage, plus cfg-update, as mentioned by |
32 |
> the other poster, as more than capable for my use (actually, the only one |
33 |
> I /ever/ use is dispatch-conf). Before trying to stir up development |
34 |
> efforts on another method, please try and fully understand the tools |
35 |
> gentoo provides. I'm not saying config file maintainence couldn't be |
36 |
> improved in gentoo, but I think it's in a state that satisfied the |
37 |
> majority of users and (more importantly) developers. It does help to |
38 |
> tweak your CONFIG_PROTECT and CONFIG_PROTECT_MASK. |
39 |
|
40 |
Okay, I'll look into that, too. |
41 |
|
42 |
I understand the developers have better things to do than go on a wild |
43 |
goose chase, but I really think there is room for improvement in this |
44 |
area. Maybe most of you run nightly or weekly 'emerge world's (and thus |
45 |
can easily cope with the occasional 7 files needing merging), but we run |
46 |
a large number of servers, and therefore we only run emerge world a |
47 |
couple of times a year (at most). I can tell you from experience that |
48 |
emerge telling you "there are 231 config files needing attention" after |
49 |
such an update is _very_ discouraging. Especially since fixing that is |
50 |
only the beginning; after that you need to fix everything that broke |
51 |
(and boy do things break if you run an emerge after 6 months!). I'd |
52 |
mention udev, or apache, or gcc, but the list has plenty of examples... |
53 |
|
54 |
Not complaining; things break and such is life. But in the process, |
55 |
every step that is either tedious or time-consuming or unneccessary cuts |
56 |
into the time and effort needed for fixing stuff later on. And I think |
57 |
the current process of merging configs has all three of those aspects. |
58 |
But that's all IMHO, of course. |
59 |
|
60 |
regards, |
61 |
Maarten |
62 |
-- |
63 |
gentoo-user@g.o mailing list |