Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 2016 13:31:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205873] pfctl -sr from a jail with vnet trigger Fatal trap 12 during pfioctl
Message-ID:  <bug-205873-8-f4MpSko2t1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205873-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205873-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #1 from Sheda <sheda@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 the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205873-8-f4MpSko2t1>