From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AKUKGfOs7WZ2MAEAqHPOHw:P1 (envelope-from ) for ; Fri, 20 Sep 2024 17:12:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AKUKGfOs7WZ2MAEAqHPOHw (envelope-from ) for ; Fri, 20 Sep 2024 19:12:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lBERIqOS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726852339; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/E7bvb3UWDahiitsRVFtp614x/Wp/EI3xfih3osTl5g=; b=cSm6oQfmfudDSt+Aaa19wDiKJjIdK6lsO5Xb0CfxFCgIcDNuGBAXs2omTLL/2JE9DBhYHY r21mCp7blddbmBZG0AZw3FK+U/cNShZyvUBIz36BsGAFCeOsQs7+Hlf7TrBj2o/T+delIo nbX0zpI/CnOG5/amOojQuXKp0pNHaLwnAodFQYfCQdkbfdj+V74DHsNnH39+zGCMy/gcZ8 oLdheYsoK9TIuUzJfG9FWiCDZuoSTuBziHmb1apMl5Omd522yy96okuLcmz5jHx+BuYRbA Ma+Um7UgRP/0PBQdqdFPE5H0MqObguGmw9emgll5cdRn0n9MqREMKRW9K97Png== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726852339; a=rsa-sha256; cv=none; b=bqeM6EdfM00dr8hzuvnYYwjIiI1HOMS6Hch5Mekt3bNmz7P9tVrhm1uCmjC/6GjK3VSOro zej1P2ntOG500DBpe/DUItRWvcjuI6nxBlZpRK9pMtdlGqYqJyV1njlhiCu6o2V4nB7mvB MknRg3OS/n0bG4ZU1kVV+0Z2LUrhzAepFA2xk0Wo6u2Oo8piJC4hGaiazvBQm2OZr2Kr+Z BNY0S/dn/oKqFAf4fEnsQ2b0d1Gb+ByEta41Qg/SEolAuHu24PTnpTvKQoufhmFK9V2L3F EMYQgV3D86SRBoAbpA3cGqeOVSeG3plWaQ92gVaduwcfQrblAoCOr9/DfTJsVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lBERIqOS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30DF45E4DE for ; Fri, 20 Sep 2024 19:12:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srhAX-0005W3-Md; Fri, 20 Sep 2024 13:11:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srhAW-0005S2-ML for guix-devel@gnu.org; Fri, 20 Sep 2024 13:11:44 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srhAT-0004ha-IX for guix-devel@gnu.org; Fri, 20 Sep 2024 13:11:44 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-374ba78f192so1612180f8f.3 for ; Fri, 20 Sep 2024 10:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726852300; x=1727457100; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=/E7bvb3UWDahiitsRVFtp614x/Wp/EI3xfih3osTl5g=; b=lBERIqOSQqh6P1GU1Qk7f+8Rvq5tVEo/m2pYiaONukY5DAGYC7LEBVXL0kXVEbmbnG 9w0fMq8yFb58Aq4ImAWRtsZeWtm3q/m9OwYMckomhHUsFyJDBlOekQXQert4zsGmExFu aZXs8QVOVKKQVI5tKKjwVOL47P9s8sszy9LCKnGxZspU7I7pW9nswslVgm1Z1AhkOPRx zLRXFWpdGe/T3uHKnn2Ls7NwEkmKAz+LMx8V1zpuRH06H0A1cRo2zk1CggiJsu6k6+vL NVDbeIYdMXHrTL7o/DBnvU/TPrGPs+1PEg9BjpERdCbGd8lzxreAick6IiXtsKxeSaKZ BcUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726852300; x=1727457100; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=/E7bvb3UWDahiitsRVFtp614x/Wp/EI3xfih3osTl5g=; b=JtGMIJZRLEQw3Cx42b3G6uEwQGHV+sB9d1PL0YLvdmFsiZvu1RwZA/vKwNUMDSVWwV /pVBYhmo3RSCG7I7tp5sAbxsThJQE+GxzTWEJgIlDl+avPIspKoEMPykN7OBJq3I1pcA MTl21uJV8X4tk7JyVuO0ecEw7N5jOW/R/2NFmqAjMDzP1qOd+5xgsCvdlplLGub+ai5l WW6e4wMxMMsfQqKoed+orjvaP+i0z/W+h3nr6dFKWeMKyyoOd6Pz/5pxPjAxaSo8s4/N GYz4Zx4JGHy13y7pe/ontW6I4pCUeRQY50IUtJs1Xig8fhQV9hJdxNztknDYdzYDcf5U PYIQ== X-Forwarded-Encrypted: i=1; AJvYcCV716CdaYLAMIrhkdohrs4MbTpaJ0O+an1xFyMO4JSpF0Be497VhhV5h1C9IC/oDLWAAm3XtO/Rp2qN@gnu.org X-Gm-Message-State: AOJu0Yx6o0aWAi2p7OlWi4c0hsDRqpDhhu67DhQkggxUbpy8CWzYlsJ5 uc9SfArjtgrcyC1zifiEoot1MnLDO1klT+0G7hoJYBSNZIUjRVAG8guq2A== X-Google-Smtp-Source: AGHT+IH0uDXsw9Y3nBrcjd+fybal+bIg62rd/5pO3G6bpoW2j+F38Xpab0cCVp1uBxysFFNEmofpmg== X-Received: by 2002:adf:ea8b:0:b0:378:fd4a:b9c7 with SMTP id ffacd0b85a97d-37a4319d5d4mr1628405f8f.58.1726852299715; Fri, 20 Sep 2024 10:11:39 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73e8388sm18154684f8f.32.2024.09.20.10.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 10:11:39 -0700 (PDT) From: Simon Tournier To: Konrad Hinsen , Guix Devel Subject: Re: Are Guix-generated Docker images reproducible? In-Reply-To: References: Date: Fri, 20 Sep 2024 18:55:49 +0200 Message-ID: <87ed5es1re.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.60 X-Spam-Score: -4.60 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 30DF45E4DE X-TUID: q3vJJPEqHU+I Hi Konrad, On lun., 16 sept. 2024 at 13:27, Konrad Hinsen = wrote: > Suppose you do > > guix time-machine --channels=3Dchannels.scm -- \ > pack --format=3Ddocker --manifest=3Dmanifest.scm > > You keep a copy of channels.scm and manifest.scm, and run the same > command a few months (and "guix pull"s) later, can you expect to get the > exact same Docker image file, bit for bit? If not, why not? That=E2=80=99s the idea but as noticed in the thread, there is still some roadblocks to have a bullet-proof machinery. FWIW, we can go a bit further and ask: if the binary Docker image had been produced by Guix, and that=E2=80=99s all we have, are we still able to= know exactly how it had been produced? And thus rebuild it bit-to-bit? One step in this direction is explained in this post: https://hpc.guix.info/blog/2021/10/when-docker-images-become-fixed-point/ And the other steps are the ones noticed. ;-) Cheers, simon