| Summary: | jail.conf man page missing vnet multiple interfaces | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Paul Armstrong <freebsd> | ||||
| Component: | Manual Pages | Assignee: | freebsd-doc (Nobody) <doc> | ||||
| Status: | New --- | ||||||
| Severity: | Affects Many People | CC: | crest, doc, joseph, tj | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
This does not appear to be correct. Tested on 10.3-RELEASE-p7 Can you please provide more information than "does not appear to be correct"?
I've tested this on 10.2-p7 and 11.0-a6
Here's the config I used to test it:
exec.prestart = "";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.poststop = "";
exec.clean;
mount.devfs;
mount.fdescfs;
mount.procfs;
persist;
vnet = new;
path = "/jail/${host.hostname}";
test {
host.hostname = "test";
vnet.interface = em1, epair0a;
}
I ran into this on FreeBSD 12... didn't find the solution until I stumbled across this bug report. |
Created attachment 165733 [details] Updates jail.8 to mention comma separated interfaces for vnet vnet.interface can have multiple interfaces, if they're comma separated. This is not described in the man page.