Bug 2605

Summary: afs access broken with gmc
Product: [Retired] Red Hat Linux Reporter: Michael Fulbright <msf>
Component: mcAssignee: David Mason <dcm>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
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: 1999-08-31 22:50:53 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 Michael Fulbright 1999-05-06 18:57:41 UTC
> > When I startup gmc in the default session from a RedHat
6.0 install, it
> > appears to be trying to stat all of the sites under
/afs. This causes
> > AFS to hang while it times out on sites that aren't
available. I'm not
> > sure if the stat of /afs is happening as it tries to
descend to a user's
> > home directory, but this renders it virtually unusable.
>
> Does your gmc distribution include the file
/etc/mc.global?
>
> Miguel.

Found the problem!

The RedHat spec defines a prefix of /usr, so that mc + gmc
are looking
for the mc.global file in
/usr/etc/mc.global.

I softlinked /etc/mc.global to /usr/etc/mc.global and gmc
now works
fine.

Changing the %prefix to "" changes the location to
/etc/mc.global, but
then changes the location in which to install all of the
binaries to
/bin from /usr/bin.

NOTE: In the Make.common file, the C preprocessor macro
CONFDIR is
defined in Make.common to be $(confdir) which is
$(prefix)/etc. This
appears to be where it is looking for mc.global.
Do you want CONFDIR to be $(confdir) or $(sysconfdir)?

I'm going to try changing the RPM SPEC file to install
mc.global in
${RPM_BUILD_ROOT}/%{prefix}/etc and see if that works by
default.

--Murray Anderegg

Comment 1 Elliot Lee 1999-08-31 22:50:59 UTC
This problem is fixed in the latest mc package (mc-4.5.38-1).