Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Apr 2021 18:57:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253593] Process hangs if nullfs mounted cwd moved out of chroot
Message-ID:  <bug-253593-227-xNAvaPD1oh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253593-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253593-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253593

--- Comment #8 from Patrick Sullivan <sulli00777@gmail.com> ---
spoke with Peter earlier and realized that the script I posted was way too
heavy. This is enough to cause the panic here:
mkdir -p /test/jail/mnt /test/mounted/subdir && cp /rescue/(sh|sleep)
/test/jail && mount_nullfs /test/mounted /test/jail/mnt &&  chroot /test/ja=
il
/sh -c ' cd /mnt/subdir; /sleep 10; cd .' & sleep 1; mv /test/mounted/subdir
/test/outside ; sleep 10; umount /test/jail/mnt ; rm -rf /test

It's a one liner you can copy and paste in to repro the issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253593-227-xNAvaPD1oh>