Page MenuHomeFreeBSD

Document jail.conf(5) method of configuring jails
ClosedPublic

Authored by emaste on Feb 26 2018, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 29 2024, 8:49 AM
Unknown Object (File)
Dec 20 2023, 8:18 AM
Unknown Object (File)
Nov 10 2023, 1:14 AM
Unknown Object (File)
Oct 9 2023, 12:08 AM
Unknown Object (File)
Sep 9 2023, 12:19 AM
Unknown Object (File)
Jun 21 2023, 2:20 PM
Unknown Object (File)
May 2 2023, 7:06 AM
Unknown Object (File)
Mar 12 2023, 10:32 PM

Details

Summary

jail.conf is the preferred method of configuring jails in all supported FreeBSD versions, and old rc.conf(5) configuration produces a warning. Update the handbook example.

Based on patch in PR 187142 submitted by Jack-Benny Persson.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Two comments...

en_US.ISO8859-1/books/handbook/jails/chapter.xml
316–326

I think <filename>jail.conf</filename> tags are better here than the man page. We don't configure anything in the man page, but the file itself. The man page is referenced below, so there is no reference lost.

320

I think this parameter is also (highly) replaceable. ;-)

incorporate feedback from bcr

en_US.ISO8859-1/books/handbook/jails/chapter.xml
329
Configure jails to start at boot in <filename>/etc/rc.conf</filename>:</para>
334

This whole paragraph is unclear. What is a "default startup"? What is meant by "a complete virtual system"?

Fix sentence reported by @wblock

en_US.ISO8859-1/books/handbook/jails/chapter.xml
334

This section should indeed get a more extensive rewrite in a later commit.

I agree with the needed rewrites, but for this specific change, it is enough. Approved!

This revision is now accepted and ready to land.Mar 5 2018, 11:42 PM
This revision was automatically updated to reflect the committed changes.