This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 2605 - afs access broken with gmc
afs access broken with gmc
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: mc (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Mason
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-06 14:57 EDT by Michael Fulbright
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-31 18:50:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Michael Fulbright 1999-05-06 14:57:41 EDT
> > 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 18:50:59 EDT
This problem is fixed in the latest mc package (mc-4.5.38-1).

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