kern/89755: Jailed process deadlocks when using unionfs

Ivan Kolosovskiy r4 at sovietservers.com
Wed Nov 30 11:10:04 GMT 2005


>Number:         89755
>Category:       kern
>Synopsis:       Jailed process deadlocks when using unionfs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 30 11:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
agava
>Environment:
System: FreeBSD CRYO.SOVIETSERVERS.COM 6.0-RELEASE FreeBSD 6.0-RELEASE
#2: Sat Nov 19 13:04:26 MSK 2005 root at CRYO.SOVIETSERVERS.COM:/usr/s
Pentium-D 2.8 3xSCSI 34G 2G Ram


>Description:
sorry for bad english
I am using unionfs to create jail environment:

/usr                    /opt3/jail/ka6ah/usr    unionfs ro,noatime
0       0
/bin                    /opt3/jail/ka6ah/bin    unionfs ro,noatime
0       0
/lib                    /opt3/jail/ka6ah/lib    unionfs ro,noatime
0       0
/libexec                /opt3/jail/ka6ah/libexec        unionfs
ro,noatime      0       0
/sbin                   /opt3/jail/ka6ah/sbin   unionfs ro,noatime
0       0

When i start jail, jail processes deadlocks ("D" in ps), i cannot even
reboot after it.
Also after starting jail any process(non jailed) that trying to access
unionfs inside jail deadlocks too.



>How-To-Repeat:
try to make jail environment using nullfs, and start jail.

>Fix:







>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list