From nobody@FreeBSD.org  Thu Apr 13 21:07:32 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5F91716A404
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Apr 2006 21:07:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1989243D48
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Apr 2006 21:07:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3DL7VtK049738
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Apr 2006 21:07:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3DL7VNh049735;
	Thu, 13 Apr 2006 21:07:31 GMT
	(envelope-from nobody)
Message-Id: <200604132107.k3DL7VNh049735@www.freebsd.org>
Date: Thu, 13 Apr 2006 21:07:31 GMT
From: Matthias Lederhofer <matled@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rm on fdescfs causes panic: lockmgr: locking against myself
X-Send-Pr-Version: www-2.3

>Number:         95711
>Category:       kern
>Synopsis:       [fdescfs] rm on fdescfs causes panic: lockmgr: locking against myself
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 21:10:16 GMT 2006
>Closed-Date:    Tue Jun 09 13:59:16 UTC 2009
>Last-Modified:  Tue Jun 09 13:59:16 UTC 2009
>Originator:     Matthias Lederhofer
>Release:        6.0
>Organization:
>Environment:
FreeBSD tpv 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #1: Fri Mar  3 23:04:43 CET 2006     root@tpv:/usr/obj/usr/src/sys/TPV  i386
>Description:
Running rm on a file in a fdescfs mount will cause a kernel panic (lockmgr: locking against myself).
>How-To-Repeat:
mkdir /mnt/foo
mount -t fdescfs none /mnt/foo
rm /mnt/foo/0
>Fix:

>Release-Note:
>Audit-Trail:

From: Matthias Lederhofer <matled@gmx.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/95711: rm on fdescfs causes panic: lockmgr: locking against myself
Date: Thu, 13 Apr 2006 23:26:00 +0200

 This works also as normal user and from within a jail.

From: Mateusz Guzik <mjguzik@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/95711: [fdescfs] rm on fdescfs causes panic: lockmgr: locking against myself
Date: Sun, 6 Jul 2008 22:37:49 +0200

 This PR probably can be closed, I can't reproduce this error on
 FreeBSD 7-STABLE:
 
 # rm /dev/fd/0
 rm: /dev/fd/0: Read-only file system
 
 fdesc_lookup() returns EROFS, but I think that EOPNOTSUPP would fit better.
 
 Thanks,
 --
 Mateusz Guzik
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Mon Jul 7 02:49:15 UTC 2008 
State-Changed-Why:  
To submitter: can you still reproduce this error on 7-STABLE? 


Responsible-Changed-From-To: freebsd-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 7 02:49:15 UTC 2008 
Responsible-Changed-Why:  

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

From: Robert Watson <rwatson@FreeBSD.org>
To: linimon@FreeBSD.org
Cc: matled@gmx.net, freebsd-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/95711: [fdescfs] rm on fdescfs causes panic: lockmgr:
 locking against myself
Date: Mon, 9 Feb 2009 23:10:50 +0000 (GMT)

 On Mon, 7 Jul 2008, linimon@FreeBSD.org wrote:
 
 > Synopsis: [fdescfs] rm on fdescfs causes panic: lockmgr: locking against myself
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: linimon
 > State-Changed-When: Mon Jul 7 02:49:15 UTC 2008
 > State-Changed-Why:
 > To submitter: can you still reproduce this error on 7-STABLE?
 
 I'm also unable to reproduce this on a recent 8.x; it's not clear to me which 
 of may locking fixes over the last few years in fdescfs might have resolved 
 it.
 
 Robert N M Watson
 Computer Laboratory
 University of Cambridge
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 9 13:58:44 UTC 2009 
State-Changed-Why:  
Feedback timeout (> 6 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95711 
>Unformatted:
