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 ms9.migadu.com with LMTPS id YGnnJn+4a2TowAAASxT56A (envelope-from ) for ; Mon, 22 May 2023 20:46:23 +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 aFMoJn+4a2QQKQEAG6o9tA (envelope-from ) for ; Mon, 22 May 2023 20:46:23 +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 4B958FEDD for ; Mon, 22 May 2023 20:46:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1ADE-0003gj-IP; Mon, 22 May 2023 14:24:52 -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 1q12E4-0003kV-Ao for help-guix@gnu.org; Mon, 22 May 2023 05:53:12 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q12E2-0006Gt-Jc for help-guix@gnu.org; Mon, 22 May 2023 05:53:12 -0400 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2535edae73cso3934317a91.2 for ; Mon, 22 May 2023 02:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684749188; x=1687341188; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=gQRAhdaca0fgM6CzFpU8Qdsv1ahA9y3BL3Ky7UwQ4Qo=; b=Q4GAsjkE526hOxXnimZC8doYHhCScPQ8lf+rkFhRD/faquGVmWTeQMHrr9rWWMZa7P 2p5CFS3Pvy/pUQ/fsJvFT+bz7vUjzrejxVVMIbIWPI4RT6o0GQHhspXojotvD3olvKwE JRJXV27MOzz89vt4vP7d2zEa2/o+wZLD592P2q5HugBJ9P0XeUBY8g6imrp6q8XXdV5P oEn19DUGIsLaH7yq0tuMKC4RZUmd67XefnKOKCZtxg2Lrh2bkEpkA6swbIi0Nvyxz93r uwcokVudFez0hYMWHhcpQpK3+ksridny8nOtyb0I1IqrA0nbiT5aRewM4pZOtTX1E/d+ XD1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684749188; x=1687341188; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gQRAhdaca0fgM6CzFpU8Qdsv1ahA9y3BL3Ky7UwQ4Qo=; b=G8rQI0eitwL8ixjZtYVnZmNr9Sxiq0zvv585t3ln1HW1Tyjn++El90z5tscpdFO/5G hYdGpLlFODgBFzVBJ+LJyqVVpO9fV9WXq25RRpoBL2xfNnkg0d/xKnrtNm0Pv6Ylmluf I45n4H255Bjr1VSoGBT5ezIjSCxRynOtxDo23hef5XucMhV2XCYlZd5wV6TjF6MC6Utj FlY/CE6nyLbalHXfa7Sb52cCrjqqsunHI/KZiwZfK1Bo4b8JDGESV8HtMBIUCaF9Jef2 BY6Z5KMl775oV6LVyf7SzYRo6qNP/aUEpJCOS1qoFoBddLFd/VUc8LKm/eTzHE5FrHcN Cgyg== X-Gm-Message-State: AC+VfDx43Ka+zIGqkbQj8ADfMEQpe3ROY9LvK6PgGfrZhG+7RrWAjfbK PR1QJ+eACRt5Wa3Wz008eHHr5y8yJruBGxDRQwlfgrK7W5pstw== X-Google-Smtp-Source: ACHHUZ54zowdsq3uy2x8ZvqvUI7oTiAxeVuAl9LwA4TKzu4dJ26+nKek182GKH8KKGc9ENRhgTMwBzIgXqJtKLu98aA= X-Received: by 2002:a17:90a:4298:b0:253:629e:dc3b with SMTP id p24-20020a17090a429800b00253629edc3bmr9881067pjg.44.1684749188319; Mon, 22 May 2023 02:53:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Hafeez Bana Date: Mon, 22 May 2023 10:52:56 +0100 Message-ID: Subject: Re: Guix questions on sharing developer envs To: help-guix Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=hafeez.bana@gmail.com; helo=mail-pj1-x102e.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 May 2023 14:24:51 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684781183; a=rsa-sha256; cv=none; b=ZrEWFGqSL51+S5u4JDxz4Old2U6Maha6DJh9qZefzTh6w2xngkTuZ/qu4ys4I7r8M4t2q5 3TOrsSXuH7MhDEN4COWiVlk+xmt++PRAMRdZEtAAth4mDICkkijX9M7JxLdESe2Fkprt0V Hm2fOSumDz5mdIpNNdmFH8AYZYQujX2tN0j5rA+iUKw30nFVit4CeKWnQd0HRch08Je5FQ befyfO94dMZVUTUCgV2pCghrJAAgFgv6yTVN0hE/9/1j9HN4p36//BSllVs+fJxx98MoSV 2MNkPWq3HKo+vIHijvy/1Rw7eIYfa9ICg6cJ6ij2kQWuos6KvhLmjf3fWZBmQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=Q4GAsjkE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684781183; 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=1CwWsXPrpFWyOyhvqCz878iFtd7mN000h01B8bGkzww=; b=Pn8/VubEJRxBO8SW/P9xHq43OMkEjrKArAZlBoVyKqFzPtWEpQymhNhAU04d6lDgh5deh3 cCCW/jaU+0xQrm+zwSl5yTWAHdklpX85zCat6JiOwwi2kxWi4K8eP+3seNxBfmtkuhkopz tDDptY77UXpybQmFNqRXhlIbXef12OacaeK+yNBHT73UIH6vvVVKLxUMc97q7bS5HWp72h b8Vc1bnvpLv8v5RAbspI0wLgNlEbhaSUFek5Qq5Eqcp5oZDmnkOKsjG+v7MZH4V0f6MW7V m8/DMXFBrujPTYHVhCsU6PuHjFNOGqF/QiLBC+WhDltw8C0YlxnGrdqnkjiRyw== X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: 4B958FEDD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=Q4GAsjkE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: neATxtSuKEra Any takers? I meant XDG above. On Sat, May 20, 2023 at 2:52=E2=80=AFPM Hafeez Bana = wrote: > Hi, > > I am planning to use guix for sharing dev environments under non-root uni= x > accounts across developers. > > These environment run services like mysql, a webserver etc. Installing > such software is trivial. What is the best practice for running this > software? A couple of pointed questions > > 1) What is the best/accepted way to store configuration and state data fo= r > such services? It the XFG format applicable? > 2) If a package ships with a set of starting configs/state data which a > developer can use to bootstrap and modify his setup. What is the best way > to 'initialize this config/state'? Is just a link to the GNU-store enough > 3) What is the best way to run long lived (aka outside a shell) services > running services based around this software? > > I've already asked this question in a round about way. Some people have > pointed to existing configs - but these are for running whole systems in = a > container. I need something a developer can bootstrap into and modify tha= t > could eventually run as a container in a prod env. > > Thanks, > Hafeez >