From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2ERSJ/Y2s2J/DAAAbAwnHQ (envelope-from ) for ; Wed, 22 Jun 2022 17:36:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sBVaJvY2s2JtXgEAG6o9tA (envelope-from ) for ; Wed, 22 Jun 2022 17:36:22 +0200 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 625E73C99A for ; Wed, 22 Jun 2022 17:36:22 +0200 (CEST) Received: from localhost ([::1]:36274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o42Oz-0003pd-Ds for larch@yhetil.org; Wed, 22 Jun 2022 11:36:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o42OX-0003mY-UX for guix-devel@gnu.org; Wed, 22 Jun 2022 11:35:54 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:48946) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o42OM-0008Vm-CZ for guix-devel@gnu.org; Wed, 22 Jun 2022 11:35:51 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 065061ABD7; Wed, 22 Jun 2022 08:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1655912139; bh=IkHjxZUUtV+CktKFvVk7MwCdbzJn0PuHrmHcMdjUDoA=; h=From:To:Subject:In-Reply-To:References:Date:From; b=OwNyyRo2LiIEhBYhniPzzCLi+cuiou6L/ezMSYIaxGVDQxNJv14kGN57OqLeKJtX4 AO0sshER0dyD8jNzlpQGXnebD2Ek+8mCflRMJKQh7nXO5yu9jpPDzFUMpGf96TyKpb xnx+g4PgxaQozDWVDiIZtDgl8W99kPHZuEoeat2EJwxKHPws0c+ZedGureGMwETAWx 6V1b98p6AUoR+aEfI38xuc0h3SYLuf7as2XBuBDOdOooU8xUuXniCxuodDSIhAJz6d VHSNGxZv5hCdb+lMAorL2yG4mzk5rgaHiWa16gVQq3J0hLVTJQORjnjY0bRLzVxiq3 vz1wYvkn0zU6w== From: Vagrant Cascadian To: Zhu Zihao , guix-devel@gnu.org Subject: Re: Time namespace for build sandbox (was Re: Set FORCE_SOURCE_DATE=1 by default) In-Reply-To: <86v8ss681p.fsf@163.com> References: <87bkv0f52g.fsf@contorta> <86v8ss681p.fsf@163.com> Date: Wed, 22 Jun 2022 08:35:34 -0700 Message-ID: <878rpou2wp.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655912182; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=J6M90f2fp8IAYVl7UTL76Ansb41+eV7dCveZWOELKLQ=; b=hK6WIXE3jtHW7Zdq9Vq7QBLHf445E/p7E45bH6mwe/O45y3rD5Rf+whWi9V5AXIh1Yy6OX YJzFpRWilh4TiqBxQ2hiQ/gGPHjw+7mVw9NmPmaW8m/o9z1kNKFmLioM6aq4D62RVhALB5 EZgxR2mi5onnwrSbODZOsPBhqsQrko18EnbjHRZZ30tQR0LMGUi3qwMGdJxVue2gvA9+Np TmVvPLgLUEAIWDGh7qth89ImwBnXFd4S5T+rzNra8NJHtWaS8jnJNjVPiLVQN+8dzTfzk5 12glnbRpTkKvzpp0qOFYD1zT6J3/x9OEf1DITLwyd6+9VtBl2qsWKWiD+3YiIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655912182; a=rsa-sha256; cv=none; b=HVf6u5hhP9ZxKR7jIuEBm/yYmSPW1Jxk40m4HVl7I7IgrVhd+W5IskgCyBCx/yKU55soQN 7UyYR/rHKd/hR/5mDSWewvryiZofirC+fkkHEtIzpEnkkk+LODkLVx6QNNTHi4tkcuTXBR vBnoNBKbCcOFkkefqMUFb907aUN0zfxcNES9s9UxzSNgn1Zd2dujAUZEwK+/WgkBS2wQa1 nT8uiGQ/SUWMWp7bj1Ds+UXNTSNjDsD2PyPo04bCbUu4oiukv/Ov8JjmBSO31WXai3xDpB bOIcrXAlpB6mMlJoXCVmdTPxfFDOazYjYdKiQl+/+Nuk8CajxZs+6//A8ENOmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=OwNyyRo2; dmarc=none; 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" X-Migadu-Spam-Score: -8.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=OwNyyRo2; dmarc=none; 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" X-Migadu-Queue-Id: 625E73C99A X-Spam-Score: -8.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: fWC6h0yKmUhg --=-=-= Content-Type: text/plain On 2022-06-22, Zhu Zihao wrote: > Can we make some experiments on the Linux time namespace for build > sandbox? > > This can mock the real system with our desired value, maybe a good > solution for the reproduciblity on Linux machine. > > Ref: https://man7.org/linux/man-pages/man7/time_namespaces.7.html My understanding is this only affects the time reported by things like "uptime" and not "date" ... would be happy to have it demonstrated otherwise! In theory support could be added in the upstream kernel for the real-time-clock... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYrM2xwAKCRDcUY/If5cW qsFOAQD74ZZHMCBJ6d5Bf1Rz89oQmXvCYqEp9xnhzyoKJ1ewHQEAsE0FBHZOvDPr NqddtdbUzn7umRH+Q5tCp+NPbrw8QQ4= =RoFv -----END PGP SIGNATURE----- --=-=-=--