Red Hat Bugzilla – Bug 800152
link for config file in/etc/sysconfig
Last modified: 2012-04-17 22:19:54 EDT
Description of problem:
Please provide link to /etc/default/grub in /etc/sysconfig/. /etc/sysconfig/ is one of the first directory where user is looking for configuration files on Fedora/Red Hat Linux systems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Why link and not just to move it there? sysconfdir should be fully compile-time configurable.
Compatibility with upstream documentation?
If the documentation does not update according to the configure settings it is a bug which should be fixed and upstreamed.
See the autogenerated gdb/doc/GDBvn.texi configuration for documentation in GDB.
I know bugzilla is not a good place for discussion, but I thin we should stay with default. Even if we patch documentation, it would make confusion. I guess that when looking for solution, people use google (search for problem keywords) more often than read all documentation available and hope they will found their solution there. For "/etc/default/grub" I get 834 000 results already. We could change paths in documentation we ship, but we can't change paths in the documentation "out there".
Btw, when I'm looking for config files, I use:
rpm -ql <package> | grep /etc
It never failed me and it works in grub2 case too.
As here is a disagreement it should go to FESCo.
I don't think we need FESCo to review every decision made. We have package maintainers for this. With or without the symlink this package won't be violating FHS nor Fedora packaging guidelines. There is no need for FESCo. I will "shut up" if Peter adds this symlink, it's his decision and I guess he is capable enough to make that decision. I just presented my opinion in previous comment.
Filed it as: https://fedorahosted.org/fesco/ticket/818
may instead do a symbol link of grub, symbol link of all dir,
/etc/default/ to /etc/sysconfig/
mv /etc/default/* /etc/sysconfig/
ln -s /etc/sysconfig/ /etc/default/
I would like to add a reference to the flame bait that might be implicit behind this discussion: http://0pointer.de/blog/projects/on-etc-sysinit.html
(In reply to comment #0)
> /etc/sysconfig/ is one of the first directory where user is looking for configuration files on Fedora/Red Hat Linux systems.
They don't look in the rest of /etc?
(In reply to comment #1)
> Why link and not just to move it there? sysconfdir should be fully compile-time
- but it isn't.
(In reply to comment #7)
> Filed it as: https://fedorahosted.org/fesco/ticket/818
Closed as invalid.
But at the same time:
* Wed Mar 07 2012 Peter Jones <email@example.com> - 1.99-17
- Add /etc/sysconfig/grub link to /etc/default/grub
grub2-1.99-19.fc17 was silently pushed to stable 2012-03-21.
The Linux Standard Base (LSB) , should define where .