1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On April 22, 2002 09:52 am, Todd Wright wrote: |
5 |
> > What about a central config file, that would be able to |
6 |
> > generate all other |
7 |
> > related config... gentoo_config.xml, which when transformed using xslt, |
8 |
> > would produce conf.d/net, conf.d/ntp, etc... |
9 |
> |
10 |
> I havnt seen anything in /etc/conf.d yet that couldnt/shouldnt be in |
11 |
> /etc/rc.conf |
12 |
> |
13 |
> Either way, this is how it should be. We dont need all this extra (xml) pre |
14 |
> processing. We just need a single config file (rc.conf) or a ../conf.d/ |
15 |
> directory containing per package config variablle - but not both. |
16 |
> |
17 |
> If you want to edit a config setting, what could be simpler than editing |
18 |
> the appropriate file, once, and in one place. |
19 |
|
20 |
Like I said, I have not giving it much thought because I mostly was probing to |
21 |
see if similar ideas have been discussed and what were their results. |
22 |
|
23 |
I agree with you that there's not much simpler than editing the appropriate |
24 |
file once and in a single place. But maybe the issue is about merging 10 |
25 |
files instead of one or about automatic config file merging or about mapping |
26 |
a user idea to an appropriate specific software config file. |
27 |
|
28 |
We can't merge a single file instead of many because there's no such single |
29 |
master config file. |
30 |
|
31 |
We can't automatically merge config file because there's no way for a computer |
32 |
at the present time to figure out what each config means other than being |
33 |
text/token-value or other kind of cfg file. |
34 |
|
35 |
We could re-write the whole linux system and make use a single config file but |
36 |
I'm not up to that task. |
37 |
|
38 |
Xml namespace seems to be great for that kind of stuff where a single file can |
39 |
contain links to other files or content based on different namespace. Also |
40 |
many software exist today and will be written to easily edit those type of |
41 |
file. Project such as WebMin or Linux conf MAY already have started such |
42 |
system, but they surely have not addresse the merging config issue that |
43 |
gentoo users gets face with. |
44 |
|
45 |
The issue is not such a big deal but I believe that solving it would then open |
46 |
doors to very easy installation software (even easier than today) and also |
47 |
remove the need to have documents for newbie on how to configure/continually |
48 |
upgrade their system by writing graphical tools that map config file to UI. |
49 |
|
50 |
- -- |
51 |
|
52 |
Yannick Koehler |
53 |
-----BEGIN PGP SIGNATURE----- |
54 |
Version: GnuPG v1.0.6 (GNU/Linux) |
55 |
Comment: For info see http://www.gnupg.org |
56 |
|
57 |
iD8DBQE8xBwQfuKOJNEyL1URAg8hAJ9mzNnQLACsktrynTwwpjayTHj6mACeILWX |
58 |
m1IfaH8rdeqguQGovMEKfK4= |
59 |
=T5FC |
60 |
-----END PGP SIGNATURE----- |