From nobody Thu Feb 24 13:48:15 2022 X-Original-To: dev-commits-src-branches@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 0285019E78C3; Thu, 24 Feb 2022 13:48:16 +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 4K4Dkl4tp4z4ccs; Thu, 24 Feb 2022 13:48:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645710495; 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=a7iH/CKHzJwyp8NtOp1vcDLvx1myffPt2dp/P2laJUY=; b=m0aHWCAh6UFIH9PsMtWJiVX2be1oay5ekx++Z9l+Q4kMv/IeKQGlByDbSMjJ2dkmlx8sCu H1MvABhZZhlNh8GEExiOzaZLwDHjbW9mn/t7ZRYFjn1H4E9nMe299HEFBWWHifqjStD+re 4MwadxbiFXsWrF2qGKIYrFTurpm22DpT6GtSkKV3bxb9qL/vQUsKUUSYxmnBMa7E9GpLYc PH5RmsO/SHbZKhykcqsZ7nPX4zzPoeZ+KcCnLomZXar6rJXEI+bP/oD/euONJIeHHFYYDY tloTNNV4JXrtTh75nDyoL/+meIOCoNBrSWHp64+4XwzUpjGYKjXoraqoQiLfKA== 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 7E17F4A73; Thu, 24 Feb 2022 13:48:15 +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 21ODmFC3097508; Thu, 24 Feb 2022 13:48:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21ODmFVc097507; Thu, 24 Feb 2022 13:48:15 GMT (envelope-from git) Date: Thu, 24 Feb 2022 13:48:15 GMT Message-Id: <202202241348.21ODmFVc097507@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: a3e2ff6a3ebc - stable/12 - freebsd-update.conf.5: Address style issues List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: a3e2ff6a3ebcc01e300711543373af310ba82403 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645710495; 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=a7iH/CKHzJwyp8NtOp1vcDLvx1myffPt2dp/P2laJUY=; b=DEW1ShAf+jwrsj58FJe8GMiJgcQv9DskgW44jP94CjpJ38h3kQXpj83C+QkPTv5wFt6Ilu aeOZ3paLlIz2/za8s98Bkd9Fa4t7eabF3pn/f3De7HA4q/BV9sBBYN92TlSrYTk9BNZ3hh T78N5lPUXClOfKuTM108BgtEyDOYytt8ekSMAk9S5bbgIZJOjIViVMcsDiv+x5SBi2oLfW sH/a7TvOwY2ISPssAfo4XeKJP/vCGvAdeAsfwJpfQHowajghca8sRNBhcDfbk29p6ewK13 XDRIDqqmsECaqEENI7/ZgpG15QPn/gfWWd/S0dZ0qOn3XZyWtggui+5tovh+SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645710495; a=rsa-sha256; cv=none; b=xuTJ+NCGsYZUhXY7eQ2oJlhxftTJSk5E/gJIkAQGFNlMn+sT33zeSD6riZgiB6YLJJe7fh ePghwTcNI6u6btssH7L8wiT/e/4W5XnAEemlB/N/l8q7Bb2bSsCP/IFgs5TNJ1IruoYqFu 6N/uNk4ziW2aFbC4G93DI0YKzkXCiTdsOJ4d6uqdhTaCeWXOt27COlfvC+4/x9+0xe+Sw8 rTf4UGXERSSeujAddDH6rBXjQ5KTjdBpIq+4+RhCsmezdRIgy6JPDkEOq8OCBuP7Suys42 Y3EsXBvLsl4cGRl0SgBVB7hy6O8wA7WkqGlXCjHOYTm1bSVfevgZYwluh1lwEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a3e2ff6a3ebcc01e300711543373af310ba82403 commit a3e2ff6a3ebcc01e300711543373af310ba82403 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-02-17 09:40:48 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-02-24 13:47:51 +0000 freebsd-update.conf.5: Address style issues - Do not set Os to FreeBSD explicitly. We don't do it in other manual pages. - Remove macros from the -width specifier. - Use Xr instead of Cm to refer to the freebsd-update command. - Address some mandoc lint warnings and use \(em instead of --. - Wordsmith some paragraphs. - Add a missing El macro. MFC after: 1 week (cherry picked from commit b80bb8b197aed4db48810d67be0239fd029c6465) --- share/man/man5/freebsd-update.conf.5 | 52 +++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/share/man/man5/freebsd-update.conf.5 b/share/man/man5/freebsd-update.conf.5 index 9d33e9e25171..76782dd1c095 100644 --- a/share/man/man5/freebsd-update.conf.5 +++ b/share/man/man5/freebsd-update.conf.5 @@ -27,7 +27,7 @@ .\" .Dd February 17, 2022 .Dt FREEBSD-UPDATE.CONF 5 -.Os FreeBSD +.Os .Sh NAME .Nm freebsd-update.conf .Nd configuration file for @@ -47,7 +47,7 @@ Unless stated otherwise, specifying an option multiple times is an error. .Pp The possible options and their meanings are as follows: -.Bl -tag -width ".Cm BackupKernelSymbolFiles" +.Bl -tag -width "BackupKernelSymbolFiles" .It Cm KeyPrint The single parameter following this keyword is the SHA256 hash of the RSA key which will be trusted to sign updates. @@ -91,7 +91,9 @@ accumulate. .It Cm IDSIgnorePaths The parameters following this keyword are regular expressions; paths which start with a string matching one of these regular -expressions will be ignored by "freebsd-update IDS". +expressions will be ignored by +.Xr freebsd-update 8 +IDS. .Pp This option can be specified multiple times, and the parameters accumulate. @@ -99,8 +101,9 @@ accumulate. The parameters following this keyword are regular expressions; updates to paths which start with a string matching one of these regular expressions will be ignored if the files have -been modified locally (unless they are merged -- see MergeChanges -below). +been modified locally (unless they are merged \(em see the +.Cm MergeChanges +option). .Pp This option can be specified multiple times, and the parameters accumulate. @@ -117,7 +120,7 @@ in which temporary files and downloaded updates will be stored. .It Cm MailTo The single parameter following this keyword is the address to which -.Cm cron +.Xr cron 8 output will be mailed. .It Cm AllowAdd The single parameter following this keyword must be @@ -125,11 +128,11 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 is allowed to create new files, directories, and symlinks if these are part of updates downloaded. Note that -.Cm freebsd-update +.Xr freebsd-update 8 will not re-add files which have been deleted from a .Fx installation unless those files were previously added as part @@ -140,7 +143,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 is allowed to delete files, directories, and symlinks as part of updates downloaded. .It Cm KeepModifiedMetadata @@ -149,7 +152,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 should keep existing file ownership, permissions, and flags when installing updates if these have been modified locally. .It Cm StrictComponents @@ -158,7 +161,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 should interpret the list of components of .Fx specified via the @@ -168,7 +171,7 @@ should be upgraded when the .Cm upgrade command is used ("yes"), or merely as a list of components which might be installed, of which -.Cm freebsd-update +.Xr freebsd-update 8 should identify which in fact are present ("no"). .It Cm BackupKernel The single parameter following this keyword must be @@ -176,19 +179,19 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will create a backup of the old kernel before installing a new kernel. This backup kernel can be used to recover a system where the newly installed kernel somehow did not work. Note that the backup kernel is not reverted to its original state by the -.Cm freebsd-update +.Xr freebsd-update 8 rollback command. .It Cm BackupKernelDir This keyword sets the directory which is used to store a backup kernel, if the BackupKernel feature is enabled. If the directory already exist, and it was not created by -.Cm freebsd-update , +.Xr freebsd-update 8 , the directory is skipped. In the case of the primary directory name not being usable, a number starting with @@ -197,11 +200,11 @@ is appended to the directory name. Like with the primary directory name, the constructed directory name is only used if the path name does not exist, or if the directory was previously created by -.Cm freebsd-update . +.Xr freebsd-update 8 . If the constructed directory still exist the appended number is incremented with 1 and the directory search process restarted. Should the number increment go above 9, -.Cm freebsd-update +.Xr freebsd-update 8 will abort. .It Cm BackupKernelSymbolFiles The single parameter following this keyword must be @@ -209,13 +212,13 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will also backup kernel symbol files, if they exist. The kernel symbol files takes up a lot of disk space and are not needed for recovery purposes. If the symbol files are needed, after recovering a system using the backup kernel, the -.Cm freebsd-update +.Xr freebsd-update 8 rollback command will recreate the symbol files along with the old kernel. .It Cm CreateBootEnv @@ -224,7 +227,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will create a new boot environment using .Xr bectl 8 when installing patches. @@ -246,7 +249,7 @@ separated by a single dash, e.g.: 13.0-RELEASE-p7_2022-02-16_141502 .Ed .Pp -.Cm freebsd-update +.Xr freebsd-update 8 does not attempt to create a boot environment if any of the following applies: .Pp @@ -260,11 +263,11 @@ The ZFS root is not set up for boot environments for details .Pc . .It -.Cm freebsd-update +.Xr freebsd-update 8 is running in a .Xr jail 8 . .It -.Cm freebsd-update +.Xr freebsd-update 8 is updating a root directory selected via the basedir .Pq Fl b @@ -272,11 +275,12 @@ or jail .Pq Fl j flags. .El +.El .Sh FILES .Bl -tag -width "/etc/freebsd-update.conf" .It Pa /etc/freebsd-update.conf Default location of the -.Cm freebsd-update +.Xr freebsd-update 8 configuration file. .El .Sh SEE ALSO