148ffe56aSColin Percival.\"- 248ffe56aSColin Percival.\" Copyright 2006 Colin Percival 348ffe56aSColin Percival.\" All rights reserved 448ffe56aSColin Percival.\" 548ffe56aSColin Percival.\" Redistribution and use in source and binary forms, with or without 648ffe56aSColin Percival.\" modification, are permitted providing that the following conditions 748ffe56aSColin Percival.\" are met: 848ffe56aSColin Percival.\" 1. Redistributions of source code must retain the above copyright 948ffe56aSColin Percival.\" notice, this list of conditions and the following disclaimer. 1048ffe56aSColin Percival.\" 2. Redistributions in binary form must reproduce the above copyright 1148ffe56aSColin Percival.\" notice, this list of conditions and the following disclaimer in the 1248ffe56aSColin Percival.\" documentation and/or other materials provided with the distribution. 1348ffe56aSColin Percival.\" 1448ffe56aSColin Percival.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1548ffe56aSColin Percival.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 1648ffe56aSColin Percival.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1748ffe56aSColin Percival.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 1848ffe56aSColin Percival.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1948ffe56aSColin Percival.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2048ffe56aSColin Percival.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2148ffe56aSColin Percival.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 2248ffe56aSColin Percival.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 2348ffe56aSColin Percival.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2448ffe56aSColin Percival.\" POSSIBILITY OF SUCH DAMAGE. 2548ffe56aSColin Percival.\" 266d17f2d0SMateusz Piotrowski.Dd February 17, 2022 2748ffe56aSColin Percival.Dt FREEBSD-UPDATE.CONF 5 28b80bb8b1SMateusz Piotrowski.Os 2948ffe56aSColin Percival.Sh NAME 3048ffe56aSColin Percival.Nm freebsd-update.conf 3148ffe56aSColin Percival.Nd configuration file for 3248ffe56aSColin Percival.Xr freebsd-update 8 3348ffe56aSColin Percival.Sh DESCRIPTION 3448ffe56aSColin PercivalThe 3548ffe56aSColin Percival.Nm 3648ffe56aSColin Percivalfile controls the behaviour of the 3748ffe56aSColin Percival.Xr freebsd-update 8 3848ffe56aSColin Percivalutility. 3948ffe56aSColin PercivalThe file contains lines consisting of a case-sensitive option name and 4048ffe56aSColin Percivalzero or more parameters. 4148ffe56aSColin PercivalEmpty lines and any part of a line following a 4248ffe56aSColin Percival.Ql # 4348ffe56aSColin Percivalcharacter are ignored. 4448ffe56aSColin PercivalUnless stated otherwise, specifying an option multiple times is an 4548ffe56aSColin Percivalerror. 4648ffe56aSColin Percival.Pp 4748ffe56aSColin PercivalThe possible options and their meanings are as follows: 48b80bb8b1SMateusz Piotrowski.Bl -tag -width "BackupKernelSymbolFiles" 4948ffe56aSColin Percival.It Cm AllowAdd 5048ffe56aSColin PercivalThe single parameter following this keyword must be 5148ffe56aSColin Percival.Dq yes 5248ffe56aSColin Percivalor 5348ffe56aSColin Percival.Dq no 5448ffe56aSColin Percivaland specifies whether 55b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 5648ffe56aSColin Percivalis allowed to create new files, directories, and symlinks if 578167eab9SRuslan Ermilovthese are part of updates downloaded. 588167eab9SRuslan ErmilovNote that 59b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 6048ffe56aSColin Percivalwill not re-add files which have been deleted from a 6148ffe56aSColin Percival.Fx 6248ffe56aSColin Percivalinstallation unless those files were previously added as part 6348ffe56aSColin Percivalof an update. 6448ffe56aSColin Percival.It Cm AllowDelete 6548ffe56aSColin PercivalThe single parameter following this keyword must be 6648ffe56aSColin Percival.Dq yes 6748ffe56aSColin Percivalor 6848ffe56aSColin Percival.Dq no 6948ffe56aSColin Percivaland specifies whether 70b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 7148ffe56aSColin Percivalis allowed to delete files, directories, and symlinks as 7248ffe56aSColin Percivalpart of updates downloaded. 7323d827efSSimon L. B. Nielsen.It Cm BackupKernel 7423d827efSSimon L. B. NielsenThe single parameter following this keyword must be 7523d827efSSimon L. B. Nielsen.Dq yes 7623d827efSSimon L. B. Nielsenor 7723d827efSSimon L. B. Nielsen.Dq no 7823d827efSSimon L. B. Nielsenand specifies whether 79b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 8023d827efSSimon L. B. Nielsenwill create a backup of the old kernel before installing a new kernel. 8123d827efSSimon L. B. NielsenThis backup kernel can be used to recover a system where the newly 8223d827efSSimon L. B. Nielseninstalled kernel somehow did not work. 8323d827efSSimon L. B. NielsenNote that the backup kernel is not reverted to its original state by 8423d827efSSimon L. B. Nielsenthe 85b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 8623d827efSSimon L. B. Nielsenrollback command. 8723d827efSSimon L. B. Nielsen.It Cm BackupKernelDir 8823d827efSSimon L. B. NielsenThis keyword sets the directory which is used to store a backup 8923d827efSSimon L. B. Nielsenkernel, if the BackupKernel feature is enabled. 9023d827efSSimon L. B. NielsenIf the directory already exist, and it was not created by 91b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 , 9223d827efSSimon L. B. Nielsenthe directory is skipped. 9323d827efSSimon L. B. NielsenIn the case of the primary directory name not being usable, a number 9423d827efSSimon L. B. Nielsenstarting with 9523d827efSSimon L. B. Nielsen.Sq 1 9623d827efSSimon L. B. Nielsenis appended to the directory name. 9723d827efSSimon L. B. NielsenLike with the primary directory name, the constructed directory name is 9823d827efSSimon L. B. Nielsenonly used if the path name does not exist, or if the directory was 9923d827efSSimon L. B. Nielsenpreviously created by 100b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 . 10123d827efSSimon L. B. NielsenIf the constructed directory still exist the appended number is 10223d827efSSimon L. B. Nielsenincremented with 1 and the directory search process restarted. 10323d827efSSimon L. B. NielsenShould the number increment go above 9, 104b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 10523d827efSSimon L. B. Nielsenwill abort. 10623d827efSSimon L. B. Nielsen.It Cm BackupKernelSymbolFiles 10723d827efSSimon L. B. NielsenThe single parameter following this keyword must be 10823d827efSSimon L. B. Nielsen.Dq yes 10923d827efSSimon L. B. Nielsenor 11023d827efSSimon L. B. Nielsen.Dq no 11123d827efSSimon L. B. Nielsenand specifies whether 112b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 11323d827efSSimon L. B. Nielsenwill also backup kernel symbol files, if they exist. 11423d827efSSimon L. B. NielsenThe kernel symbol files takes up a lot of disk space and are not 11523d827efSSimon L. B. Nielsenneeded for recovery purposes. 11623d827efSSimon L. B. NielsenIf the symbol files are needed, after recovering a system using the 11723d827efSSimon L. B. Nielsenbackup kernel, the 118b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 11923d827efSSimon L. B. Nielsenrollback command will recreate the symbol files along with the old 12023d827efSSimon L. B. Nielsenkernel. 121*bf8e9785SMateusz Piotrowski.It Cm Components 122*bf8e9785SMateusz PiotrowskiThe parameters following this keyword are the components or 123*bf8e9785SMateusz Piotrowskisub-components of 124*bf8e9785SMateusz Piotrowski.Fx 125*bf8e9785SMateusz Piotrowskiwhich will be updated. 126*bf8e9785SMateusz PiotrowskiThe components are 127*bf8e9785SMateusz Piotrowski.Dq src 128*bf8e9785SMateusz Piotrowski(source code), 129*bf8e9785SMateusz Piotrowski.Dq world 130*bf8e9785SMateusz Piotrowski(non-kernel binaries), and 131*bf8e9785SMateusz Piotrowski.Dq kernel ; 132*bf8e9785SMateusz Piotrowskithe sub-components are the individual distribution sets generated as 133*bf8e9785SMateusz Piotrowskipart of the release process (e.g., 134*bf8e9785SMateusz Piotrowski.Dq src/base , 135*bf8e9785SMateusz Piotrowski.Dq src/sys , 136*bf8e9785SMateusz Piotrowski.Dq world/base , 137*bf8e9785SMateusz Piotrowski.Dq world/catpages , 138*bf8e9785SMateusz Piotrowski.Dq kernel/smp ) . 139*bf8e9785SMateusz PiotrowskiNote that prior to 140*bf8e9785SMateusz Piotrowski.Fx 6.1 , 141*bf8e9785SMateusz Piotrowskithe 142*bf8e9785SMateusz Piotrowski.Dq kernel 143*bf8e9785SMateusz Piotrowskicomponent was distributed as part of 144*bf8e9785SMateusz Piotrowski.Dq world/base . 145*bf8e9785SMateusz Piotrowski.Pp 146*bf8e9785SMateusz PiotrowskiThis option can be specified multiple times, and the parameters 147*bf8e9785SMateusz Piotrowskiaccumulate. 1486d17f2d0SMateusz Piotrowski.It Cm CreateBootEnv 1496d17f2d0SMateusz PiotrowskiThe single parameter following this keyword must be 1506d17f2d0SMateusz Piotrowski.Dq yes 1516d17f2d0SMateusz Piotrowskior 1526d17f2d0SMateusz Piotrowski.Dq no 1536d17f2d0SMateusz Piotrowskiand specifies whether 154b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 1556d17f2d0SMateusz Piotrowskiwill create a new boot environment using 1566d17f2d0SMateusz Piotrowski.Xr bectl 8 1576d17f2d0SMateusz Piotrowskiwhen installing patches. 1586d17f2d0SMateusz Piotrowski.Pp 1596d17f2d0SMateusz PiotrowskiThe name of the new boot environment consists of the current 1606d17f2d0SMateusz Piotrowski.Fx 1616d17f2d0SMateusz Piotrowskiversion: 1626d17f2d0SMateusz Piotrowski.Bd -literal -offset indent 1636d17f2d0SMateusz Piotrowskifreebsd-version -ku | sort -V | tail -n 1 1646d17f2d0SMateusz Piotrowski.Ed 1656d17f2d0SMateusz Piotrowski.Pp 1666d17f2d0SMateusz Piotrowskiand a timestamp: 1676d17f2d0SMateusz Piotrowski.Bd -literal -offset indent 1686d17f2d0SMateusz Piotrowskidate +"%Y-%m-%d_%H%M%S" 1696d17f2d0SMateusz Piotrowski.Ed 1706d17f2d0SMateusz Piotrowski.Pp 1716d17f2d0SMateusz Piotrowskiseparated by a single dash, e.g.: 1726d17f2d0SMateusz Piotrowski.Bd -literal -offset indent 1736d17f2d0SMateusz Piotrowski13.0-RELEASE-p7_2022-02-16_141502 1746d17f2d0SMateusz Piotrowski.Ed 1756d17f2d0SMateusz Piotrowski.Pp 176b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 1776d17f2d0SMateusz Piotrowskidoes not attempt to create a boot environment 1786d17f2d0SMateusz Piotrowskiif any of the following applies: 1796d17f2d0SMateusz Piotrowski.Pp 1806d17f2d0SMateusz Piotrowski.Bl -dash -compact 1816d17f2d0SMateusz Piotrowski.It 1826d17f2d0SMateusz PiotrowskiZFS is not used. 1836d17f2d0SMateusz Piotrowski.It 1846d17f2d0SMateusz PiotrowskiThe ZFS root is not set up for boot environments 1856d17f2d0SMateusz Piotrowski.Po see the check command of 1866d17f2d0SMateusz Piotrowski.Xr bectl 8 1876d17f2d0SMateusz Piotrowskifor details 1886d17f2d0SMateusz Piotrowski.Pc . 1896d17f2d0SMateusz Piotrowski.It 190b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 1916d17f2d0SMateusz Piotrowskiis running in a 1926d17f2d0SMateusz Piotrowski.Xr jail 8 . 1936d17f2d0SMateusz Piotrowski.It 194b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 1956d17f2d0SMateusz Piotrowskiis updating a root directory selected via 1966d17f2d0SMateusz Piotrowskithe basedir 1976d17f2d0SMateusz Piotrowski.Pq Fl b 1986d17f2d0SMateusz Piotrowskior jail 1996d17f2d0SMateusz Piotrowski.Pq Fl j 2006d17f2d0SMateusz Piotrowskiflags. 20148ffe56aSColin Percival.El 202*bf8e9785SMateusz Piotrowski.It Cm IDSIgnorePaths 203*bf8e9785SMateusz PiotrowskiThe parameters following this keyword are regular expressions; 204*bf8e9785SMateusz Piotrowskipaths which start with a string matching one of these regular 205*bf8e9785SMateusz Piotrowskiexpressions will be ignored by 206*bf8e9785SMateusz Piotrowski.Xr freebsd-update 8 207*bf8e9785SMateusz PiotrowskiIDS. 208*bf8e9785SMateusz Piotrowski.Pp 209*bf8e9785SMateusz PiotrowskiThis option can be specified multiple times, and the parameters 210*bf8e9785SMateusz Piotrowskiaccumulate. 211*bf8e9785SMateusz Piotrowski.It Cm IgnorePaths 212*bf8e9785SMateusz PiotrowskiThe parameters following this keyword are regular expressions; 213*bf8e9785SMateusz Piotrowskiupdates to paths which start with a string matching one of 214*bf8e9785SMateusz Piotrowskithese regular expressions will be ignored. 215*bf8e9785SMateusz Piotrowski.Pp 216*bf8e9785SMateusz PiotrowskiThis option can be specified multiple times, and the parameters 217*bf8e9785SMateusz Piotrowskiaccumulate. 218*bf8e9785SMateusz Piotrowski.It Cm KeepModifiedMetadata 219*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword must be 220*bf8e9785SMateusz Piotrowski.Dq yes 221*bf8e9785SMateusz Piotrowskior 222*bf8e9785SMateusz Piotrowski.Dq no 223*bf8e9785SMateusz Piotrowskiand specifies whether 224*bf8e9785SMateusz Piotrowski.Xr freebsd-update 8 225*bf8e9785SMateusz Piotrowskishould keep existing file ownership, permissions, and flags 226*bf8e9785SMateusz Piotrowskiwhen installing updates if these have been modified locally. 227*bf8e9785SMateusz Piotrowski.It Cm KeyPrint 228*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword is the SHA256 hash 229*bf8e9785SMateusz Piotrowskiof the RSA key which will be trusted to sign updates. 230*bf8e9785SMateusz Piotrowski.It Cm MailTo 231*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword is the address 232*bf8e9785SMateusz Piotrowskito which 233*bf8e9785SMateusz Piotrowski.Xr cron 8 234*bf8e9785SMateusz Piotrowskioutput will be mailed. 235*bf8e9785SMateusz Piotrowski.It Cm MergeChanges 236*bf8e9785SMateusz PiotrowskiThe parameters following this keyword are regular expressions; 237*bf8e9785SMateusz Piotrowskiupdates to paths which start with a string matching one of 238*bf8e9785SMateusz Piotrowskithese regular expressions will be merged with local modifications. 239*bf8e9785SMateusz Piotrowski.Pp 240*bf8e9785SMateusz PiotrowskiThis option can be specified multiple times, and the parameters 241*bf8e9785SMateusz Piotrowskiaccumulate. 242*bf8e9785SMateusz Piotrowski.It Cm ServerName 243*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword is the name of the 244*bf8e9785SMateusz Piotrowskiserver or server pool from which updates will be downloaded. 245*bf8e9785SMateusz Piotrowski.It Cm StrictComponents 246*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword must be 247*bf8e9785SMateusz Piotrowski.Dq yes 248*bf8e9785SMateusz Piotrowskior 249*bf8e9785SMateusz Piotrowski.Dq no 250*bf8e9785SMateusz Piotrowskiand specifies whether 251*bf8e9785SMateusz Piotrowski.Xr freebsd-update 8 252*bf8e9785SMateusz Piotrowskishould interpret the list of components of 253*bf8e9785SMateusz Piotrowski.Fx 254*bf8e9785SMateusz Piotrowskispecified via the 255*bf8e9785SMateusz Piotrowski.Cm Components 256*bf8e9785SMateusz Piotrowskioption strictly as a list of components installed which 257*bf8e9785SMateusz Piotrowskishould be upgraded when the 258*bf8e9785SMateusz Piotrowski.Cm upgrade 259*bf8e9785SMateusz Piotrowskicommand is used ("yes"), or merely as a list of components 260*bf8e9785SMateusz Piotrowskiwhich might be installed, of which 261*bf8e9785SMateusz Piotrowski.Xr freebsd-update 8 262*bf8e9785SMateusz Piotrowskishould identify which in fact are present ("no"). 263*bf8e9785SMateusz Piotrowski.It Cm UpdateIfUnmodified 264*bf8e9785SMateusz PiotrowskiThe parameters following this keyword are regular expressions; 265*bf8e9785SMateusz Piotrowskiupdates to paths which start with a string matching one of 266*bf8e9785SMateusz Piotrowskithese regular expressions will be ignored if the files have 267*bf8e9785SMateusz Piotrowskibeen modified locally (unless they are merged \(em see the 268*bf8e9785SMateusz Piotrowski.Cm MergeChanges 269*bf8e9785SMateusz Piotrowskioption). 270*bf8e9785SMateusz Piotrowski.Pp 271*bf8e9785SMateusz PiotrowskiThis option can be specified multiple times, and the parameters 272*bf8e9785SMateusz Piotrowskiaccumulate. 273*bf8e9785SMateusz Piotrowski.It Cm WorkDir 274*bf8e9785SMateusz PiotrowskiThe single parameter following this keyword is the directory 275*bf8e9785SMateusz Piotrowskiin which temporary files and downloaded updates will be stored. 276b80bb8b1SMateusz Piotrowski.El 27748ffe56aSColin Percival.Sh FILES 27848ffe56aSColin Percival.Bl -tag -width "/etc/freebsd-update.conf" 2792710751bSJoel Dahl.It Pa /etc/freebsd-update.conf 28048ffe56aSColin PercivalDefault location of the 281b80bb8b1SMateusz Piotrowski.Xr freebsd-update 8 28248ffe56aSColin Percivalconfiguration file. 28348ffe56aSColin Percival.El 28448ffe56aSColin Percival.Sh SEE ALSO 2858167eab9SRuslan Ermilov.Xr sha256 1 , 2866d17f2d0SMateusz Piotrowski.Xr bectl 8 , 28748ffe56aSColin Percival.Xr freebsd-update 8 28848ffe56aSColin Percival.Sh AUTHORS 289a63d6c94SBaptiste Daroussin.An Colin Percival Aq Mt cperciva@FreeBSD.org 290