Article View: linux.debian.bugs.dist
Article #7526Bug#1110930: Add NEWS item for removal of /etc/sysctl.conf
From: Vincent Lefevre
Date: Sat, 05 Dec 2026 00:50
Date: Sat, 05 Dec 2026 00:50
48 lines
4125 bytes
4125 bytes
On 2026-12-04 18:40:42 -0500, Ryan Scodari wrote: > I'd like to add another data point to this bug, because in my case the > silent removal of /etc/sysctl.conf had security consequences, not just > functional ones. This was also my case. Note that this file was no longer read directly, but via the /etc/sysctl.d/99-sysctl.conf symlink to this file from systemd. On my bookworm machine: lrwxrwxrwx 1 root root 14 2026-04-27 21:48:55 /etc/sysctl.d/99-sysctl.conf -> ../sysctl.conf > So I'd like to ask for two things: > > 1. A NEWS.Debian entry (debian/procps.NEWS) for the removal, so that > apt-listchanges shows it before the upgrade proceeds. This is still > useful: many bookworm systems have not been upgraded yet. This first part of the breakage is that systemd *unconditionally* removes the above symlink: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077184 > 2. Ideally, a check in the maintainer scripts. When the old > /etc/sysctl.conf contains any non-comment, non-blank lines, either > migrate them (e.g. to /etc/sysctl.d/99-sysctl.conf) or show a > debconf warning that those settings will no longer be applied at > boot. Renaming a file with active settings to .dpkg-bak means > settings that used to take effect at boot silently stop applying, > and some of them, like disable_ipv6, are security controls. If systemd has already removed the /etc/sysctl.d/99-sysctl.conf symlink, procps has no way to know that /etc/sysctl.conf was still used (for instance, the admin may have removed this symlink earlier in the past). In such a case, migrating any config from this file would be incorrect. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110930#15 In order to allow a proper migration, systemd shouldn't have removed a non-dangling symlink. -- Vincent Lefรจvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Technical Details
Message-ID:
<O6M8p-g2ay-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<LiZq9-725o-7@gated-at.bofh.it> <O6M8p-g2ay-3@gated-at.bofh.it> <LiZq9-725o-7@gated-at.bofh.it> <O6M8p-g2ay-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Vincent Lefevre <vincent@vinc17.net> Newsgroups: linux.debian.bugs.dist Subject: Bug#1110930: Add NEWS item for removal of /etc/sysctl.conf Date: Sat, 05 Dec 2026 01:50:01 +0100 Message-ID: <O6M8p-g2ay-1@gated-at.bofh.it> References: <LiZq9-725o-7@gated-at.bofh.it> <O6M8p-g2ay-3@gated-at.bofh.it> <LiZq9-725o-7@gated-at.bofh.it> <O6M8p-g2ay-3@gated-at.bofh.it> X-Original-To: Ryan Scodari <andocromn@gmail.com>, 1110930@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Dec 5 00:41:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Vincent Lefevre <vincent@vinc17.net>, 1110930@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: csmall@debian.org X-Debian-Pr-Message: followup 1110930 X-Debian-Pr-Package: procps X-Debian-Pr-Source: procps MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.4.3+80 (31d45f3e) vl-188789 (2026-11-27) X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2007051 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 5 Dec 2026 01:39:16 +0100 X-Original-Message-ID: <20261205003916.GH187349@qaa.vinc17.org> X-Original-References: <175501328683.2139.10490171494456710616.reportbug@station-mk1> <CACMwhS3Wp=Mrjx6XY5phoOWeEQWAfX1ZzApc7QR1MhyyoXozmg@mail.gmail.com> <175501328683.2139.10490171494456710616.reportbug@station-mk1> <CACMwhS3Wp=Mrjx6XY5phoOWeEQWAfX1ZzApc7QR1MhyyoXozmg@mail.gmail.com>