Bug 2188 - Config files should be in /etc
Config files should be in /etc
Product: Fedora
Classification: Fedora
Component: mc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
: 69943 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-04-15 02:37 EDT by Marc MERLIN
Modified: 2013-07-02 18:54 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-28 06:23:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to make mc FHS compliant. (12.04 KB, patch)
2006-02-24 09:39 EST, Jindrich Novy
no flags Details | Diff

  None (edit)
Description Marc MERLIN 1999-04-15 02:37:34 EDT
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.
Comment 1 Bill Nottingham 1999-04-15 09:54:59 EDT
lynx at least has been fixed in 5.9
Comment 2 Cristian Gafton 1999-06-18 12:43:59 EDT
Those are not config files. You can override /usr/lib/rpm/rpmrc in
/etc/rpmrc if you want.
Comment 3 Marc MERLIN 2003-04-29 00:33:35 EDT
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
Comment 4 Karsten Hopp 2003-08-12 06:48:03 EDT
vim is fixed, mc still needs fixing 
Comment 5 Jakub Jelinek 2004-10-07 08:08:38 EDT
I wouldn't move the whole /usr/share/mc hierarchy, just 

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.
Comment 6 Jindrich Novy 2004-10-30 05:14:36 EDT
*** Bug 69943 has been marked as a duplicate of this bug. ***
Comment 7 Jindrich Novy 2006-02-24 09:39:30 EST
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.
Comment 8 Jindrich Novy 2006-02-25 07:29:29 EST
Fixed in mc-4.6.1a-8.
Comment 9 Leonard den Ottolander 2006-02-27 16:37:33 EST
Fix is incomplete and breaks syntax highlighting. /home/<user>/.mc/cedit/Syntax
cannot be found. Adding /etc/mc/syntax/Syntax fixes the issue.
Comment 10 Jindrich Novy 2006-02-28 06:22:36 EST
Ok, reproduced and fixed. It was only a packaging problem fixed in spec. Thanks
for testing.
Comment 11 Fedora Update System 2006-03-07 11:36:40 EST
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.

Note You need to log in before you can comment on or make changes to this bug.