public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: ydirson@free.fr
To: Henning Schild <henning.schild@siemens.com>
Cc: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: isar-bootstrap
Date: Tue, 26 Oct 2021 23:28:35 +0200 (CEST)	[thread overview]
Message-ID: <1548129620.1347950321.1635283715616.JavaMail.root@zimbra39-e7> (raw)
In-Reply-To: <20211026231545.74e85f5d@md1za8fc.ad001.siemens.net>



----- Mail original -----
> De: "Henning Schild" <henning.schild@siemens.com>
> À: ydirson@free.fr
> Cc: "Anton Mikanovich" <amikan@ilbers.de>, isar-users@googlegroups.com
> Envoyé: Mardi 26 Octobre 2021 23:15:45
> Objet: Re: isar-bootstrap
> 
> Am Tue, 26 Oct 2021 22:48:53 +0200 (CEST)
> schrieb ydirson@free.fr:
> 
> > > For the download Isar goes the pragmatic way and lets debian
> > > fetch
> > > what
> > > it wants. With a few exceptions ... i.e. there is only one
> > > "global
> > > apt-get update" so you have to hope that you can apt-get install
> > > what that initial run created your external database for. In
> > > practice that does not fail too ofter ... or you have to clean
> > > build again.
> > > 
> > > If you really need to pin debian down to what it fetches, because
> > > for some reason (like repro build) you need your own mirror. In
> > > fact Isar spits out a partial debian mirror after an "online"
> > > build
> > > (base-apt). That can be used for consecutive offline builds, or
> > > as
> > > a base for consecutive "online" builds with custom
> > > DISTRO_APT_SOURCES.
> > > 
> > > While snapshots.debian.org can be used as DISTRO_APT_SOURCES
> > > mirror
> > > in
> > > theory ... in practice it has rate-limiting in place. So you
> > > might
> > > succeed in a manual build that you retry over and over (or a
> > > small
> > > image), but in CI without caching ... you will never get a big
> > > image
> > > to
> > > build. That rate-limiting issue will need to be discussed with
> > > snapshots, we are not the first ones to have issues with it.
> > > But i personally would tell people to simply not freeze if they
> > > can,
> > > and the ones that need to freeze i would in fact tell to get a
> > > full
> > > debian mirror of their own, instead of a partial one produced by
> > > isars
> > > base-apt.
> > > As an OSS project you might see less of a need of freezing,
> > > tracking
> > > in
> > > fact is a security feature ... and debian will not do much more
> > > than
> > > security on their stable distros.
> > 
> > This is more of a concern for reproducibility of the build process
> > at package level.  Probably this was not published very widely, but
> > there has been work on Debian package reproducibility in the
> > context
> > of Qubes already, including a solution to the snapshots.d.o
> > problem:
> > 
> > https://forum.qubes-os.org/t/reproducible-builds-for-debian-a-big-step-forward/6800
> 
> Cool stuff! I will give that service a try and look into where the
> tool
> debrebuild comes into play. A tool that might in itself add some
> value.
> 
> But to me it all seems like a workaround of the rate-limiting on
> snapshots. A problem that can maybe be solved with funding, in case
> it
> is a cost-problem. In Siemens people end up with their own
> implementations of snapshots, which in sum likely costs more than
> funding the real one for public non-limited use (together with other
> stakeholders).
> Still getting funding right and stable might be harder than any
> costly
> workaround downstream.
> I think i also heard trust arguments against snapshots, but those
> might
> just be pointless. Even if it is not-Debian (is it?) there will be
> gpg
> in place,

Yes it is started as an independent service (from a DD, as snapshots.debian.net)
but has been an official one for some time now.
And it hosts the original Debian-signed indices, so that's just
"trusting Debian" at all levels.

> but then you still need to trust that you get what you
> asked
> for because if a snapshot holds back a security update gpg would not
> be
> able to tell.
> 
> But yes, good stuff! I bet that can be used in Isar somehow, but
> maybe
> only in your layers. You might not want the load from others on your
> infra. And the amd64 limitation is kind of severe. We have arm64
> becoming more and more relevant and even riscv working for early
> prototypes. And i686 and arm32 floating around in places for some
> time
> to be maintained.

Well, that limitation I guess is mostly that it's the only arch used in
Qubes today, I assume it should work with other archs too, as long as
someone funds a server :)

  reply	other threads:[~2021-10-26 21:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1723895297.1343656873.1635201406531.JavaMail.root@zimbra39-e7>
2021-10-25 23:33 ` isar-bootstrap ydirson
2021-10-26  7:44   ` isar-bootstrap Henning Schild
2021-10-26 18:58     ` isar-bootstrap ydirson
2021-10-26 19:44       ` isar-bootstrap Henning Schild
2021-10-26 20:48         ` isar-bootstrap ydirson
2021-10-26 21:15           ` isar-bootstrap Henning Schild
2021-10-26 21:28             ` ydirson [this message]
2021-10-28  5:44             ` isar-bootstrap Jan Kiszka
2021-10-26  9:00   ` isar-bootstrap Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1548129620.1347950321.1635283715616.JavaMail.root@zimbra39-e7 \
    --to=ydirson@free.fr \
    --cc=amikan@ilbers.de \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox