Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 212141 Details for
Bug 313561
nohide needs to be added to refer exports
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Purposed Patch
nfs-utils-1.0.9-fsloc-nohide.patch (text/plain), 1.86 KB, created by
Steve Dickson
on 2007-10-01 07:36:46 UTC
(
hide
)
Description:
Purposed Patch
Filename:
MIME Type:
Creator:
Steve Dickson
Created:
2007-10-01 07:36:46 UTC
Size:
1.86 KB
patch
obsolete
>--- nfs-utils-1.0.9/support/nfs/exports.c.orig 2007-09-26 14:38:17.000000000 -0400 >+++ nfs-utils-1.0.9/support/nfs/exports.c 2007-09-29 09:42:07.000000000 -0400 >@@ -478,6 +478,12 @@ bad_option: > while (isblank(*cp)) > cp++; > } >+ /* >+ * Turn on nohide which will allow this export to cross over >+ * the 'mount --bind' mount point. >+ */ >+ if (ep->e_fslocdata) >+ ep->e_flags |= NFSEXP_NOHIDE; > > ep->e_squids = squids; > ep->e_sqgids = sqgids; >--- nfs-utils-1.0.9/utils/mountd/cache.c.orig 2007-09-26 14:38:17.000000000 -0400 >+++ nfs-utils-1.0.9/utils/mountd/cache.c 2007-09-27 11:57:08.000000000 -0400 >@@ -59,6 +59,8 @@ void auth_unix_ip(FILE *f) > if (readline(fileno(f), &lbuf, &lbuflen) != 1) > return; > >+ xlog(D_CALL, "auth_unix_ip: inbuf '%s'", lbuf); >+ > cp = lbuf; > > if (qword_get(&cp, class, 20) <= 0 || >@@ -83,6 +85,7 @@ void auth_unix_ip(FILE *f) > if (client) > qword_print(f, *client?client:"DEFAULT"); > qword_eol(f); >+ xlog(D_CALL, "auth_unix_ip: client %p '%s'", client, *client?client: "DEFAULT"); > > if (client) free(client); > >@@ -111,8 +114,10 @@ void nfsd_fh(FILE *f) > if (readline(fileno(f), &lbuf, &lbuflen) != 1) > return; > >- cp = lbuf; >+ xlog(D_CALL, "nfsd_fh: inbuf '%s'", lbuf); > >+ cp = lbuf; >+ > dom = malloc(strlen(cp)); > if (dom == NULL) > return; >@@ -234,6 +239,7 @@ void nfsd_fh(FILE *f) > qword_eol(f); > out: > free(dom); >+ xlog(D_CALL, "nfsd_fh: found %p path %s", found, found ? found->e_path : NULL); > return; > } > >@@ -277,6 +283,8 @@ void nfsd_export(FILE *f) > if (readline(fileno(f), &lbuf, &lbuflen) != 1) > return; > >+ xlog(D_CALL, "nfsd_export: inbuf '%s'", lbuf); >+ > cp = lbuf; > dom = malloc(strlen(cp)); > path = malloc(strlen(cp)); >@@ -320,6 +328,7 @@ void nfsd_export(FILE *f) > } > qword_eol(f); > out: >+ xlog(D_CALL, "nfsd_export: found %p path %s", found, path ? path : NULL); > if (dom) free(dom); > if (path) free(path); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313561
: 212141