Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Thu, 19 Oct 2023 23:16:08 UTC
On 19/10/2023 21:26, Tomoaki AOKI wrote:
> On Thu, 19 Oct 2023 19:53:08 +0000
> Miroslav Lachman <000.fbsd@quip.cz> wrote:

[..]

>> It is hackery workaround. freebsd-update must not overwrite user
>> modified files without safe merge of conflicts. yet it did it in the
>> past, for example pf.conf and some other vital files.
>>
>> Kind regards
>> Miroslav Lachman
> 
> I don't think it hackery.
> What should have been is that default sshf_config to be
> in /etc/defaults and /etc/defaults/rc.conf points to it, and anyone
> needs custom settings to create sshd_config in /etc/ssh (or in
> somewhere else), like rc.conf case.

I don't think /etc/ssh/sshd_config is the default not intended to be 
edited. I am on FreeBSD from 4.x times and it was always supposed to be 
modifed by users and was handled by mergemaster or etcupdate. If 
freebsd-update cannot deal with it then it is a bug in freebsd-update.
All in all pre-installed /etc/ssh/sshd_config has almost everything 
commented out because defaults are built in.

Kind regards
Miroslav Lachman