git: 14e46a2982 - main - [hb][jails] Fix jail configuration example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jun 2022 16:26:48 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=14e46a298293401597c2784588ece39660b2fd24 commit 14e46a298293401597c2784588ece39660b2fd24 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-06-28 16:10:14 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-06-30 16:23:36 +0000 [hb][jails] Fix jail configuration example jail.conf(8) accepts a devfs_ruleset that should be specified as a number according to jail(8). With the example in the handbook, we get this error when trying to launch the jail: Starting jails: cannot start jail "www": jail: www: devfs_ruleset: non-integer value "www_ruleset" Remove that from the handbook and left the default value of 4, meaning devfs_ruleset is enforced. No need to go into explaining devfs(8) at this point. Reviewed by: zlei.huang@gmail.com Approved by: 0mp@ Differential Revision: https://reviews.freebsd.org/D35630 --- documentation/content/en/books/handbook/jails/_index.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc index 36c177926a..522d0c83e5 100644 --- a/documentation/content/en/books/handbook/jails/_index.adoc +++ b/documentation/content/en/books/handbook/jails/_index.adoc @@ -227,7 +227,6 @@ www { host.hostname = www.example.org; # Hostname ip4.addr = 192.168.0.10; # IP address of the jail path = "/usr/jail/www"; # Path to the jail - devfs_ruleset = "www_ruleset"; # devfs ruleset mount.devfs; # Mount devfs inside the jail exec.start = "/bin/sh /etc/rc"; # Start command exec.stop = "/bin/sh /etc/rc.shutdown"; # Stop command