🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #762

Bug#1140618: mmdebstrap: Please support specifying wanted suites

#762
From: Benjamin Drung
Date: Tue, 13 Oct 2026 18:00
81 lines
4989 bytes
On Wed, 2026-10-07 at 12:38 +0200, Johannes Schauer Marin Rodrigues
wrote:
> Hi,
> 
> Quoting Benjamin Drung (2026-06-25 11:10:37)
> > I thought about it. We should handle security.ubuntu.com separately. It might
> > be useful to use resolute-security from the mirror that you specified and
> > have security.ubuntu.com as fallback. So
> > 
> > ```
> > mmdebstrap --suites="%s %s-updates %s-security" resolute resolute.tar http://my.mirror.example/ubuntu
> > ```
> > 
> > would create:
> > 
> > ```
> > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] http://my.mirror.example/ubuntu resolute main
> > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] http://my.mirror.example/ubuntu resolute-updates main
> > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] http://my.mirror.example/ubuntu resolute-security main
> > deb [signed-by="/usr/share/keyrings/ubuntu-archive-keyring.gpg"] http://security.ubuntu.com/ubuntu resolute-security main
> > ```
> > 
> > What do you think?
> 
> is the main purpose of the --suites option with %s placeholders you propose to
> add security mirrors?

No. This request is unrelated to the security mirror. The purpose is to
ease selecting what to use. I have these use cases:

* Build an Ubuntu chroot that is equivalent to the Ubuntu builders for
normal uploads, i.e. have --suites="%s %s-updates %s-proposed" plus the
security pocket.

* Build an Ubuntu chroot for security builds, i.e. have --suites="%s"
plus the security pocket.

Sometimes it's useful to test with the updates pocket enabled, but the
proposed pocket disabled. And some might want to add the backports
pocket.

To reduce the load on http://security.ubuntu.com/ubuntu/ I want to have
the security pocket served by http://security.ubuntu.com/ubuntu/ but
also from my local mirror.

> If mmdebstrap would automatically add security and updates suites for a Ubuntu
> stable release, which use-case for the --suites option would remain and would
> the remaining use-case warrant a new option?

Always adding the updates pocket is not always what users might want.

My proposal would be to make the pockets configurable and always add the
security mirror. So for the modern deb822 format it would be this:

```
Types: deb
URIs: $mirror
Suites: $suites
Components: $components
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: ${series}-security
Components: $components
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
```

-- 
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID: <NNOX8-5j8K-75@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <N9ckh-i9h-13@gated-at.bofh.it> <N9gnT-kWG-5@gated-at.bofh.it> <N9ckh-i9h-13@gated-at.bofh.it> <N9Opz-IEz-3@gated-at.bofh.it> <NLxe1-43RP-5@gated-at.bofh.it> <N9ckh-i9h-13@gated-at.bofh.it> <NLxe1-43RP-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Benjamin Drung <bdrung@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1140618: mmdebstrap: Please support specifying wanted suites
Date: Tue, 13 Oct 2026 20:00:02 +0200
Message-ID: <NNOX8-5j8K-75@gated-at.bofh.it>
References: <N9ckh-i9h-13@gated-at.bofh.it> <N9gnT-kWG-5@gated-at.bofh.it> <N9ckh-i9h-13@gated-at.bofh.it> <N9Opz-IEz-3@gated-at.bofh.it> <NLxe1-43RP-5@gated-at.bofh.it> <N9ckh-i9h-13@gated-at.bofh.it> <NLxe1-43RP-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 17:53:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Benjamin Drung <bdrung@debian.org>, 1140618@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: josch@debian.org
X-Debian-Pr-Message: followup 1140618
X-Debian-Pr-Package: mmdebstrap
X-Debian-Pr-Source: mmdebstrap
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-9 
MIME-Version: 1.0
X-Debian-User: bdrung
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996651
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 81
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 19:03:50 +0200
X-Original-Message-ID: <6b329ac460f2102a4c49cda717c7bdcd1e311193.camel@debian.org>
X-Original-References: <178223225661.801310.1719356904160073656.reportbug@deep-thought>  <178224822957.3262.6449957103811171026@localhost>  <178223225661.801310.1719356904160073656.reportbug@deep-thought>  <6a4cf59b3ffc9c50257444b09c36abc8bead929a.camel@debian.org>  <179136950599.21057.8481700699768482221@localhost> <178223225661.801310.1719356904160073656.reportbug@deep-thought> <179136950599.21057.8481700699768482221@localhost>