[Bug 284961] $name in jail.conf is empty if it's a number

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Feb 2025 06:34:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284961

--- Comment #4 from Jamie Gritton <jamie@FreeBSD.org> ---
(In reply to Jamie Gritton from comment #1)

I said you could have name=$jid as a default and that's only mostly true.  It
turns out that that can't be overridden per-jail, so all jails would then be
constrained to have a static jid and have that be the name.

I have a rule that jid and name are immutable, the point being that those are
set by being the label of the jail block.  But I ought to weaken that to say
that if they're not set in that way they could still be overridden.  That makes
it not documentation-only, and makes me wonder if I did that, then perhaps I
could also give it the implicit default value that's the subject of the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.