Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Apr 2021 17:48:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 254741] jail(8) fails with "Usage" message when invocation is like it suggests
Message-ID:  <bug-254741-29815-7e7H46CVsB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254741-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254741-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254741

Jamie Gritton <jamie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|jail@FreeBSD.org            |jamie@FreeBSD.org
             Status|New                         |In Progress
                 CC|                            |jamie@FreeBSD.org

--- Comment #1 from Jamie Gritton <jamie@FreeBSD.org> ---
The program is correct, and the problem is just in the usage message (also =
in
the man page).  The "old-style" command line is four fixed arguments, with =
the
non-optional IP address being one of them.  You can specify '' as the IP
address, but there has to be an argument.

By the way, that will make a jail with no internet access at all; to make o=
ne
without IP address restrictions, you'll need something like :

jail -c path=3D/disk/jail host.hostname=3Dtestjail ip4=3Dinherit command=3D=
/etc/rc

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254741-29815-7e7H46CVsB>