🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #511

Policy for system-wide datasets [was: Re: Scan your system for compromised CA certificates]

#511
From: Enrico Zini
Date: Wed, 18 Nov 2026 09:50
41 lines
3461 bytes
On Tue, Nov 17, 2026 at 12:27:34AM +0100, Andrea Pappacoda wrote:

Note: I agreed with Md's suggestion of splitting trust anchors from
other other system datasets; here I'd like to focus on the latter.

> This is because the yuzu package needs to ship with a custom time zone
> database format into the binary, and it is generated from the tzdata package
> while building.
> 
> Such scenario is still not ideal, but can be easily dealt with through a
> binNMU. Having a source package ship its own database instead is way more
> problematic in my opinion.

I had a quick look. Would it in theory be possible to, say, ship tzdb2nx
in /usr/lib, and build it on the user's system?

This looks to me like a case for a tzdata dpkg trigger


> If we want to only disallow "custom" database shipped in source package,
> then wording of the policy should be clearer about that. Something like:
> 
>    Packages should not make use of their own version of such databases
> without a good reason
> 
> Which:
> 
> - Allows packages to ship their own copies, but not use them
> - Does not explicitly disallow copies of the system-wide datasets
> (Postfix's chroot also comes to mind), unless they are different from  the
> system ones

This seems to go on the direction of prescribing that packages that need
to maintain a copy of a system-wide dataset should take actions to keep
their copy up to date when the system version changes.


Enrico

-- 
GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enrico@enricozini.org>
Technical Details
Message-ID: <O0KsF-cEnt-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NZMdc-c58b-7@gated-at.bofh.it> <NZN9f-c5H1-1@gated-at.bofh.it> <NZOI2-c6NW-11@gated-at.bofh.it> <O0bEB-cjPk-9@gated-at.bofh.it> <O0ej7-clnD-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Enrico Zini <enrico@enricozini.org>
Newsgroups: linux.debian.devel
Subject: Policy for system-wide datasets [was: Re: Scan your system for  compromised CA certificates]
Date: Wed, 18 Nov 2026 10:50:01 +0100
Message-ID: <O0KsF-cEnt-11@gated-at.bofh.it>
References: <NZMdc-c58b-7@gated-at.bofh.it> <NZN9f-c5H1-1@gated-at.bofh.it> <NZOI2-c6NW-11@gated-at.bofh.it> <O0bEB-cjPk-9@gated-at.bofh.it> <O0ej7-clnD-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Wed Nov 18 09:45:47 2026
Old-Return-Path: <enrico@ezini.eu>
X-Amavis-Spam-Status: No, score=-1.751 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249] autolearn=no autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373250
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/av1znh61cq0Fm_2Y@ezini.eu
Approved: robomod@news.nic.it
Lines: 41
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-devel@lists.debian.org
X-Original-Date: Wed, 18 Nov 2026 10:45:02 +0100
X-Original-Message-ID: <av1znh61cq0Fm_2Y@ezini.eu>
X-Original-References: <avnrRnhY_Xs-cU_l@ezini.eu>
 <E1xSesr-000000069XA-3dKo@mail.einval.com>
 <avoQo6IJITF4JWKI@bongo.bofh.it>
 <avtoE9kGceGBEtIU@ezini.eu>
 <DMX0WEXO6V7G.305XRVQB2G1WR@pappacoda.it>