[Pkg-sysvinit-devel] Bug#620788: mountnfs: rpcbind not started before nfs-common
Thomas Hager
duke at sigsegv.at
Sun Apr 17 08:54:03 UTC 2011
> Perhaps this is better because /etc/init.d/portmap can be left behind
> if it isn't purged (this is also shorter):
and if you purged portmap (like i did), you have to change do_start():
--- mountnfs.dist 2011-04-17 10:46:12.000000000 +0200
+++ mountnfs 2011-04-17 10:45:59.000000000 +0200
@@ -98,7 +98,7 @@
# and/or rpc.idmapd, and loads the right kernel modules if
# applicable) if we use Kerberos and/or NFSv4 mounts.
#
- if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap ] && [ -x /etc/init.d/nfs-common ]
+ if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap -o -x /etc/init.d/rpcbind ] && [ -x /etc/init.d/nfs-common ]
then
hth,
tom.
--
Thomas "Duke" Hager duke at sigsegv.at
GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110417/7a0ad3ad/attachment.pgp>
More information about the Pkg-sysvinit-devel
mailing list