I accidentally got my invocation backwards, was impatient and tried the opposite form and it blew up looking in the VOP code when I did the following: 1. Boot 9.0-RELEASE as a LiveCD. 2. Execute the following commands: mkdir /tmp/etc mount_unionfs /tmp/etc /etc mount_unionfs /etc /tmp/etc 3. Accessing either /etc or /tmp/etc after that should result in a panic.
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
You could around this issue with a following patch. http://people.freebsd.org/~daichi/unionfs/unionfs-cross-mount3.diff And above patch is rejected at ml discussion some years ago. We need more radical changes to improve this kind of issues. -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto
I finally got around to testing this. Yup -- the patch looks good to me. Thank you Daichi! -Garrett
ping
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
See comments 9 & 10 on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275871 for a more recent reproduction.