[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

data files in /etc?


There are some files in /etc which are actually data files representing
the state of the system. Like /etc/mtab, /etc/network/ifstate, or
/etc/lvmconf/* (it is not even a text file).
These files are written by programs in occasions one cannot with good
heart call configuration. Isn't it against the policy?

There are practical reasons behind my question:
-if one uses a configuration management tool (like tla) to track changes
 in the configuration, one will stumble upon them sooner or later.
-if one wants to make the boot process unable to modify configuration,
 they will also be stumbled upon. (And given the fact that mount
 actually deletes and recreates /etc/mtab, the challenge is...

GNU GPL: csak tiszta forrásból

Reply to: