Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2013 11:20:23 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-jail@freebsd.org
Subject:   Re: "No bpf devices" problem in jail
Message-ID:  <1361042423579-5787659.post@n5.nabble.com>
In-Reply-To: <1359748645583-5783036.post@n5.nabble.com>
References:  <1359748645583-5783036.post@n5.nabble.com>

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



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