1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Thursday 05 February 2004 09:13, Drake Wyrm wrote: |
5 |
> |
6 |
> I have to disagree completely. This is exactly why we use |
7 |
> CONFIG_PROTECT and etc-update. Packages *should* install a default, |
8 |
> but it shouldn't be called <config-file>.example. Documentation, such |
9 |
> as a config file example, belongs in /usr/share/doc/<package>. When |
10 |
> you re-emerge something, it should try to install everything it needs. |
11 |
> If the destination file is in a CONFIG_PROTECT directory, Portage does |
12 |
> exactly what you described (with a .cfg-XXXXX- prefix rather than an |
13 |
> .example suffix). |
14 |
> |
15 |
> With regard to default config files: look at </etc/mutt/Muttrc>. |
16 |
> Emerge net-mail/mutt, if you must. Beautiful example of the Right |
17 |
> Way(tm) to write a default. |
18 |
|
19 |
Basically muttrc is not of the same class as passwd, fstab and group. If |
20 |
you're up to it, just move the three to somewhere else and reboot. After |
21 |
that I think you can appreciate that one must not be enabled to |
22 |
overwrite them. |
23 |
|
24 |
First the defaults for those files can not and will not give you a |
25 |
working setup. Basically when these files exist, the only way to create |
26 |
useable new ones is to base them of the existing ones. These files are |
27 |
system specific and cannot have reasonable defaults. It is never ever a |
28 |
good idea to overwrite the current version with the config-protected |
29 |
one. The only alternative solution I see would be to patch etc-update to |
30 |
automatically ignore/remove these updates. |
31 |
|
32 |
Paul |
33 |
|
34 |
- -- |
35 |
Paul de Vrieze |
36 |
Gentoo Developer |
37 |
Mail: pauldv@g.o |
38 |
Homepage: http://www.devrieze.net |
39 |
-----BEGIN PGP SIGNATURE----- |
40 |
Version: GnuPG v1.2.4 (GNU/Linux) |
41 |
|
42 |
iD8DBQFAIhFzbKx5DBjWFdsRAgccAJ4nrQR3oTP5QJbe5HNxjSYR5VAJGQCgy+tI |
43 |
eSJgpzFXCGoNDeVpAj8LQOQ= |
44 |
=FKB4 |
45 |
-----END PGP SIGNATURE----- |
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |