From nobody Thu Feb 24 13:48:17 2022 X-Original-To: dev-commits-src-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 7059B19E7AAB; Thu, 24 Feb 2022 13:48:18 +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 4K4Dkn6zRsz4ctN; Thu, 24 Feb 2022 13:48:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645710498; 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=plzcdqUeSuDVSeYmWWz7Yw1WmxBx7A9fzsXH0Xh6jNs=; b=XL1g6JVowHP6OkTjb5Rw7ZaP6lA48TrORGGm1QPWP+B50NM+rg5oM1tp7x97N8Ypm7t8rW +ayyMQzxxT4MR9RobGmBQEJADpMgnSrivnHzlxT8saQb6TM2EkWe2a8cIo4R0D7hi231rt lu0PoBUu1WHDUwJMn5yLIOAg+eSGJrU5Ss4fX/LobCggihiIX7eLphS2+Ax+zoi0X5DRGK 9KZgHkw+7M+z6yRCsl+A8QyDP7sjDA3JCmmJMYu9p82+5TdrGrA3GbWniuw9l9f8BBAay1 KB9tbra4B38j3ezLIGQF6jNvTFv1aGLsggm5kQUhhdOPg7nTBv73a50ifHIJig== 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 823D2519C; Thu, 24 Feb 2022 13:48:17 +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 21ODmHBM097624; Thu, 24 Feb 2022 13:48:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21ODmHtj097623; Thu, 24 Feb 2022 13:48:17 GMT (envelope-from git) Date: Thu, 24 Feb 2022 13:48:17 GMT Message-Id: <202202241348.21ODmHtj097623@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: 639326b97aec - stable/13 - freebsd-update.conf.5: Address style issues List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/13 X-Git-Reftype: branch X-Git-Commit: 639326b97aec27ec5b8b3197b3de1c506f29e32a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645710498; 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=plzcdqUeSuDVSeYmWWz7Yw1WmxBx7A9fzsXH0Xh6jNs=; b=dVylIb0Eo3/tAUr8QzmgQQX/+6vKxg5bWrhoRSk7x9WFk4PL3eJ2cnNbvjv+J1Y+KeYjeB CHTfw1IJZOLt8F1R8FOSH2N0in+F8S2MGv3qaNes2TnWxMQ6PG49+KU0PYQTHD6LFfqhwi 7x4Xfzgw5L0HvnIlTHKh/j8B0BH7lqtV/2m46Kqi1OtfJy638Jj7zOZZAABD13gkgb/oC8 Ngae/LSuRE9E4fGI0bIi4w/OpPNzjtAosLgOooKjZtpNdNVeu3os6/itBt6jENLJttnItn dWz7gC+IgZZB8E7K24ajeG2qOLjj/0cFKtMhh4ik0n/DnDRvJmmS+obS9H8tQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645710498; a=rsa-sha256; cv=none; b=Cl2Q8ETarpb4OZzpD9avz06St/9QN5+esV04wb6xGbbInfNr4phr8t22r1z4KQLXM+myUF mrFPvNAIcLAqkWqbjbBuKu1VFIBQNC1GHxsRpyekhZIdB68zCpKFyaLB+DacpS7AdouCce GYP7p27QGmR4y4ZEfKxzx2NaIRV+tXXGY6Vbqe/XVxUvKdnjuBAjE7QN9ODDlpcoRYlgv0 Y2O6s9IebPbuPIhEgy1cyqvbk5gEFDDkmY9eiy1nfIAaRbTJGJGklgDMwnG3g1bf3gHlGW pP8kbLE29biUQg91k4X2p3YbGPxlwa+op/0BstVhmBxjZbNw3hWO8aFJYZ5jEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=639326b97aec27ec5b8b3197b3de1c506f29e32a commit 639326b97aec27ec5b8b3197b3de1c506f29e32a 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:44 +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