Bug 2188
| Summary: | Config files should be in /etc | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marc MERLIN <marc_soft> | ||||
| Component: | mc | Assignee: | Jindrich Novy <jnovy> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | leonard-rh-bugzilla, pknirsch, p.van.egdom | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-02-28 11:23:01 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
lynx at least has been fixed in 5.9 Those are not config files. You can override /usr/lib/rpm/rpmrc in /etc/rpmrc if you want. mc is still not fixed, 4 years later :-( Neither is vim... You are still putting mc config files outside of /etc/mc (/usr/share/mc). Vim is also still equally broken and doesn't look for its config in /etc/vim vim is fixed, mc still needs fixing I wouldn't move the whole /usr/share/mc hierarchy, just /usr/share/mc/cedit.menu /usr/share/mc/edit.indent.rc /usr/share/mc/edit.spell.rc /usr/share/mc/mc.ext /usr/share/mc/mc.lib /usr/share/mc/mc.menu to /etc/mc/ It will need source changes so that those config files are first looked up in /etc/mc/ and only when not found searched in /usr/share/mc. *** Bug 69943 has been marked as a duplicate of this bug. *** Created attachment 125177 [details]
Patch to make mc FHS compliant.
So finally here we go with the patch. I'll send it upstream as well.
Fixed in mc-4.6.1a-8. Fix is incomplete and breaks syntax highlighting. /home/<user>/.mc/cedit/Syntax cannot be found. Adding /etc/mc/syntax/Syntax fixes the issue. Ok, reproduced and fixed. It was only a packaging problem fixed in spec. Thanks for testing. From User-Agent: XML-RPC mc-4.6.1a-5.fc4 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. |
I'm filling this on slrn, but other packages are affected: at least rpm (/usr/lib/rpm/rpmrc), midnight commander (/usr/lib/mc/mc.{ini,lib}), lynx (/usr/lib/lynx.cfg), and possibly others. The FHS says that config files should be in /etc, and you've fixed most packages to respect this rule, but a few (including the ones mentionned above) are missing.