🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.boot
Article #181

Bug#1151671: debian-installer: copying udeb CAs to /usr/local keeps removed root CAs trusted

#181
From: Max Vozeler
Date: Mon, 23 Nov 2026 11:40
49 lines
4858 bytes
Hi Cyril,

On Mon, Nov 23, 2026 at 10:39:11AM +0100, Cyril Brulebois wrote:
> My current preference would be something along those lines:
>  - Introduce whatever changes we want in unstable/testing to make the
>    situation and implementation clearer in the future (Pascal's proposal),
>    also making sure to update documentation as needed, and also some code
>    (see SSL_CERTS in src:debian-installer).
>  - Minimally-patch the stable installer to avoid this issue, without
>    changing anything else.

> Seeing how build/Makefile and other helpers routinely use `dpkg-deb
> --info`, I don't think it would be crazy to use `dpkg-deb --contents` to
> obtain the list of files shipped by ca-certificates-udeb and generate a
> file to be picked up for a final cleanup.

Agreed, it seems worth the effort and added complexity to avoid the
change in behaviour in stable. FWIW, my preseeding setup would have been
broken by and needed adjustment for the "proper" fix.

> I'm fine with looking into implementing this.
> 
> To be clear, I'm absolutely not meaning to insist on what was my initial
> reaction, but at least Steve was thinking the same way, Pascal mentioned
> we would have to be careful and keep track of ca-certificates-udeb files,
> which this approach would address (not sure yet whether filenames are
> sufficient or whether we should look the contents as well; I think the
> former may be good enough)… and if that makes sense to everyone, we
> would hit the pause button on Pascal's MR for now, deploy the changes to
> src:debian-installer's git repository which would make them testable via
> daily builds (even if a release is long overdue, and on my short term
> list, but that's another story), together with an updated base-installer
> package.
> 
> That would resolve the “unstable/testing versus stable” divergence (the
> former via daily builds and/or via an actual release), and once the hotfix
> is confirmed and backported to stable, Pascal's MR can be merged on top of
> it, and the hotfix can be phased out (at the same time or later, combining
> both shouldn't hurt).
> 
> Does that make sense?

It does to me. Happy to help test/review any changes.

I'll focus on completing the work on ca-certificates postinst to clean
up existing installations.

Best regards,
Max
Technical Details
Message-ID: <O2AyR-dEXa-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NR8wh-7geS-1@gated-at.bofh.it> <NU3Tr-8TFI-1@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2dCh-dssN-5@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2xrj-dDg5-3@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2ydH-dDK1-5@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2yQp-dDZz-1@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2yQp-dDZz-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Max Vozeler <xam@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.boot
Subject: Bug#1151671: debian-installer: copying udeb CAs to /usr/local keeps removed root CAs trusted
Date: Mon, 23 Nov 2026 12:40:01 +0100
Message-ID: <O2AyR-dEXa-5@gated-at.bofh.it>
References: <NR8wh-7geS-1@gated-at.bofh.it> <NU3Tr-8TFI-1@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2dCh-dssN-5@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2xrj-dDg5-3@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2ydH-dDK1-5@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2yQp-dDZz-1@gated-at.bofh.it> <NR8wh-7geS-1@gated-at.bofh.it> <O2yQp-dDZz-1@gated-at.bofh.it>
X-Original-To: Cyril Brulebois <kibi@debian.org>, 1151671@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 23 11:33:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Max Vozeler <xam@debian.org>, 1151671@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-boot@lists.debian.org
X-Debian-Pr-Message: followup 1151671
X-Debian-Pr-Package: debian-installer
X-Debian-Pr-Keywords: patch security
X-Debian-Pr-Source: debian-installer
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004406
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 49
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 23 Nov 2026 12:24:06 +0100
X-Original-Message-ID: <awQiVumCF8VdQcbp@dp.vpn.hinterhof.net>
X-Original-References: <atp-HCgA7n5xKZmL@layer-acht.org> <e1036617-3022-4583-92cf-70926cd4b8ab@plouf.fr.eu.org> <atp-HCgA7n5xKZmL@layer-acht.org> <1b1ca2f7-4278-4dec-a6b2-fbf2af831d82@plouf.fr.eu.org> <atp-HCgA7n5xKZmL@layer-acht.org> <awP05GEjQzcl0ez_@dp.vpn.hinterhof.net> <atp-HCgA7n5xKZmL@layer-acht.org> <20261123084538.GC1120133@mraw.org> <atp-HCgA7n5xKZmL@layer-acht.org> <20261123091521.GE1120133@mraw.org> <atp-HCgA7n5xKZmL@layer-acht.org> <20261123091521.GE1120133@mraw.org>