"No bpf devices" problem in jail

Beeblebrox zaphod at berentweb.com
Fri Feb 1 19:57:27 UTC 2013


uname: 10-current r246145 amd64
Jail must start isc-dhcp but startup complains that there are "No bpf
devices".

I below have in /etc/devfs.rules, I have tried many alternate settings but
no result. Please help me figure out what setting to cahnge to enable bpf
ina Jail?

[devfsrules_jail=11]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'bpf*' unhide
#add path net unhide
#add path 'net/*' unhide
#add include $devfsrules_unhide_bpf

my /etc/jail.conf:
	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 = radulf.org;
	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;
}




--
View this message in context: http://freebsd.1045724.n5.nabble.com/No-bpf-devices-problem-in-jail-tp5783036.html
Sent from the freebsd-jail mailing list archive at Nabble.com.


More information about the freebsd-jail mailing list