I need to unhide bpf in /etc/devfs.rules. The syntax I have placed is not working though. What is the correct entry for "unhide bpf" in the new syntax?
my /etc/jail.conf:
and #jail -c pxe gives:
From inside the jail, #ls -la /dev only shows:
Code:
[devfsrules_jail=11]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
[color="Red"]add path 'bpf*' unhide[/color]
#add path net unhide
#add path 'net/*' unhide
Code:
allow.mount.devfs;
allow.mount.procfs;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
allow.mount.nullfs;
pxe {
name = pxe;
host.hostname = pxe;
interface = re0;
ip4.addr = 192.168.2.1/32;
path = /data/amd64;
allow.raw_sockets;
enforce_statfs = 1;
mount.fstab = /etc/fstab.pxe;
allow.mount.procfs;
devfs_ruleset = 11;
}
Code:
No bpf devices. Please read the README section for your operating system.
.....
exiting.
/etc/rc: WARNING: failed to start dhcpd
Code:
lrwxr-xr-x 1 root wheel 12 Nov 7 10:59 log -> /var/run/log
-rw-r--r-- 1 root wheel 0 Jan 22 18:07 null