Linked by Howard Fosdick on Mon 22nd Oct 2012 04:51 UTC
Thread beginning with comment 539497
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
Grub config is almost always handled automatically in Debian. There's regular grub configuration [which is dynamically generated everytime there's a change in kernel number, etc], and there's /etc/default/grub file which contains custom option that user wants to automatically add to default grub configs everytime they're being generated. That solves the problem. Occasionaly you'll get a merge window [diff], and that's what I call reasonable config file management.
I just think Arch's way of handling config files is kinda ... irritating
at least to me. Some things should be automated. There are more important things that needs our attention.
The Arch Linux package manager only generates ".pacnew" files when the user has changed a system configuration file. I merge ".pacnew" files every one to three months. It takes less than five minutes to do.
What's the alternative? Should it be done automatically?
What's the alternative? Should it be done automatically?
AUR now has packaged Gentoo's "etc-update" script which makes merging of configuration files semi-automatic.
https://aur.archlinux.org/packages.php?ID=56190




Member since:
2010-01-11
The Arch Linux package manager only generates ".pacnew" files when the user has changed a system configuration file. I merge ".pacnew" files every one to three months. It takes less than five minutes to do.
What's the alternative? Should it be done automatically?
For example, if I edit my GRUB config (/etc/default/grub) and then the package manager updates GRUB, what should it do with the config file? Should it keep my changes (which might not work with the new version)? Should it use the new version (and destroy my changes)? Should it merge them and possibly have both problems? What does Debian do?