"No bpf devices" problem in jail

Beeblebrox zaphod at berentweb.com
Sat Feb 16 19:20:31 UTC 2013


[solved] Thank you, Jamie Gritton

devfs needs to be mounted - check for that. Although I had it in
fstab.jailname, it was not mounting. /etc/jail.conf entries changed &
corrected as below. When /dev is mounted in the jail, devfs.rules also gets
invoked.

  mount.devfs;
# Above line is THE key
  exec.start = "/bin/sh /etc/rc";
  exec.stop = "/bin/sh /etc/rc.shutdown";

pxe {
	name = pxe;
	host.hostname = radulf.org;
	interface = re0;
	ip4.addr = 192.168.2.1/24;	#setting subnet to /32 breaks tftp
	path = /data/amd64;
	allow.raw_sockets = 1;
	enforce_statfs = 2;	# detail level file sys info - 2 is least.
	mount.fstab = /etc/fstab.pxe;
	devfs_ruleset = 11;
}



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


More information about the freebsd-jail mailing list