[pve-devel] [PATCH] fix rpcinfo path

Wolfgang Link w.link at proxmox.com
Tue Mar 3 09:41:30 CET 2015


change path in jessie of package rpcbind
from /usr/bin/rpcinfo to /usr/sbin/rpcinfo

Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 PVE/Storage/NFSPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/NFSPlugin.pm b/PVE/Storage/NFSPlugin.pm
index 9ba68a7..79a7730 100644
--- a/PVE/Storage/NFSPlugin.pm
+++ b/PVE/Storage/NFSPlugin.pm
@@ -168,7 +168,7 @@ sub check_connection {
     my $server = $scfg->{server};
 
     # test connection to portmapper
-    my $cmd = ['/usr/bin/rpcinfo', '-p', $server];
+    my $cmd = ['/usr/sbin/rpcinfo', '-p', $server];
 
     eval {
 	run_command($cmd, timeout => 2, outfunc => sub {}, errfunc => sub {});
-- 
2.1.4





More information about the pve-devel mailing list