jails devfs.rules problem including other rulesets: bastille

When I use a bastille, jail rules that include rules 1 to 3 from /etc/defaults/devfs.rules work.

Rules 1 to 3, referenced in the beginning of rule 4:
Code:
[devfsrules_jail=4]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login

When I reference rule 4 from jails.conf, the rule works correctly for that jail. When I use rule 5 or any custom rule from devfs.rules, which includes rule 4, my /dev/ directory in the jail fills up. Even when I copy rule 4 to my custom devfs.rules file, referencing it also causes my /dev/ directory in the jail to fill up, rather than the few items I wrote to be turned on.

Code:
[devfsrules_jail_vnet=5]
add include $devfsrules_jail

jail.conf
Code:
devfs_ruleset = 4;

It's been the same issue, when I used the user /etc/devfs.rules and include a ruleset that's not rule 1 through 3 of defaults. I don't know if I misconfigured something, for this to break, or if it's a bug.

devfs rule showsets lists my rule sets. Earlier, I got the command to show ruleset includes worked, and now I can't figure it out anymore.
 
Back
Top