From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 10 10:40:02 2009 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 95CC21065679 for ; Fri, 10 Apr 2009 10:40:02 +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 696838FC1F for ; Fri, 10 Apr 2009 10:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3AAe2ff064157 for ; Fri, 10 Apr 2009 10:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3AAe2mZ064156; Fri, 10 Apr 2009 10:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 10 Apr 2009 10:40:02 GMT Resent-Message-Id: <200904101040.n3AAe2mZ064156@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thiemo Nordenholz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 518E51065673 for ; Fri, 10 Apr 2009 10:36:02 +0000 (UTC) (envelope-from nz@thiemo.net) Received: from excalibur.ronald.org (excalibur.ronald.org [212.17.241.232]) by mx1.freebsd.org (Postfix) with ESMTP id AA4D28FC14 for ; Fri, 10 Apr 2009 10:36:01 +0000 (UTC) (envelope-from nz@thiemo.net) Received: from styx.ham01.thiemo.net (port-195-158-176-42.dynamic.qsc.de [195.158.176.42]) by excalibur.ronald.org (8.13.8+Sun/8.13.8) with ESMTP id n3AADSix008007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 10 Apr 2009 12:13:36 +0200 (CEST) Received: from mygiea.ham01.thiemo.net (localhost [127.0.0.1]) by styx.ham01.thiemo.net (8.14.3/8.14.3) with ESMTP id n3AADJ7T025112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 10 Apr 2009 12:13:23 +0200 (CEST) Received: (from thiemo@localhost) by feynman.ham01.thiemo.net (8.14.3/8.14.3/Submit) id n3AA3QiC002444; Fri, 10 Apr 2009 12:03:26 +0200 (CEST) (envelope-from thiemo) Message-Id: <200904101003.n3AA3QiC002444@feynman.ham01.thiemo.net> Date: Fri, 10 Apr 2009 12:03:26 +0200 (CEST) From: Thiemo Nordenholz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: 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: Thiemo Nordenholz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 10:40:02 -0000 >Number: 133563 >Category: ports >Synopsis: security/cfs rc script needs "mntudp" option on 8-CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 10 10:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Thiemo Nordenholz >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT as of April 3, 2009 Ports collection as of April 10, 2009 >Description: Installed and started the CFS port (cfs-1.4.1_5). When /usr/local/etc/rc.d/cfsd tries to mount the cfsd-bootstrap directory over local NFS (in cfsd_poststart()), mount_nfs will hang, causing a log entry every second: Apr 9 17:52:26 feynman kernel: TCP: [127.0.0.1]:616 to [127.0.0.1]:3049 tcpflags 0x2; tcp_input: Connection attempt to closed port Attempts to kill mount_nfs failed. The issue was solved by adding the "mntudp" option to the init script so that cfsd_poststart() now does: mount -o port="$cfsd_port",nfsv2,mntudp localhost:/usr/local/cfsd-bootstrap "$cfsd_mountpoint" >How-To-Repeat: On 8-CURRENT: Install cfsd port, and prepare system as describe in the port's pkg-message. Start cfsd, problem will occur. >Fix: Add the "mntudp" option to /usr/local/etc/rc.d/cfsd. However, this needs only to be done on CURRENT systems - if I had a good idea how to integrate this in the port, I'd submit a patch, but making an OSVERSION dependant hack in the Makefile seems a bit dirty. >Release-Note: >Audit-Trail: >Unformatted: