From harry@omnilan.de  Fri Apr 16 07:10:28 2010
Return-Path: <harry@omnilan.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 613EA1065679
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Apr 2010 07:10:28 +0000 (UTC)
	(envelope-from harry@omnilan.de)
Received: from host.omnilan.net (host.omnilan.net [62.245.232.135])
	by mx1.freebsd.org (Postfix) with ESMTP id AB2B38FC23
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Apr 2010 07:10:27 +0000 (UTC)
Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3])
	by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o3G7ALuR095324
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Apr 2010 09:10:26 +0200 (CEST)
	(envelope-from harry@titan.flintsbach.schmalzbauer.de)
Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1])
	by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id o3G7ALiL040091
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Apr 2010 09:10:21 +0200 (CEST)
	(envelope-from harry@titan.flintsbach.schmalzbauer.de)
Received: (from harry@localhost)
	by titan.flintsbach.schmalzbauer.de (8.14.3/8.14.3/Submit) id o3G7ALOe001986;
	Fri, 16 Apr 2010 09:10:21 +0200 (CEST)
	(envelope-from harry)
Message-Id: <201004160710.o3G7ALOe001986@titan.flintsbach.schmalzbauer.de>
Date: Fri, 16 Apr 2010 09:10:21 +0200 (CEST)
From: Harald Schmalzbauer <freebsd@omnilan.de>
Reply-To: Harald Schmalzbauer <freebsd@omnilan.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: unionfs locks the machine
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145750
>Category:       kern
>Synopsis:       [unionfs] [hang] unionfs locks the machine
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 07:20:00 UTC 2010
>Closed-Date:    
>Last-Modified:  Wed Jul 03 00:59:51 UTC 2013
>Originator:     Harald Schmalzbauer
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD devweb.dmz.sand.spsnetz.de 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Fri Feb 5 15:06:19 CET 2010 admin@devweb.dmz.sand.spsnetz.de:/usr/obj/usr/src/sys/DELL-PE840 amd64


	
>Description:
	There are several LORs with unionfs reported. One seems to lead to a hard lock.
For example I used to mount /usr/local/etc via unionfs over read-only unerlaying ufs.
There are reproducably hanging processes with status D+ ofter a short time.
This used to work with FreeBSD-7, but also causes problems on -current (see kern/141950)
>How-To-Repeat:
	mount_unionfs /somedir/anotherdir /usr/local/etc and try starting lighttpd
with php-fastcgi for example.
mount_unionfs /somedir /root while / is readonly. Su will hang and force yout to hard reset the machine.
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->daichi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 17 06:24:02 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145750 
State-Changed-From-To: open->open 
State-Changed-By: linimon 
State-Changed-When: Wed Jul 3 00:50:32 UTC 2013 
State-Changed-Why:  
commit bit has been taken in for safekeeping. 


Responsible-Changed-From-To: daichi->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jul 3 00:50:32 UTC 2013 
Responsible-Changed-Why:  

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