From nobody Mon Aug 19 23:48:20 2024 X-Original-To: freebsd-questions@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 4Wnq6n3VD9z5TmMW for ; Mon, 19 Aug 2024 23:48:33 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Wnq6n1Vf1z52pl for ; Mon, 19 Aug 2024 23:48:33 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Authentication-Results: mx1.freebsd.org; none Received: from chombo.houseloki.net (65-100-43-2.dia.static.qwest.net [65.100.43.2]) by echo.brtsvcs.net (Postfix) with ESMTPS id 0F37E38D3F; Mon, 19 Aug 2024 23:48:24 +0000 (UTC) Received: from [10.26.25.100] (ivy.pas.ds.pilgrimaccounting.com [10.26.25.100]) by chombo.houseloki.net (Postfix) with ESMTPSA id 7F1D54ADCD; Mon, 19 Aug 2024 16:48:22 -0700 (PDT) Message-ID: Date: Mon, 19 Aug 2024 16:48:20 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: freebsd-update "No changes have been downloaded" "files have been modified locally" To: freebsd@dreamchaser.org, FreeBSD Mailing List References: Content-Language: en-US From: list_freebsd@bluerosetech.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:2607:f740:c::/48, country:US] X-Rspamd-Queue-Id: 4Wnq6n1Vf1z52pl On 2024-08-19 13:50, Gary Aitken wrote: > Upgrading from 13.2 to 13.3, wanted to install 13.2 security patches first. > Not sure if that's necessary or not. > > freebsd-update fetch > ... > The following files are affected by updates. No changes have > been downloaded, however, because the files have been modified > locally: > /etc/ssh/sshd_config > > Looking at > https://github.com/freebsd/freebsd-src/tree/releng/13.2/etc > there is not even a /etc/ssh director > > Since these are updates to 13.2-RELEASE, I can see why the updated > file wouldn't be in the releng tree, but shouldn't the original be > there? > Where are the sources for the updates, i.e. > Where is the source for the file it wants to install? For Cold War legacy[1] reasons[2], the in-tree copy of sshd_config lives at: src/crypto/openssh/sshd_config 1: https://en.wikipedia.org/wiki/Export_of_cryptography_from_the_United_States 2: https://cgit.freebsd.org/src/tree/crypto/README > I think I don't understand what the releng tree is showing, as it > also lists subdirs root and sendmail which aren't present in 13.2 /etc. > > If I look in > /var/db/etcupdate/current/etc/ssh > I see an sshd_config > > What, exactly, is in the "current" tree? Are these the files prior to > performing an update, so it can be rolled back? /var/db/etcupdate/current contains the most recent reference tree extracted from /usr/src by etcupdate(8). etcupdate uses it to update /etc and a few other bits as part of a source upgrade. It isn't used by freebsd-update, so won't necessarily be correct for the installed OS.