ports/133563: security/cfs rc script needs "mntudp" option on 8-CURRENT
Thiemo Nordenholz
list+kilncd01jljrzlqt at thiemo.net
Fri Apr 10 10:40:02 UTC 2009
>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<SYN>; 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:
More information about the freebsd-ports-bugs
mailing list