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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253593 --- Comment #10 from Patrick Sullivan <sulli00777@gmail.com> --- [eshnunna]|<->|[~]Z#uname -a FreeBSD eshnunna 14.0-CURRENT FreeBSD 14.0-CURRENT #2 pat-n245800-7e199c730ccd: Fri Apr 2 02:28:32 PDT 2021 root@eshnunna:/usr/obj/root/stuff/repos/freebsd-src/amd64.amd64/sys/GENERIC amd64 [eshnunna]|<->|[~]Z#mkdir -p /test/jail/mnt /test/mounted/subdir && cp /rescue/(sh|sleep) /test/jail && mount_nullfs /test/mounted /test/jail/mnt && 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253593-227-NXRKp7QX26>
