From nobody Thu Jun 30 16:26:48 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 666818A8092 for ; Thu, 30 Jun 2022 16:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYkHX2Pzjz3nBg; Thu, 30 Jun 2022 16:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656606408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nZl+GhZzaPSx/+CL/TLv+4EdMG5SMfXTy++MKoky3Go=; b=EkrdrqG4Mff+cv10uNytUUtl4faV9uGbAZiegnHDsH8LOB7tUEIP26hLVtRz5C/Seld7hn SCpFgdmiDqH7uqZPBwcBmNe0y9d9YwjPv4tIZyNyQ3uAQisouYYPvxQbIly1m35fwncHh+ 5sOYqZgLrs9hArdrdZfrOCF/6hTzVetzVzjMwZOrbpE8jlfNYmOPA0yIPydL3wAFHbniMR uDeOfrLOvdOAEue5CRwJT/77nMbTIiJNvBLJHFzk811T5NChOjRmtjcOySeNpECUFnUHNu GTdsVKr3A0trdP9uM3mPgQ2gO94+/miRDVsliDgoxTSlkkctqsasGysY3dYzuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 216C71851; Thu, 30 Jun 2022 16:26:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25UGQmEW029261; Thu, 30 Jun 2022 16:26:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25UGQmNE029260; Thu, 30 Jun 2022 16:26:48 GMT (envelope-from git) Date: Thu, 30 Jun 2022 16:26:48 GMT Message-Id: <202206301626.25UGQmNE029260@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 14e46a2982 - main - [hb][jails] Fix jail configuration example List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 14e46a298293401597c2784588ece39660b2fd24 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656606408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nZl+GhZzaPSx/+CL/TLv+4EdMG5SMfXTy++MKoky3Go=; b=gvUGQmrG2g4QWwXSYqAhF9g2wMsRoJ9ooN5c6KudHCO8H/fww/RLfOscx7bJGhrwzAswlw u56WLp5k5Z7m3xUibktTflDd9tusC2zViYTbnaxzaciOSEh3uVVm+am7v3i9YY0ls7N5r4 F8D8wh1nxyfizL/qx266Pyjn9X21E+kFOEG/7TDNmSBooWEjkN2SjTfTfNFahfik14boK0 8JSA3GsDHATo92KlnYrhKSZ3wsdxhCeDGYrtVO49Ix2roLOdHUuAqT8PNNMDHbvwXkKDep PkFRxU18jSYasjr3b399wzKTMTo0KWpDN0KxfDXfqAJmp4vdNfRViC0Yi+N06w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656606408; a=rsa-sha256; cv=none; b=kVCC4/yzWJr5kUFIICKNsrvkoK/6GMLZ7UlCUXkeARb4JuWKk7hsVd2u6ZImdHKOmHRMGL alnSIcTmT8F9G4wsJaUK3eNocRWqXR9DgmS2fEeKSckMQkDWjPAZs4zL3KJGSTVXNmKR60 haDk9IMRql/KuaejiqmYOWkfjRC0+QW4L+Ft6fTXjRDd5bRVxGg20bilXyqm9SrmkM8zYP dlWH7GEoAyPOyLwRNHH1afZTyZqDPU6wtEjBIEHXRXj+z8ZYbLBmIkZY7BVQLyCsS4jb+r cK6exaY35nxwuqaUWXeK/SGGMPN+6/AQTDt+qXkD3klEqpmWIKvVcSqJ0XWG/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=14e46a298293401597c2784588ece39660b2fd24 commit 14e46a298293401597c2784588ece39660b2fd24 Author: Fernando ApesteguĂ­a AuthorDate: 2022-06-28 16:10:14 +0000 Commit: Fernando ApesteguĂ­a 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