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.\" 2648ffe56aSColin Percival.\" $FreeBSD$ 2748ffe56aSColin Percival.\" 2823d827efSSimon L. B. Nielsen.Dd August 19, 2009 2948ffe56aSColin Percival.Dt FREEBSD-UPDATE.CONF 5 3048ffe56aSColin Percival.Os FreeBSD 3148ffe56aSColin Percival.Sh NAME 3248ffe56aSColin Percival.Nm freebsd-update.conf 3348ffe56aSColin Percival.Nd configuration file for 3448ffe56aSColin Percival.Xr freebsd-update 8 3548ffe56aSColin Percival.Sh DESCRIPTION 3648ffe56aSColin PercivalThe 3748ffe56aSColin Percival.Nm 3848ffe56aSColin Percivalfile controls the behaviour of the 3948ffe56aSColin Percival.Xr freebsd-update 8 4048ffe56aSColin Percivalutility. 4148ffe56aSColin PercivalThe file contains lines consisting of a case-sensitive option name and 4248ffe56aSColin Percivalzero or more parameters. 4348ffe56aSColin PercivalEmpty lines and any part of a line following a 4448ffe56aSColin Percival.Ql # 4548ffe56aSColin Percivalcharacter are ignored. 4648ffe56aSColin PercivalUnless stated otherwise, specifying an option multiple times is an 4748ffe56aSColin Percivalerror. 4848ffe56aSColin Percival.Pp 4948ffe56aSColin PercivalThe possible options and their meanings are as follows: 5023d827efSSimon L. B. Nielsen.Bl -tag -width ".Cm BackupKernelSymbolFiles" 5148ffe56aSColin Percival.It Cm KeyPrint 5248ffe56aSColin PercivalThe single parameter following this keyword is the SHA256 hash 5348ffe56aSColin Percivalof the RSA key which will be trusted to sign updates. 5448ffe56aSColin Percival.It Cm ServerName 5548ffe56aSColin PercivalThe single parameter following this keyword is the name of the 5648ffe56aSColin Percivalserver or server pool from which updates will be downloaded. 5748ffe56aSColin Percival.It Cm Components 5848ffe56aSColin PercivalThe parameters following this keyword are the components or 5948ffe56aSColin Percivalsub-components of 6048ffe56aSColin Percival.Fx 618167eab9SRuslan Ermilovwhich will be updated. 628167eab9SRuslan ErmilovThe components are 6348ffe56aSColin Percival.Dq src 6448ffe56aSColin Percival(source code), 6548ffe56aSColin Percival.Dq world 6648ffe56aSColin Percival(non-kernel binaries), and 6748ffe56aSColin Percival.Dq kernel ; 6848ffe56aSColin Percivalthe sub-components are the individual distribution sets generated as 6948ffe56aSColin Percivalpart of the release process (e.g., 7048ffe56aSColin Percival.Dq src/base , 7148ffe56aSColin Percival.Dq src/sys , 7248ffe56aSColin Percival.Dq world/base , 7348ffe56aSColin Percival.Dq world/catpages , 7448ffe56aSColin Percival.Dq kernel/smp ) . 7548ffe56aSColin PercivalNote that prior to 7648ffe56aSColin Percival.Fx 6.1 , 7748ffe56aSColin Percivalthe 7848ffe56aSColin Percival.Dq kernel 7948ffe56aSColin Percivalcomponent was distributed as part of 8048ffe56aSColin Percival.Dq world/base . 8148ffe56aSColin Percival.Pp 8248ffe56aSColin PercivalThis option can be specified multiple times, and the parameters 8348ffe56aSColin Percivalaccumulate. 8448ffe56aSColin Percival.It Cm IgnorePaths 8548ffe56aSColin PercivalThe parameters following this keyword are regular expressions; 8648ffe56aSColin Percivalupdates to paths which start with a string matching one of 8748ffe56aSColin Percivalthese regular expressions will be ignored. 8848ffe56aSColin Percival.Pp 8948ffe56aSColin PercivalThis option can be specified multiple times, and the parameters 9048ffe56aSColin Percivalaccumulate. 91cd44e09cSColin Percival.It Cm IDSIgnorePaths 92cd44e09cSColin PercivalThe parameters following this keyword are regular expressions; 93cd44e09cSColin Percivalpaths which start with a string matching one of these regular 94cd44e09cSColin Percivalexpressions will be ignored by "freebsd-update IDS". 95cd44e09cSColin Percival.Pp 96cd44e09cSColin PercivalThis option can be specified multiple times, and the parameters 97cd44e09cSColin Percivalaccumulate. 9848ffe56aSColin Percival.It Cm UpdateIfUnmodified 9948ffe56aSColin PercivalThe parameters following this keyword are regular expressions; 10048ffe56aSColin Percivalupdates to paths which start with a string matching one of 10148ffe56aSColin Percivalthese regular expressions will be ignored if the files have 102db6b0a61SColin Percivalbeen modified locally (unless they are merged -- see MergeChanges 103db6b0a61SColin Percivalbelow). 104db6b0a61SColin Percival.Pp 105db6b0a61SColin PercivalThis option can be specified multiple times, and the parameters 106db6b0a61SColin Percivalaccumulate. 107db6b0a61SColin Percival.It Cm MergeChanges 108db6b0a61SColin PercivalThe parameters following this keyword are regular expressions; 109db6b0a61SColin Percivalupdates to paths which start with a string matching one of 110db6b0a61SColin Percivalthese regular expressions will be merged with local modifications. 11148ffe56aSColin Percival.Pp 11248ffe56aSColin PercivalThis option can be specified multiple times, and the parameters 11348ffe56aSColin Percivalaccumulate. 11448ffe56aSColin Percival.It Cm WorkDir 11548ffe56aSColin PercivalThe single parameter following this keyword is the directory 11648ffe56aSColin Percivalin which temporary files and downloaded updates will be stored. 11748ffe56aSColin Percival.It Cm MailTo 11848ffe56aSColin PercivalThe single parameter following this keyword is the address 11948ffe56aSColin Percivalto which 12048ffe56aSColin Percival.Cm cron 12148ffe56aSColin Percivaloutput will be mailed. 12248ffe56aSColin Percival.It Cm AllowAdd 12348ffe56aSColin PercivalThe single parameter following this keyword must be 12448ffe56aSColin Percival.Dq yes 12548ffe56aSColin Percivalor 12648ffe56aSColin Percival.Dq no 12748ffe56aSColin Percivaland specifies whether 12848ffe56aSColin Percival.Cm freebsd-update 12948ffe56aSColin Percivalis allowed to create new files, directories, and symlinks if 1308167eab9SRuslan Ermilovthese are part of updates downloaded. 1318167eab9SRuslan ErmilovNote that 13248ffe56aSColin Percival.Cm freebsd-update 13348ffe56aSColin Percivalwill not re-add files which have been deleted from a 13448ffe56aSColin Percival.Fx 13548ffe56aSColin Percivalinstallation unless those files were previously added as part 13648ffe56aSColin Percivalof an update. 13748ffe56aSColin Percival.It Cm AllowDelete 13848ffe56aSColin PercivalThe single parameter following this keyword must be 13948ffe56aSColin Percival.Dq yes 14048ffe56aSColin Percivalor 14148ffe56aSColin Percival.Dq no 14248ffe56aSColin Percivaland specifies whether 14348ffe56aSColin Percival.Cm freebsd-update 14448ffe56aSColin Percivalis allowed to delete files, directories, and symlinks as 14548ffe56aSColin Percivalpart of updates downloaded. 14648ffe56aSColin Percival.It Cm KeepModifiedMetadata 14748ffe56aSColin PercivalThe single parameter following this keyword must be 14848ffe56aSColin Percival.Dq yes 14948ffe56aSColin Percivalor 15048ffe56aSColin Percival.Dq no 15148ffe56aSColin Percivaland specifies whether 15248ffe56aSColin Percival.Cm freebsd-update 15348ffe56aSColin Percivalshould keep existing file ownership, permissions, and flags 15448ffe56aSColin Percivalwhen installing updates if these have been modified locally. 155db6b0a61SColin Percival.It Cm StrictComponents 156db6b0a61SColin PercivalThe single parameter following this keyword must be 157db6b0a61SColin Percival.Dq yes 158db6b0a61SColin Percivalor 159db6b0a61SColin Percival.Dq no 160db6b0a61SColin Percivaland specifies whether 161db6b0a61SColin Percival.Cm freebsd-update 162db6b0a61SColin Percivalshould interpret the list of components of 163db6b0a61SColin Percival.Fx 164db6b0a61SColin Percivalspecified via the 165db6b0a61SColin Percival.Cm Components 166db6b0a61SColin Percivaloption strictly as a list of components installed which 167db6b0a61SColin Percivalshould be upgraded when the 168db6b0a61SColin Percival.Cm upgrade 169db6b0a61SColin Percivalcommand is used ("yes"), or merely as a list of components 170db6b0a61SColin Percivalwhich might be installed, of which 171db6b0a61SColin Percival.Cm freebsd-update 172db6b0a61SColin Percivalshould identify which in fact are present ("no"). 17323d827efSSimon L. B. Nielsen.It Cm BackupKernel 17423d827efSSimon L. B. NielsenThe single parameter following this keyword must be 17523d827efSSimon L. B. Nielsen.Dq yes 17623d827efSSimon L. B. Nielsenor 17723d827efSSimon L. B. Nielsen.Dq no 17823d827efSSimon L. B. Nielsenand specifies whether 17923d827efSSimon L. B. Nielsen.Cm freebsd-update 18023d827efSSimon L. B. Nielsenwill create a backup of the old kernel before installing a new kernel. 18123d827efSSimon L. B. NielsenThis backup kernel can be used to recover a system where the newly 18223d827efSSimon L. B. Nielseninstalled kernel somehow did not work. 18323d827efSSimon L. B. NielsenNote that the backup kernel is not reverted to its original state by 18423d827efSSimon L. B. Nielsenthe 18523d827efSSimon L. B. Nielsen.Cm freebsd-update 18623d827efSSimon L. B. Nielsenrollback command. 18723d827efSSimon L. B. Nielsen.It Cm BackupKernelDir 18823d827efSSimon L. B. NielsenThis keyword sets the directory which is used to store a backup 18923d827efSSimon L. B. Nielsenkernel, if the BackupKernel feature is enabled. 19023d827efSSimon L. B. NielsenIf the directory already exist, and it was not created by 19123d827efSSimon L. B. Nielsen.Cm freebsd-update , 19223d827efSSimon L. B. Nielsenthe directory is skipped. 19323d827efSSimon L. B. NielsenIn the case of the primary directory name not being usable, a number 19423d827efSSimon L. B. Nielsenstarting with 19523d827efSSimon L. B. Nielsen.Sq 1 19623d827efSSimon L. B. Nielsenis appended to the directory name. 19723d827efSSimon L. B. NielsenLike with the primary directory name, the constructed directory name is 19823d827efSSimon L. B. Nielsenonly used if the path name does not exist, or if the directory was 19923d827efSSimon L. B. Nielsenpreviously created by 20023d827efSSimon L. B. Nielsen.Cm freebsd-update . 20123d827efSSimon L. B. NielsenIf the constructed directory still exist the appended number is 20223d827efSSimon L. B. Nielsenincremented with 1 and the directory search process restarted. 20323d827efSSimon L. B. NielsenShould the number increment go above 9, 20423d827efSSimon L. B. Nielsen.Cm freebsd-update 20523d827efSSimon L. B. Nielsenwill abort. 20623d827efSSimon L. B. Nielsen.It Cm BackupKernelSymbolFiles 20723d827efSSimon L. B. NielsenThe single parameter following this keyword must be 20823d827efSSimon L. B. Nielsen.Dq yes 20923d827efSSimon L. B. Nielsenor 21023d827efSSimon L. B. Nielsen.Dq no 21123d827efSSimon L. B. Nielsenand specifies whether 21223d827efSSimon L. B. Nielsen.Cm freebsd-update 21323d827efSSimon L. B. Nielsenwill also backup kernel symbol files, if they exist. 21423d827efSSimon L. B. NielsenThe kernel symbol files takes up a lot of disk space and are not 21523d827efSSimon L. B. Nielsenneeded for recovery purposes. 21623d827efSSimon L. B. NielsenIf the symbol files are needed, after recovering a system using the 21723d827efSSimon L. B. Nielsenbackup kernel, the 21823d827efSSimon L. B. Nielsen.Cm freebsd-update 21923d827efSSimon L. B. Nielsenrollback command will recreate the symbol files along with the old 22023d827efSSimon L. B. Nielsenkernel. 22148ffe56aSColin Percival.El 22248ffe56aSColin Percival.Sh FILES 22348ffe56aSColin Percival.Bl -tag -width "/etc/freebsd-update.conf" 2242710751bSJoel Dahl.It Pa /etc/freebsd-update.conf 22548ffe56aSColin PercivalDefault location of the 22648ffe56aSColin Percival.Cm freebsd-update 22748ffe56aSColin Percivalconfiguration file. 22848ffe56aSColin Percival.El 22948ffe56aSColin Percival.Sh SEE ALSO 2308167eab9SRuslan Ermilov.Xr sha256 1 , 23148ffe56aSColin Percival.Xr freebsd-update 8 23248ffe56aSColin Percival.Sh AUTHORS 233*a63d6c94SBaptiste Daroussin.An Colin Percival Aq Mt cperciva@FreeBSD.org 234