From markk@knigma.org  Mon Aug  3 08:05:01 2009
Return-Path: <markk@knigma.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 66D801065672
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Aug 2009 08:05:01 +0000 (UTC)
	(envelope-from markk@knigma.org)
Received: from shrewd.pub.knigma.org (shrewd.ipv6.pub.knigma.org [IPv6:2001:8b0:b0:1::1])
	by mx1.freebsd.org (Postfix) with ESMTP id EC9398FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Aug 2009 08:05:00 +0000 (UTC)
	(envelope-from markk@knigma.org)
Received: from shrewd.pub.knigma.org (localhost [127.0.0.1])
	by shrewd.pub.knigma.org (8.14.3/8.14.3) with ESMTP id n7384xHM039980
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 3 Aug 2009 09:04:59 +0100 (BST)
	(envelope-from mkn@shrewd.pub.knigma.org)
Received: (from mkn@localhost)
	by shrewd.pub.knigma.org (8.14.3/8.14.3/Submit) id n7384xqq039979;
	Mon, 3 Aug 2009 09:04:59 +0100 (BST)
	(envelope-from mkn)
Message-Id: <200908030804.n7384xqq039979@shrewd.pub.knigma.org>
Date: Mon, 3 Aug 2009 09:04:59 +0100 (BST)
From: Mark Knight <markk@knigma.org>
Reply-To: Mark Knight <markk@knigma.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Advisory locks fail with ports/security/cfs on FreeBSD 7.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137378
>Category:       ports
>Synopsis:       Advisory locks fail with ports/security/cfs on FreeBSD 7.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 03 08:10:00 UTC 2009
>Closed-Date:    Tue Oct 04 23:17:41 UTC 2011
>Last-Modified:  Thu May 16 18:30:00 UTC 2013
>Originator:     Mark Knight
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD shrewd.pub.knigma.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Sun Aug 2 15:21:34 BST 2009 root@shrewd.pub.knigma.org:/usr/src/sys/i386/compile/SHREWD i386
>Description:
Advisory lock fails with ports/security/cfs, preventing vi etc. working correctly.
>How-To-Repeat:
lockf a.txt ls
lockf: cannot open a.txt: Resource temporarily unavailable
>Fix:
>Release-Note:
>Audit-Trail:

From: Mark Knight <markk@knigma.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137378: Advisory locks fail with ports/security/cfs on FreeBSD 7.2
Date: Fri, 7 Aug 2009 22:10:27 +0100

 I should mention that this worked fine under FreeBSD 6.4 with port 
 version 1.4.1.4.
 -- 
 Mark A. R. Knight                               finger: markk@knigma.org
 Tel: +44 7880 556751                            http://www.knigma.org/
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Sun May 9 01:51:56 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137378 

From: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
To: bug-followup@FreeBSD.org, markk@knigma.org
Cc:  
Subject: Re: ports/137378: Advisory locks fail with ports/security/cfs on
 FreeBSD 7.2
Date: Sat, 08 May 2010 22:51:35 -0300

 Hi, this problem still continue?
State-Changed-From-To: open->feedback 
State-Changed-By: sylvio 
State-Changed-When: Sun May 9 02:17:24 UTC 2010 
State-Changed-Why:  
- Waiting feedback of submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137378 

From: Mark Knight <markk@knigma.org>
To: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/137378: Advisory locks fail with ports/security/cfs on
 FreeBSD 7.2
Date: Sun, 09 May 2010 08:39:43 +0100

 Yes, advisory locks still fail with cfs-1.4.1_5 on FreeBSD 7.3-RELEASE.  
 Thanks a lot for looking at this.  I haven't tried it on 8.0-RELEASE or 
 current.
 
 -- 
 Mark A. R. Knight                               markk@knigma.org
 Tel: +44 7880 556751                            http://www.knigma.org/
 

From: Sylvio Cesar Teixeira <sylvio@FreeBSD.org>
To: bug-followup@FreeBSD.org, markk@knigma.org
Cc:  
Subject: Re: ports/137378: Advisory locks fail with ports/security/cfs on
 FreeBSD 7.2
Date: Sun, 09 May 2010 10:48:10 -0300

 Ok, I'll see this problem so.
 
 Thanks.
Responsible-Changed-From-To: sylvio->freebsd-ports-bugs 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Tue Jul 20 13:31:29 UTC 2010 
Responsible-Changed-Why:  
back to pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137378 
State-Changed-From-To: feedback->open 
State-Changed-By: shaun 
State-Changed-When: Thu Sep 9 04:29:49 UTC 2010 
State-Changed-Why:  
Feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137378 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137378: commit references a PR
Date: Sun,  4 Sep 2011 16:57:45 +0000 (UTC)

 crees       2011-09-04 16:57:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/cfs         Makefile 
   Log:
   Mark deprecated; broken for two years with no fix.
   
   Expires on 4/Nov
   
   PR:             ports/137378 ports/155788
   
   Revision  Changes    Path
   1.28      +4 -0      ports/security/cfs/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: rene 
State-Changed-When: Tue Oct 4 23:17:15 UTC 2011 
State-Changed-Why:  
Port expired and removed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137378 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137378: commit references a PR
Date: Thu, 16 May 2013 18:22:16 +0000 (UTC)

 Author: crees
 Date: Thu May 16 18:22:08 2013
 New Revision: 318325
 URL: http://svnweb.freebsd.org/changeset/ports/318325
 
 Log:
   Use explicit IP for localhost rather than DNS name; this causes ipv6 attempts
   
   PR:		ports/155788
   Submitted by:	System Administrator <root@naboo.vindaloo.com>
   
   Pass flag to mount to disable lockd
   
   PR:		ports/137378
   Submitted by:	kib
 
 Modified:
   head/security/cfs/files/cfsd.in
   head/security/cfs/files/pkg-message.in
 
 Modified: head/security/cfs/files/cfsd.in
 ==============================================================================
 --- head/security/cfs/files/cfsd.in	Thu May 16 17:34:12 2013	(r318324)
 +++ head/security/cfs/files/cfsd.in	Thu May 16 18:22:08 2013	(r318325)
 @@ -4,6 +4,7 @@
  #
  # PROVIDE: cfsd
  # REQUIRE: mountd
 +# KEYWORD: shutdown
  #
  # Add the following line to /etc/rc.conf to enable cfsd:
  #
 @@ -22,7 +23,7 @@ rcvar=cfsd_enable
  
  load_rc_config $name
  
 -: ${cfsd_enable=no}
 +: ${cfsd_enable:=no}
  : ${cfsd_port=3049}
  : ${cfsd_mountpoint=/crypt}
  
 @@ -35,7 +36,7 @@ stop_precmd=cfsd_prestop
  cfsd_poststart()
  {
  	if [ -n "$cfsd_mountpoint" ]; then
 -		mount -o port="$cfsd_port",mntudp,nfsv2 localhost:%%CFSD_BOOTSTRAP%% "$cfsd_mountpoint"
 +		mount -o port="$cfsd_port",udp,nfsv2,nolockd 127.0.0.1:%%CFSD_BOOTSTRAP%% "$cfsd_mountpoint"
  	fi
  }
  
 
 Modified: head/security/cfs/files/pkg-message.in
 ==============================================================================
 --- head/security/cfs/files/pkg-message.in	Thu May 16 17:34:12 2013	(r318324)
 +++ head/security/cfs/files/pkg-message.in	Thu May 16 18:22:08 2013	(r318325)
 @@ -3,7 +3,7 @@ Quick start instructions:
  
    - add the following entry to /etc/exports:
  
 -    %%CFSD_BOOTSTRAP%% localhost
 +    %%CFSD_BOOTSTRAP%% 127.0.0.1
  
    - create the default CFS mountpoint (if you want to use a different
      mountpoint, set the cfsd_mountpoint variable in /etc/rc.conf):
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
