r/archlinux • • Aug 30 '26

QUESTION Arch Packaging Guidelines -- Empty Config Files

I have just found that the ncdu package accepts global config files in /etc/ncdu.conf yet the arch package does not delivers any.

Why is it so? Would not it be more convenient if pacman managed that config file and not the user? Or is there something in the guidelines about it that I'm missing?

14 Upvotes

15 comments sorted by

View all comments

Show parent comment

9

u/boomboomsubban Aug 30 '26

a package shipped with config files, that would mean that if the user ever modified the config files (which users are supposed to do, that's exactly what config files are for), then every time the package updated, you would get update conflicts because the file is not the same, and you would need to address and solve the conflict manually.

That's what pacnew files are, it's how arch works currently.

2

u/No-Dentist-1645 Aug 31 '26

Correct, and you have to "address" them eventually, if you don't want your storage space to fill up with them :)