Incorrect location of defaults Description of problem: Defaults are located at /etc/default/nss, which is a debianism. The correct location on fedora should be /etc/sysconfig/nss Version-Release number of selected component (if applicable): glibc-common-2.14.90-24.fc16.4.i686 How reproducible: always Steps to Reproduce: 1. (glibc-common is installed by default) Actual results: defaults stored in /etc/default/nss Expected results: defaults stored in /etc/sysconfig/nss
I don't see a good reason to change this given that the upstream maintainers have explicitly placed this file into /etc/default and other Fedora packages are using /etc/default and moving it now just ensures confusion and a maintenance headache for everyone with existing installations when they upgrade. Is there a particular reason why it's important to move this file into /etc/sysconfig?
(In reply to comment #1) > I don't see a good reason to change this given that the upstream maintainers > have explicitly placed this file into /etc/default Well, they had to choose whether to place the file into /etc/default, which is used for this purpose on Debian, but not Fedora, or into /etc/sysconfig, which is used on Fedora, but not on Debian. So IMO this must have been a random choice, not an explicit one. > and other Fedora packages are using /etc/default I know only of grub2 and shadow-utils. grub2 is a fairly new package; the old grub legacy placed its file in /etc/sysconfig. I think grub2 and shadow-utils are wrong in the same way, and filed respective bug #797314 and bug #797316 together with this one. > and moving it now just ensures confusion and a > maintenance headache for everyone with existing installations when they > upgrade. Yes, but only for existing users who actually modified these files. The opposite is true for all other users including new users, who might find it confusing that some of these files are in /etc/default, while others are in /etc/sysconfig. > Is there a particular reason why it's important to move this file into > /etc/sysconfig? No
(In reply to comment #2) > (In reply to comment #1) > > I don't see a good reason to change this given that the upstream maintainers > > have explicitly placed this file into /etc/default > > Well, they had to choose whether to place the file into /etc/default, which is > used for this purpose on Debian, but not Fedora, or into /etc/sysconfig, which > is used on Fedora, but not on Debian. So IMO this must have been a random > choice, not an explicit one. The upstream decision to put it into /etc/default had nothing to do with Debian and its conventions.
(In reply to comment #3) > The upstream decision to put it into /etc/default had nothing to do with Debian > and its conventions. I don't know about the exact background of the decision, but if you do, please share your knowledge. Do you know any other specific reason, in addition to those voiced above already, why the file has to reside in /etc/default and moving it to /etc/sysconfig would be incorrect or problematic?