1 |
Hi there, i've been putting in alot of work on dispatch-conf lately, |
2 |
adding features i personally need, and features that it should have. I |
3 |
have a new version of dispatch-conf posted at bug: |
4 |
http://bugs.gentoo.org/show_bug.cgi?id=68618 |
5 |
|
6 |
i believe it will solve one of your major problems with dispatch-conf as |
7 |
i have added a new option called "config file freezing" which allows you |
8 |
to specify config files you never want to be overwritten, like |
9 |
/etc/fstab /etc/password and /etc/group and so on. instead it will take |
10 |
the new files that portage tries to pass out and apply them to rcs (or |
11 |
archive them through whatever meathod you are using). I'm also taking |
12 |
suggestions on features to be added, so if you, or anyone else feels |
13 |
there are other features that should be added email me about it and |
14 |
we'll talk about what/how should be added. |
15 |
|
16 |
|
17 |
On 22:18 Sat 23 Oct , Ed Grimm wrote: |
18 |
> On Thu, 21 Oct 2004, Paul de Vrieze wrote: |
19 |
> > On Thursday 21 October 2004 00:02, andrea ferraris wrote: |
20 |
> >> The first one is simple: in a litle gentoo system that I'm |
21 |
> >> managing for a year now with authomatic nightly updates, |
22 |
> >> I had to update almost manually about a hundred of |
23 |
> >> configuration files. The system (gentoo) is well designed, |
24 |
> >> so, if I didn't update, all works because the original |
25 |
> >> configuration files stay in place, but for the better and |
26 |
> >> also only for the good, the thing to do is to use etc-update |
27 |
> >> to update such configuration files. The problem is that such |
28 |
> >> process is really time consuming and error prone, so it's |
29 |
> >> not very good. |
30 |
> > |
31 |
> > You might want to try dispatch-conf. It is superior to etc-update in |
32 |
> > many aspects, and it comes with gentoolkit. Further there is normally |
33 |
> > no need to update every night. While there is no problem with it, it |
34 |
> > will increase the maintenance load unnecessarilly. |
35 |
> |
36 |
> Reading the dispatch-conf(1") manpage (1<b>"</b>?), I see that it does a |
37 |
> certain amount of reduction of makework. However, it does nothing to |
38 |
> fix my primary annoyance with Gentoo's attempts to update my /etc files. |
39 |
> |
40 |
> My issue is: Gentoo's patch system does not take current state into |
41 |
> account in any appropriate manner. This means that any file in /etc |
42 |
> which I have made changes will be updated improperly; I'll therefore |
43 |
> need to either throw out new changes or adapt them to my changes every |
44 |
> time Gentoo considers updating them. |
45 |
> |
46 |
> As an example, I'm not using the standard Gentoo partition layout. This |
47 |
> means that, every so often, Gentoo tries to "fix" my fstab. It |
48 |
> generally does this by inserting the new values it wants to have for |
49 |
> each partition into the file, producing an fstab file which has multiple |
50 |
> mount points with the same names, but different devices and file system |
51 |
> formats. I seem to recall one of the earlier attempts entirely |
52 |
> eliminated my config. I'd have changed distributions over this if these |
53 |
> files were installed immediately. |
54 |
> |
55 |
> Other files which tend to be incredibly frustrating are basic config |
56 |
> files. For example, /etc/etc-update.conf. Every time an upgrade |
57 |
> decides it wants to check on the status of this file, it decides that, |
58 |
> on the whole, I was mistaken regarding my choice of difference viewer, |
59 |
> and the various other options I specified. |
60 |
> |
61 |
> I've generally stayed fairly silent on this matter, because it appeared |
62 |
> that people were aware of the problem, and I have a difficult time not |
63 |
> frothing over it. However, it's apparent that the understanding that |
64 |
> the developers have does not come anywhere close to understanding my |
65 |
> problem with the current system. |
66 |
> |
67 |
> |
68 |
> Excluding program directories (for example, /etc/init.d), all changes to |
69 |
> existing /etc files should compensate for changes that the local |
70 |
> administrator has made. For example, when upgrading a configuration |
71 |
> file, the new version should, as much as possible, retain the changes |
72 |
> that the local administrator has made. When the ext3 filesystem tools |
73 |
> add a new option, any attempts to update /etc/fstab should ignore any |
74 |
> partitions that aren't ext3. It should not add any partitions that it |
75 |
> feels are missing, either due to having ignored a reiserfs partition or |
76 |
> due to that partition not being there. It should not alter any swap |
77 |
> partitions that haven't been modified according to a change the ext3 |
78 |
> maintainer previously saw - it's possible it may have not been installed |
79 |
> here, it's possible the administrator backed it out. It should NEVER |
80 |
> try to change the partition type (for example, from ext3 to xfs, like it |
81 |
> currently wants to do.) |
82 |
> |
83 |
> If people are interested, I could potentially write a tutorial on |
84 |
> methods one could utilize to perform such functions. Note that this |
85 |
> would be written to writing the code in perl, as I don't know python |
86 |
> well, and it doesn't feel natural to me. |
87 |
> |
88 |
> Ed |
89 |
> |
90 |
> -- |
91 |
> gentoo-portage-dev@g.o mailing list |
92 |
> |
93 |
|
94 |
|
95 |
-- |
96 |
gentoo-portage-dev@g.o mailing list |