From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 5 06:20:11 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 441B6106564A for ; Thu, 5 May 2011 06:20:11 +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 3243F8FC16 for ; Thu, 5 May 2011 06:20:11 +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 p456KBAJ025488 for ; Thu, 5 May 2011 06:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p456KBCm025487; Thu, 5 May 2011 06:20:11 GMT (envelope-from gnats) Date: Thu, 5 May 2011 06:20:11 GMT Message-Id: <201105050620.p456KBCm025487@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: Thu, 05 May 2011 06:20:11 -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: Thu, 5 May 2011 15:50:59 +1000 FWIW, there is a simple workaround to this issue. Just set cfsd_port in rc.conf as follows: cfsd_port="3049,udp" This argument will be passed to cfsd as well as to mount_nfs, but cfsd doesn't seem to care about the `,udp' trailer. Cfsd expects a port number as its only argument but it doesn't seem to check if the argument is entirely numeric -- a bug very common to older code using atoi() or strtol(foo, NULL, ...). Yar