Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2021 18:52:30 +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-NXRKp7QX26@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 #10 from Patrick Sullivan <sulli00777@gmail.com> ---
[eshnunna]|<->|[~]Z#uname -a
FreeBSD eshnunna 14.0-CURRENT FreeBSD 14.0-CURRENT #2 pat-n245800-7e199c730=
ccd:
Fri Apr  2 02:28:32 PDT 2021=20=20=20=20
root@eshnunna:/usr/obj/root/stuff/repos/freebsd-src/amd64.amd64/sys/GENERIC=
=20
amd64
[eshnunna]|<->|[~]Z#mkdir -p /test/jail/mnt /test/mounted/subdir && cp
/rescue/(sh|sleep) /test/jail && mount_nullfs /test/mounted /test/jail/mnt =
&&=20
chroot /test/jail /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
[1] 971
cd: warning: failed to get name of current directory
[1]  + done       chroot /test/jail /sh -c ' cd /mnt/subdir; /sleep 10; cd =
.'

Looks good to me. We don't see a panic anymore.

--=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-NXRKp7QX26>