Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 10:07:52 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-jail@FreeBSD.org
Subject:   Additional devfs rulesets
Message-ID:  <alpine.BSF.2.11.1407240945210.65901@wonkity.com>

next in thread | raw e-mail | index | archive | help
devfsrules_jail is defined in /etc/defaults/devfs.rules, but a new 
ruleset is needed to unhide bpf devices for using check_dhcp in a jail.

It seems clunky to define the new ruleset in /etc/devfs.rules on the 
host.  Is there a more elegant way to define it with the jail (ezjail) 
settings in /usr/local/etc?

Although it would help with keeping devfs rules with the other jail 
settings, is the need for running services like dhcpd in a jail enough 
to justify adding a new ruleset for it to /etc/defaults/devfs.rules?

[devfsrules_jail_dhcp=5]
add include $devfsrules_jail
add path 'bpf*' unhide

(untested)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1407240945210.65901>