Bug 202441 - chroot'd named causes df permission denied error
chroot'd named causes df permission denied error
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Adam Tkac
Ben Levenson
: Regression
: 358911 (view as bug list)
Depends On:
Blocks: 203075 234251
  Show dependency treegraph
Reported: 2006-08-14 10:45 EDT by John Haxby
Modified: 2015-06-17 09:28 EDT (History)
8 users (show)

See Also:
Fixed In Version: RHBA-2007-0743
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-15 11:03:20 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 hide /var/named/proc/chroot (417 bytes, patch)
2006-08-14 10:45 EDT, John Haxby
no flags Details | Diff

  None (edit)
Description John Haxby 2006-08-14 10:45:11 EDT
Description of problem:

After starting the choot'd name df reports

   df: `/var/named/chroot/proc': Permission denied

Version-Release number of selected component (if applicable): bind-9.2.4-16.EL4, 

How reproducible: Always

Steps to Reproduce:
1. Install bind, bind-chroot and caching-nameserver
2. Start bind
3. run df
Actual results:

As above.

Expected results:

No complaints.

Additional info:
I notice that FC5 seems to have fixed this in a different way to the proposed
patch (attached): I think it ignores the bind file system type, though I'm not
certain.  This patch works nicely on RHEL4 though and doesn't cause any problems
that I can detect.
Comment 1 John Haxby 2006-08-14 10:45:14 EDT
Created attachment 134141 [details]
Patch to hide /var/named/proc/chroot
Comment 2 Martin Stransky 2006-08-14 10:54:09 EDT
Thanks for your report.
Comment 4 Jay Turner 2006-08-16 23:46:24 EDT
QE ack for 4.5.
Comment 5 RHEL Product and Program Management 2006-08-18 10:42:12 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 23 Adam Tkac 2007-10-31 06:09:01 EDT
*** Bug 358911 has been marked as a duplicate of this bug. ***
Comment 24 errata-xmlrpc 2007-11-15 11:03:20 EST
An advisory 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.