Bug 78224 - Apache will not list/send files mounted from a NetWare volume.
Apache will not list/send files mounted from a NetWare volume.
Product: Red Hat Linux
Classification: Retired
Component: httpd (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Brian Brock
: 90521 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2002-11-20 07:26 EST by Anders Norrbring
Modified: 2007-04-18 12:48 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-30 03:15:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2004:182 normal SHIPPED_LIVE : Updated httpd packages fix mod_ssl security issue 2004-04-30 00:00:00 EDT

  None (edit)
Description Anders Norrbring 2002-11-20 07:26:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
I mount a NetWare volume with ncpfs- in the http docs catalog tree of 
Apache.  When directory is accessed with Apache to get a file listing, the 
files do not show up at all.
I switched to Apache 1, and applied a work-around for sendfile() and the 
catalog's files are displayed and can be transferred to the client.
This solution does NOT work for files bigger than 2GB though. Which of course 
is desirable as files as big today are not at all uncommon.

And of course Apache should be able to both show and send files this way 
WITHOUT the workaround.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install Apache with all default from the RedHat 8.0 dist.
2. Install ncpfs- as default.
3. Mount a NetWare servers volume in the Apache http docs tree.

Expected Results:  Files mounted from an external server should of course be 
as accessible via the Apache server as they are locally to the file system.

Additional info:
Comment 1 Joe Orton 2002-12-06 09:07:32 EST
Thanks for the report. We'll probably make sendfile() off by default in future
packages; it falls down in a number of situations and seems more like an
optimisation which must be explicitly enabled on a per-location basis.
Comment 2 Joe Orton 2003-05-12 09:22:47 EDT
*** Bug 90521 has been marked as a duplicate of this bug. ***
Comment 3 Milan Kerslager 2003-10-08 02:23:12 EDT
This bug still persist in Red Hat 9.
Apache 2.0.44 has option EnableSendfile On|Off, so one can disable this on
mounted NetWare volume per directory/virtualserver/global basis.
In Apache 2.0.40-21.5 (current RH 9) you need to recompile package and add
--without-sendfile to configure line in the SPEC file.
Comment 4 Mark J. Cox 2004-04-30 03:15:35 EDT
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.


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