https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251624
Bug ID: 251624
Summary: jls is unable to list IP(s) of vnet jails.
Product: Base System
Version: 12.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Im quite certain the authors and those who have had their hands in the VNET
code are aware of this issue. I just could not find any discussion about this
or any explanation of what the issue is. So my hope is this winds up as a PR,
but also hopefully someone can chime in and post a link to a discussion about
this or an explanation of the issue so I can understand the rabbit hole here.
When creating a jail with vnet only and with vnet plus DHCP (using
BastilleBSD), on 12.2-RELEASE r366954, the jail's get created fine. But jls or
jls -N do not display the IP of said created jails.
This is an issue when you spin up a dozen, hundreds or a thousand vnet jails
and do a 'jls' or 'jls -N' and get nothing returned for the IP. It makes using
jls and tooling built around it like BastilleBSD... difficult.
I looked at how SmartOS does the output of a 'list' command and with their
'vmadm list' you simply get back the primary or first interface IP of the zone.
With a 'vmadm get' you get a JSON array returned with every interface and IP
attached to it from each zone.
I looked at jls.c and didn't see anything regarding this issue. And again, I
couldn't find any discussion about this or a blog entry anywhere. This has to
be pretty widely known, I would just like to understand what the issue is so
hopefully someone familiar with the code can chime in and explain the issue.
Either way I have at least filed a PR for the record.
Thank you for any explanation of the issue provided.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"