From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEQvD2/4v2HcfgEAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 04:28:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4IDaCm/4v2FfBgAAB5/wlQ (envelope-from ) for ; Mon, 20 Dec 2021 03:28:47 +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 0601A1455A for ; Mon, 20 Dec 2021 04:28:47 +0100 (CET) Received: from localhost ([::1]:42358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz9Lw-0007bG-GB for larch@yhetil.org; Sun, 19 Dec 2021 22:28:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz9LW-0007CQ-0z for guix-devel@gnu.org; Sun, 19 Dec 2021 22:28:18 -0500 Received: from mx1.riseup.net ([198.252.153.129]:55626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz9LU-00050w-4v for guix-devel@gnu.org; Sun, 19 Dec 2021 22:28:17 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4JHQ5p5XXJzF4XZ; Sun, 19 Dec 2021 19:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1639970894; bh=zS/YpXNyemQ5l177mizQ3ZPnReorWWpk2ge5O6fnL84=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sm+2jJD8T86gU+cSlBUuOEYwlPCXhe/vrKMIIM0tAxZYDMScw+bU0Iax0fc+aSGtq i9L3+oXAXrUTIzERoWZeKGaCM3fg/c3E9XGMDm1cLe64m35hXLf5VMLKU1HWoO+vCs CvtixPz5IfSSmJJsRoXxtD+RDz7zTIblS4UtXfk8= X-Riseup-User-ID: AC32E800B58481DDEE36D0706CC6D34970FBF5A171FAD68EF9F781BB941C4C34 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4JHQ5n5Yhlz5vks; Sun, 19 Dec 2021 19:28:13 -0800 (PST) Date: Mon, 20 Dec 2021 04:28:11 +0100 From: raingloom To: Nathan Dehnel Subject: Re: How to test modified shepherd services Message-ID: <20211220042811.0146bf8e@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: , 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=1639970927; h=from:from:sender:sender: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=WSaDOHpb7fEfNedTz/fSPfNAV4BSClu3d73y+ux2f8g=; b=kG3uPhrIMPWgE5fQKNj172tzZE9sT02GJ5hxklflHjeByh19HRN3xz4Ghw0qW25NnqPpLC gUJeLfGw+N5qsfUGFFHgrgf8J8GHmj4eETPekPAS7BAdInUSxWgYD7weZFl7DiKVyWERdd UstAV+l8vMxHF6cn+/BEZLE7CseTyEpcG0jzVb6/6V83tnQKyEIIoqETNzlNlFVGraaMCa pR5/tXZf+lxzDMK6JeYWAJKWJUiSBPQR9VNipajue5SAcP/OPWZMdWNwbF2w6PTFq4ghmz bZsfZIyVEKHDaF6BTRcypvU6CZ6SSbYaD5rx6q0jwdd6xSPCy3xEwCEnBLg0Ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639970927; a=rsa-sha256; cv=none; b=M6bwX72r0d3pKBdWhxSyq24aXjM+dzpP98dwWgI+J8NZ6OS0El5ABxeRNfTIV3+rxMQ6Op +2nDw4zsAe84/uLWMpabIZ0eUiEWbPIVH8HzENQ6PJwulv7lDTPO9zkxHY9aJZDeRbK02M Xr0hIqbyxkBS9drZ7WzYbhLSK8ZL8EYOradqquZdKa3l8ak2ZCT/fx+RWeuYS/zqkQ/pMU sZ/JZgGIbejpw63kWwnVDcCRkniSXHIYpKLrarf3wM6d63r6djGPLfnnok1CDRg11+XfhM RhMFfbTBY1GN9zYMgiCp6RFkGwBPS2Aq8/72vrnEosuFCUCHMXaE44jrGK0mnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=sm+2jJD8; dmarc=pass (policy=none) header.from=riseup.net; 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.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=sm+2jJD8; dmarc=pass (policy=none) header.from=riseup.net; 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: 0601A1455A X-Spam-Score: -7.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: JJy8sVlzGRwF On Sun, 19 Dec 2021 16:47:07 -0600 Nathan Dehnel wrote: > I modified a shepherd service to accept a new field from config.scm > and I was wondering how to test that it works correctly. Do I need to > make a VM from my modified guix repo with pre-inst-env? > That's probably the best way, it's how I was testing the yggdrasil service. Definitely do not reconfigure without first testing it in a VM or container or something. Word of warning: shepherd is not very forthcoming with logs. You might want to add some extra logging and redirect output to a file.