Bug 69943

Summary: mc's config files should be in /etc/mc, not /usr/lib/mc/
Product: [Retired] Red Hat Linux Reporter: Marc MERLIN <marc_soft>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED DUPLICATE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: pknirsch, p.van.egdom, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:49:18 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:

Description Marc MERLIN 2002-07-26 17:32:18 UTC
To be FHS compliant, you should either symlink the following files to /etc/mc,
or compile mc to look for them there:

/usr/lib/mc/mc.ext
/usr/lib/mc/mc.ini (not supplied by default, but looked up by mc)
/usr/lib/mc/mc.lib
/usr/lib/mc/mc.menu

Comment 1 Havoc Pennington 2002-07-27 16:24:50 UTC
I'd prefer to see this patch upstream than in RH.

Comment 2 Marc MERLIN 2002-07-28 01:00:28 UTC
I looked at the source, and what debian did.
It's apparently just a compile option issue:

debian's diff has:
+diff -ruN mc-4.5.55.orig/Make.common.in mc-4.5.55/Make.common.in
+--- mc-4.5.55.orig/Make.common.in      Fri Jul 20 17:22:50 2001
++++ mc-4.5.55/Make.common.in   Sun Aug 26 18:10:57 2001
+@@ -15,7 +15,7 @@
+ mandir     = @mandir@
+ mclibdir   = $(libdir)/mc
+ suppbindir = $(mclibdir)/bin
+-confdir    = $(sysconfdir)
++confdir    = /etc/mc
+ localedir  = $(datadir)/locale
+ man1dir    = $(mandir)/man1
+ manext     = 1

Comment 3 Jindrich Novy 2004-10-30 09:14:33 UTC

*** This bug has been marked as a duplicate of 2188 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:49:18 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.