From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UAYKDqzSwGEHtwAAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 19:59:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mC7GCazSwGENegAAB5/wlQ (envelope-from ) for ; Mon, 20 Dec 2021 18:59:56 +0000 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 028C814C99 for ; Mon, 20 Dec 2021 19:59:56 +0100 (CET) Received: from localhost ([::1]:57504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzNt5-0008FP-6G for larch@yhetil.org; Mon, 20 Dec 2021 13:59:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzL4B-0003pz-7s for guix-devel@gnu.org; Mon, 20 Dec 2021 10:59:12 -0500 Received: from mail-41103.protonmail.ch ([185.70.41.103]:37189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzL45-0007bb-H5 for guix-devel@gnu.org; Mon, 20 Dec 2021 10:59:09 -0500 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4JHZqW36h5z4x753 for ; Mon, 20 Dec 2021 10:01:26 +0000 (UTC) Date: Mon, 20 Dec 2021 10:00:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1639994424; bh=ThNEyq7mJjHcm2vwtiAy01tYd6/ljI9JPXH7iDdsO0Q=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=Tt1S757sUIj2+hMoe+UnUmJXBpdIEJDA1n8SYuP/GcIkje/QNffLUcitguZNr1tVu ztO8OK0aVbSBHZRHLIc80aV4XQPVaQXpAlcRCrTfRMOnaGHZDJV1J6nMwq+iiiOekN uahjqUQAiyZFA+8SSFBbXoZx+sbWeJaH019D6JaTSMLo1/9Zw9fujsilErg8sCfFfK KfDBAB29YfcmmlGc0Hav0jfUdmvYSAHK8KoElXxbDT++lpoRW8LWP34dpbHpgiLNfd gMscB7I40kHFKN+DDoiwUWE6kvsjiXyKu7HOO04Mf2GyDGMxO9DbEak9QWAfR+KTfK L13nTnmWutQ8w== To: Nathan Dehnel From: Attila Lendvai Subject: Re: How to test modified shepherd services Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.41.103; envelope-from=attila@lendvai.name; helo=mail-41103.protonmail.ch 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_PASS=-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: , Reply-To: Attila Lendvai Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640026796; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ThNEyq7mJjHcm2vwtiAy01tYd6/ljI9JPXH7iDdsO0Q=; b=ZxgFUBff/RdnqHFxAELXp6m2R/pol94pS/JrZKZPDddQCEYsR9GzXwaOZnN/f5zfztJlDV hfft039KcJCQEV87p3NAZqCWNSoB/zFp4pMn8t4D+ukJY5gjFI74dtOQumzkHKvVUkxQ3G JaKqiuRkuI3+uSNuiGrozWBd0LUBaznTJ52GeE3UaeHzfK29ZKXoj9L6RzQfPiaVczlh7I WWtxX+F8iQpkIphSUTcu5BaHvHAzZX+PrhXSb0WDlgX2qAO7/iig1Z3NFzkPuG0tBd9Gf/ onY26ya2LM6FmNdnKSm5QBZWeD7JpzUGcrViMQR9A8fGiPkM16ykoW6GXPkVcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640026796; a=rsa-sha256; cv=none; b=U8ylrEyBhKrksTCTp9bFxAX/MnOw00P6mOumnw5gqVwlBgRxJ+c1Ifp3xEm0uyRsaQdJ92 IJavkPQa3FNJCYUzn4dZDAleUF45lfhMVfcRrcFFXaKWm1+Lat0DjkOL1G+yEpwsgtSCnD yjtam4nGmmHf8gGNLUsCERmWk+yXa7bpbJ6OYo6wslUJmnJmTwvS3YdNcD2hZgeCync8DY hJkJucOA5rlELO7cZPgeBCQc2hiM8SFG/eZVtNh6SAjaaNpBBM6y5zaJWixLqfWY2tyA01 oGjjILF700B7Wd0vunniSUlswBO1veMhLBdJP9pyfQYaq8bW7GdSXViwFRcUzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=Tt1S757s; 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: -7.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=Tt1S757s; 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: 028C814C99 X-Spam-Score: -7.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1tgPsRgUgNQr i have just finished my first Guix service. for now it's a PR for that othe= r channel, so i'll copy-paste some stuff from it: Run with something like this: $(guix system --no-graphic vm path/to/swarm.scm) -m 2048 $(./pre-inst-env guix system --no-graphic vm /path/to/swarm.scm) -m 2048 this will build and boot an operating-system object in a Qemu VM, in the sa= me terminal. the file should return a simple-operating-system object, optionally wrapped= into a marionette-operating-system if you also want to write/run automated= tests. i'll send you the link to the actual code in a private email. - attila PGP:=C2=A05D5F 45C7 DFCD 0A39