[Bug 205873] pfctl -sr from a jail with vnet trigger Fatal trap 12 during pfioctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 4 13:31:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205873

--- Comment #1 from Sheda <sheda at fsfe.org> ---
I forgot to show the prestart script:

$ cat /jail/etc/prestart 
#!/bin/sh
set -eux

jname="$1"
cd /jail
for e in $(cd /jail/root; find . -maxdepth 1 -type d ! -name '.' ! -name 'dev'
| sed 's_^./__1'); do
        mount -t unionfs -o below "/jail/root/$e" "$jname/$e"
done

The intent is to use a template to populate the jail but excluding the dev/
directory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list