1 |
I didn't even know about etc-update until I saw you mention it in your |
2 |
email. So, being the good sysadmin I am, I wrote a script that has similar |
3 |
functionality. I have actually been getting it ready to release for the past |
4 |
week or 2. I put it up at http://www.mdrx.com/brian/ It finds all the rogue |
5 |
._cfg* files and diff's them against the real cfg file and displays the |
6 |
diff's. Let me know if you find any problems with it. Also let me know if |
7 |
you would like to see any other features. |
8 |
|
9 |
--Brian Jackson |
10 |
|
11 |
Dhruba Bandopadhyay writes: |
12 |
|
13 |
> Hello, |
14 |
> |
15 |
> I am having great difficulty dealing with one particular feature of gentoo |
16 |
> and would like to bring it to your attention. I am writing in length |
17 |
> since I very much like gentoo and would like to do whatever I can to |
18 |
> further its progress. |
19 |
> |
20 |
> When emerging packages configuration files beginning with ._cfg* are left |
21 |
> in /etc and other locations and on subsequent emerges portage warns that |
22 |
> one has X number of files remaining. Now, on many occassions I have had |
23 |
> several of these files on my system and have postponed dealing with them |
24 |
> simply because they are a hassle. Once in a while however, I use |
25 |
> etc-update to sort them with care. |
26 |
> |
27 |
> There are many problems with the way this is done for a non-expert user |
28 |
> (which may include myself) and the ones below are only a few of them. |
29 |
> |
30 |
> (1) It is not completely clear which files should be deleted and which |
31 |
> overwritten. |
32 |
> (2) Errors can result from making necessary changes using etc-update. |
33 |
> (3) There are no guidelines on the use of etc-update. Although, |
34 |
> documentation does warn that etc-update can be dangerous and must be used |
35 |
> with care, how is the non-expert user to interpret this advice and how |
36 |
> much does it really tell him about the use of it? |
37 |
> (4) If files are not sorted they stay in their locations indefinitely, |
38 |
> increase in number and portage warns the user about them on its every use. |
39 |
> (5) Even if one does see differences in older versions and new ones how |
40 |
> does one tell if these differences should be preserved or discarded? |
41 |
> (6) If errors or difficulties result how does one rollback? |
42 |
> (7) Shoud sorting be as time consuming as it is currently especially with |
43 |
> the interactive merging of text? |
44 |
> |
45 |
> I can speak from experience about suffering from problems. For instance |
46 |
> today, despite sorting files as carefully as I could, gdm won't load |
47 |
> anymore and shows no error messages since gdm files were overwritten |
48 |
> (luckily I use xdm) and also fonts in gnome related applications are now |
49 |
> huge and different because font locations were changed. Now, I did look |
50 |
> at the content of these files before I replaced the older versions but how |
51 |
> is one to know beforehand what is going to cause issues? |
52 |
> |
53 |
> I am not referring to specific errors here but discussing the |
54 |
> functionality of this feature. Does this really have to be as much of an |
55 |
> effort and annoyance as it is now and must one lose out on the benefits of |
56 |
> new files simply because they do not dare overwrite the older files? I |
57 |
> would hate for something like this to be a drawback of an otherwise |
58 |
> automated and applaudable OS. |
59 |
> |
60 |
> I hope I have been clear in expressing myself and I don't think for a |
61 |
> minute that I'm alone in this issue. Hence, I would very much like to |
62 |
> hear comments and suggestions whatever they may be from users and |
63 |
> developers alike. |
64 |
> |
65 |
> Best wishes. |
66 |
> -- |
67 |
> Dhruba Bandopadhyay | dhruba@××××××××××××.uk | ICQ 31628525 |
68 |
> Gentoo Linux 1.4rc1 | Vanilla Sources 2.4.20 | Enlightenment 16.5 |
69 |
> |
70 |
> |
71 |
> |
72 |
> -- |
73 |
> gentoo-dev@g.o mailing list |
74 |
> |
75 |
|
76 |
|
77 |
-- |
78 |
gentoo-dev@g.o mailing list |