Page MenuHomeFreeBSD

devfs: Add 'devfsrules_vnet_jail'
Needs ReviewPublic

Authored by kristof on Apr 18 2019, 2:59 PM.

Details

Reviewers
None
Group Reviewers
network
Summary

Vnet jails may want access to pf, so add a devfs ruleset which includes
pf.

Event: Aberdeen hackathon 2019

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 23741
Build 22701: arc lint + arc unit

Event Timeline

kristof created this revision.Apr 18 2019, 2:59 PM

Rather annoyingly things like ezjail can't directly use the devfsrules_vnet_jail name. They must specify the number. See https://svnweb.freebsd.org/base/head/libexec/rc/rc.d/jail?view=markup#l238
I have no idea how to address that, but this at the very least will hint users in the direction of what they may want for vnet jails.