retitle -1 changed /etc/sysctl.conf should not be deleted on upgrade On Mon, 18 Aug 2025 at 22:13, Samuel Plavec <[email protected]> wrote:
> The sysctl.conf(5) manpage from the package procps does not mention > that /etc/sysctl.conf is automatically removed on upgrade, nor does it > mention that /etc/sysctl.conf is no longer listed as a configuration > file. For more information, see > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110184#45. > These are three different things which made working out what the actual issue is more difficult. /etc/sysctl.conf automatically removed on upgrade This seems a quirk of how the Debian configuration file handling works. It should have been removed if not changed (i.e it is the one that was shipped last with the package), but it seems that's not the case. This is the actual (and only in this context) bug. It's going to be a pain, because deb-conffiles is extremely unhelpful for corner-cases like this. /etc/sysctl.conf not a configuration file I'm not even sure what this means. If that file exists, sysctl will read it. it's not longer a conffile which is a configuration file handled by the debian packaging infrastructure. Update sysctl.conf(5) The man page is correct in that if a /etc/sysctl.conf exists, then it is read. It is a valid configuration file for sysctl. - Craig

