From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 14 00:10:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26151065675 for ; Fri, 14 Jan 2011 00:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4488FC08 for ; Fri, 14 Jan 2011 00:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0E0A7gg099322 for ; Fri, 14 Jan 2011 00:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0E0A7EN099321; Fri, 14 Jan 2011 00:10:07 GMT (envelope-from gnats) Date: Fri, 14 Jan 2011 00:10:07 GMT Message-Id: <201101140010.p0E0A7EN099321@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Yar Tikhiy Cc: Subject: Re: ports/133563: security/cfs rc script needs "mntudp" option on 8-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yar Tikhiy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 00:10:07 -0000 The following reply was made to PR ports/133563; it has been noted by GNATS. From: Yar Tikhiy To: bug-followup@freebsd.org Cc: Subject: Re: ports/133563: security/cfs rc script needs "mntudp" option on 8-CURRENT Date: Fri, 14 Jan 2011 10:38:29 +1100 Hi there, This problem report is still relevant. Please note that the original discussion missed a few points. First of all, the suggested fix is not quite correct. The mount option needed here is spelled "udp" not "mntudp", the difference being that "mntudp" is to force _mount_ protocol to UDP transport and it does so to NFS protocol, too, only as a side effect in more recent mount_nfs revisions. Cfsd is an old NFS daemon and it has no support for TCP transport soever. Hence the error: [tcp] localhost:/usr/local/cfsd-bootstrap: nfsd: RPCPROG_NFS: RPC: Remote system error - Connection refused [tcp6] localhost:/usr/local/cfsd-bootstrap: nfsd: RPCPROG_NFS: RPC: Remote system error - Connection refused The fix indeed is FreeBSD version specific. Unfortunately, historic mount_nfs revisions had no "udp" option because it was default. The workaround can be to use %%FOO%% magic to insert the udp option in cfsd.sh.in if the OS version is 8.x or newer. The resulting mount_nfs opts need to look like this (in any order): udp,port="$cfsd_port",nfsv2 Thanks, Yar