Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87631 Details for
Bug 134506
[net-fs/nfs-utils] story between NFS init script and /var
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nfs init script and symlinks
nfs-init-and-symlinks.patch (text/plain), 1.14 KB, created by
Fab
on 2006-05-27 04:29:58 UTC
(
hide
)
Description:
nfs init script and symlinks
Filename:
MIME Type:
Creator:
Fab
Created:
2006-05-27 04:29:58 UTC
Size:
1.14 KB
patch
obsolete
>--- /etc/init.d/nfs.old 2006-05-27 12:13:20.000000000 +0200 >+++ /etc/init.d/nfs 2006-05-27 12:45:42.000000000 +0200 >@@ -29,6 +29,16 @@ > statd=/sbin/rpc.statd > svcgssd=/usr/sbin/rpc.svcgssd > >+# if /var is a symlink... >+# >+# $ ls -l / | grep var >+# lrwxrwxrwx 1 root root 15 mai 25 23:32 var -> /temporaire/var >+# >+# $ grep "rpc_pipefs" /proc/mounts >+# rpc_pipefs /temporaire/var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 >+# >+var_path=$(cd /var && pwd -P) >+ > depend() { > use ypbind net > need portmap >@@ -44,7 +54,7 @@ > > mount_pipefs() { > if grep -q rpc_pipefs /proc/filesystems ; then >- if ! grep -q "rpc_pipefs /var/lib/nfs/rpc_pipefs" /proc/mounts ; then >+ if ! grep -q "rpc_pipefs ${var_path}/lib/nfs/rpc_pipefs" /proc/mounts ; then > ebegin "Mounting RPC pipefs" > mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs > eend $? >@@ -54,7 +64,7 @@ > > umount_pipefs() { > if [[ ${restarting} == "no" ]] ; then >- if grep -q "rpc_pipefs /var/lib/nfs/rpc_pipefs" /proc/mounts ; then >+ if grep -q "rpc_pipefs ${var_path}/lib/nfs/rpc_pipefs" /proc/mounts ; then > ebegin "Unmounting RPC pipefs" > umount /var/lib/nfs/rpc_pipefs > eend $?
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 134506
: 87631