Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261534 Details for
Bug 353717
net-fs/nfs-utils-1.1.4-r1:exportfs fails to test shares and exits with 22
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
test-client-fix
nfs-utils-1.1.4-test-client-fix.patch (text/plain), 1.03 KB, created by
Jimmy Kloss
on 2011-02-04 20:13:11 UTC
(
hide
)
Description:
test-client-fix
Filename:
MIME Type:
Creator:
Jimmy Kloss
Created:
2011-02-04 20:13:11 UTC
Size:
1.03 KB
patch
obsolete
>--- nfs-utils-1.1.4/utils/exportfs/exportfs.c >+++ nfs-utils-1.1.4/utils/exportfs/exportfs.c >@@ -348,7 +348,7 @@ > { > int fd; > int n; >- char *setup = "nfsd 0.0.0.0 2147483647 -test-client-\n"; >+ char *setup = "nfsd 0.0.0.0 2147483647 XtestXclientX\n"; > fd = open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY); > if ( fd < 0) return 0; > n = write(fd, setup, strlen(setup)); >@@ -366,7 +366,7 @@ > char buf[1024]; > int fd, n; > >- sprintf(buf, "-test-client- %s 3 %d -1 -1 0\n", >+ sprintf(buf, "XtestXclientX %s 3 %d -1 -1 0\n", > path, > with_fsid ? NFSEXP_FSID : 0); > fd = open("/proc/net/rpc/nfsd.export/channel", O_WRONLY); >@@ -385,7 +385,7 @@ > /* Check that the given export point is potentially exportable. > * We just give warnings here, don't cause anything to fail. > * If a path doesn't exist, or is not a dir or file, give an warning >- * otherwise trial-export to '-test-client-' and check for failure. >+ * otherwise trial-export to 'XtestXclientX' and check for failure. > */ > struct stat stb; > char *path = exp->m_export.e_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 353717
: 261534 |
262709