Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 11:57:25 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-jail@freebsd.org
Subject:   "No bpf devices" problem in jail
Message-ID:  <1359748645583-5783036.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359748645583-5783036.post>