On Fri, Jun 20, 2025 at 11:42:53AM -0400, The Wanderer wrote: > On 2025-06-20 at 11:30, tomas@tuxteam.de wrote: > > > On Fri, Jun 20, 2025 at 11:06:51AM -0400, Jeffrey Walton wrote: > > >> You will absolutely lose your sshd_config when the package is > >> upgraded and you choose the maintainers version of the file. > > > > No. > > > > You will be asked, as for every conffile. > > That's why he said "and you choose the maintainer's version of the > file". [...] > Personally, what I do in response to such a prompt is to have it show me > a diff of the two files, and then if the changes involve losing any > settings want to retain, I have it give me a shell prompt (or use > another shell I have independently) to make a copy of the existing file. > I then let it install the maintainer's version, diff the old version > against that separately, and immediately use that diff as the basis for > editing the newly-installed maintainer's version to include the changes > I want to keep. That's exactly what I do, too. My take is, *if* you, as admin, feel confident enough to change conf files, you should be able to understand a diff and know what to do. It doesn't happen *that* often. Cheers -- t
Attachment:
signature.asc
Description: PGP signature