[Bug 254741] jail(8) fails with "Usage" message when invocation is like it suggests
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 4 17:48:26 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254741
Jamie Gritton <jamie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|jail at FreeBSD.org |jamie at FreeBSD.org
Status|New |In Progress
CC| |jamie at FreeBSD.org
--- Comment #1 from Jamie Gritton <jamie at 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 one
without IP address restrictions, you'll need something like :
jail -c path=/disk/jail host.hostname=testjail ip4=inherit command=/etc/rc
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-jail
mailing list