Originally posted by Old Grouch
View Post
As an example, Arch does not forcefully present changes to conf files as a diff in the middle of an update. Instead it simply keeps the existing file (so everything keeps running in exactly the same way as before the update, even if you reboot) and saves the new file with a .pacnew extension (e.g. sshd.conf.pacnew) and then leaves it up to the user to go look for these new files and do whatever they want with them. No preprocessors. But here's the trick: it's actually really easy to write a so-called pacman hook, that will be called after each update and notify you about any new .pacnew files that have been created - and that's that. Or of course you could write yourself a cron task (or systemd-timer service) that does the same thing every X amount of time.
Can we do that in other Linux distros? Of course we can. But do we usually do it? No, because we're used to convoluted, fully automated packaging tools like apt that we really don't want to mess around with because we're afraid (and rightly so) that we'll probably break them.
Regarding simplicity, speaking for myself, I fell in love with Arch way back when because it showed me a simple truth: a complete Linux setup is as simple as partition disks, format disks, mount disks, install base packages, configure basic stuff like fstab/timezone/locales, configure network, optionally install GUI, enable services/init scripts, reboot, done*. Depending on your internet connection speed, you can literally have a brand new Arch system up and running in less than 10 minutes. And afterwards, it's a quick trip to the Arch Wiki (which let's not forget, it's the #1 go-to place for learning how to do stuff on any Linux system) to find out how to configure non-basic stuff like e.g. disk decryption on boot.
(*Terribly sorry if I'm forgetting a step or two, it's been ages since I last installed Arch).
Comment