Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391230 Details for
Bug 529280
net-fs/nfs-utils with >=openrc-0.13.x no longer needs nfsmount init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nfsclient.initd.patch
nfsclient.initd.patch (text/plain), 1.17 KB, created by
William Hubbs
on 2014-12-08 17:46:05 UTC
(
hide
)
Description:
nfsclient.initd.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2014-12-08 17:46:05 UTC
Size:
1.17 KB
patch
obsolete
>diff --git a/nfsmount.initd b/nfsclient.initd >index 6bb1009..dbe894a 100755 >--- a/nfsmount.initd >+++ b/nfsclient.initd >@@ -8,20 +8,19 @@ > depend() { > local myneed="" > if [ -e /etc/fstab ] ; then >- myneed="${myneed} $( >- awk '!/^[[:space:]]*#/ && ($3 == "nfs" || $3 == "nfs4") { >- if ($3 == "nfs4") >- idmapd = "rpc.idmapd" >- if ($4 ~ /sec=(krb|spkm)/) >- gssd = "rpc.gssd" >- } >- END { print idmapd " " gssd } >- ' /etc/fstab >- )" >+ fstabinfo -t nfs4 -q && myneed="$myneed rpc.idmapd" >+ fstabinfo -t nfs -q && myneed="$myneed rpc.statd" >+ fstabinfo -o -t nfs,nfs4 | while read opts; do >+ case $opts in >+ *sec=krb*|*sec=spkm*) myneed="$myneed rpc.gssd" ;; >+ esac >+ done > fi >+ before netmount > config /etc/fstab >- need portmap rpc.statd ${myneed} >- use ypbind dns rpc.idmapd rpc.gssd >+ need portmap ${myneed} >+ provide nfsmount >+ use ypbind dns > } > > start() { >@@ -35,14 +34,5 @@ start() { > if [ -e /proc/modules ] && ! grep -qs 'nfs$' /proc/filesystems ; then > modprobe -q nfs > fi >- >- ebegin "Mounting NFS filesystems" >- mount -a -t nfs,nfs4 >- eend $? >-} >- >-stop() { >- ebegin "Unmounting NFS filesystems" >- umount -a -t nfs,nfs4 >- eend $? >+ return 0 > }
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 529280
:
389442
|
389444
| 391230