Why no packaging software should replace your config files
When you upgrade a piece of software on Linux, there are two paths it can go when there are incompatible changes in the config files (ok, 3 paths, Debian asks you what to do):
The "rpmnew" way: install the new config file as "whatever.rpmnew", which means the softwarewill break immediately, but that's ok, because you are doing upgrades, so you should be watching already.
The "rpmsave" way: replace the old file and save a copy as "whatever.rpmsave".
This has two problems:
The software may fail or not, or fail in a subtle way, and you will not notice right away.
-
Maybe the old file will be lost anyway:
lrwxrwxrwx 1 root root 32 jul 15 22:41 /etc/named.conf -> /var/named/chroot/etc/named.conf lrwxrwxrwx 1 root root 32 jul 15 22:36 /etc/named.conf.rpmsave -> /var/named/chroot/etc/named.conf
In this case the "file" was a symlink, so by "saving a copy" it only saved another symlink to the soon-to-be-overwritten file.
And that's why, ladies and gentlemen, the rpmnew way is the good way.
You are right, of course, but after staring at sewage like this for 15 years it has lost it's charm.
Years ago I started looking for something better, so I read through many of the links on this page: http://tunes.org/Review/OSe... when it was current.
Plan 9 seemed like it cleared up a lot of clutter, but it's driver support was nowhere.
Amoeba was also sexy, because Python was written to admin it. But there was no software for it.
The various Erlang runtimes, along with it's Mnesia database seemed cool, but I can't easily do the yoga of not having loops, and having to do recursion for everything.
Now there is a Python API for everything in Linux, but underneath it is still the same twisty little maze of tunnels.
I hate filesystems. They should be abolished, and replaced with tables in a relational database that has a "connect by" clause for cheap hierarchical joins.
Edited By Siteowner
Removed useless profanity (as opposed to useful profanity, which I wouldn't delete).
Deleted for offtopic.
Edited By Siteowner