From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gJeCFe+xJmViTAAAauVa8A:P1 (envelope-from ) for ; Wed, 11 Oct 2023 16:32:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gJeCFe+xJmViTAAAauVa8A (envelope-from ) for ; Wed, 11 Oct 2023 16:32:15 +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 4710F4619F for ; Wed, 11 Oct 2023 16:32:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FeMkmDBp; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697034735; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rcqDMd9BExg2uTCNY00k4jpLqrl1/mxd4fL11kAKBfg=; b=tc74g0AtMTj8hjsbomtGj0H+N/RnEsEzeg8j3+3Clhyix2+CiMb39xR2G85N/+1JGAyxFo x6xue4SoswD4972Y9JnubP0EcVMziOCWeCITbUPMzFbyadu+1qhnh8JrcQz93rWhJHDrJt aI7lugrrYIughCHm8llyyRJ+o7CyDbRdg7JPyYyYUb2kjIbsyj9Wl2zBKGSJ2Ta7UtqWOZ 60HZkQLruB8QJKmQQkFDogS3Gmix3tnCHAjwxn7g1eiggtNOkTGDlhxixeiFoevR5qWS3M 3AXfvK37isb1qsL69tXrJBEwpis14M1QSXHUEUevwxZR6AalBjn9ZE4a0wt6sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FeMkmDBp; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697034735; a=rsa-sha256; cv=none; b=OGLy3UBb8mzZnUlurybtvI/UiH6h+W6N01pVs++EBUQ2Zq62F0xbk/ZTuJbSR9c+XXdLWt n/ad84U2gYdfvMGAimTNKgX1UdflHguoO0WZV0+HIJ814xm5/55s4TJ/7/DSWKa8ya2mkl gKpGyl02Z4l3ySD+5LN3fcr0quctaL17WCs1oMj23L3Yb3no8LStRZil058gvZz/TDC+rN MWOHW/tYDpBzJqlT0HrDKgS/ytQag2QDi9f/JDIHx9cfpc4e7cvnTCecFUb+4EOzR+/+Rk f/R32MjTu4qeB2JO2xdzuSCrxyItd8f+VvwOT2ox3SIW8VvmRjVBoKYUUZfZ7g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqaFI-0004nO-3S; Wed, 11 Oct 2023 10:31:32 -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 1qqaF9-0004kD-IS for help-guix@gnu.org; Wed, 11 Oct 2023 10:31:27 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqaF6-0004Ky-Jp for help-guix@gnu.org; Wed, 11 Oct 2023 10:31:23 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-32d8b14ff31so19792f8f.0 for ; Wed, 11 Oct 2023 07:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697034678; x=1697639478; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rcqDMd9BExg2uTCNY00k4jpLqrl1/mxd4fL11kAKBfg=; b=FeMkmDBpPcBarpV1BAMjs1bhee4Fp70pyOlajjQoN+yH0z/LrYgG8p/dlPvIlTOW+O 2tmGCmjvyg2PN2PiStRzwoIi3TjsahKj4Zqg6b1y1IA68g3Psr8N6Qy4PtcUc/tIPqe2 f7f0fH+GHER7fvH2bJSyIs1BGpmZ9ttPoAMjWpU/DnWh7mDVtCi1KAbhPqryI1RQkqG6 z4CmgXr1IrFo/mwHbC51pjjoNCNb1HK3oBuprhJrKQpa951vIrDbhx6EwDBKSjxiKCfD OMOv2x69dw8Jr0lIEbzr8S7NLxViobfIPQpt1yAebpbrIUexkKYnDy7HEGh/hRVjzRUS JoGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697034678; x=1697639478; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rcqDMd9BExg2uTCNY00k4jpLqrl1/mxd4fL11kAKBfg=; b=AR1Etnu6iwKIfdSxP9Voe9fBNYOMpSLIh7eRrvxtSqFumqr3y0yY17dJFCKdq89fxs lYJ8FMMHZMwQ2g6pECDOYqSyPCpd9p5ZT1Y+KWAxUE5FNRtT4syRAg91UshVMJwbDt4A 6uuG+2zZZWpsp4CrPEEbaM2x/PJ/5KdkHpHJvESBW3GuIpQldVrzuoMsEjejtpUIGT74 IG4V8wt32FwCk5i75dUTA/oq5Ai/sYEmAJnQ0zYEechU+xr0WR6tV4VHZejzj+T3uD8T hwrJJfngeydfQrvIu00GpsDvkkIFVevHiBTlZhseueWsTv+fbqKtZhLKKv7ztEjsdcjP ct7A== X-Gm-Message-State: AOJu0YzYlK+9e2lzsvfkIz0VYUjskVljfpMFyb3vvOU1X2lfYMKzy3ix B1uTbjR6qrt969Bshi/+smlsHkRVb5U= X-Google-Smtp-Source: AGHT+IHm2MDvfXjjJm9wt1X30iTtZ1iLcUUAXBuNay0afnJoWNeXv1q/mipkPCrGCGOjcsSM54k91w== X-Received: by 2002:a05:6000:1b07:b0:317:3d36:b2c1 with SMTP id f7-20020a0560001b0700b003173d36b2c1mr17875742wrz.7.1697034678115; Wed, 11 Oct 2023 07:31:18 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id v3-20020adfa1c3000000b0032d8354fb43sm2402284wrv.76.2023.10.11.07.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:31:17 -0700 (PDT) From: Simon Tournier To: Emmanuel Beffara , Efraim Flashner Cc: help-guix@gnu.org Subject: Re: share guix and its store between distributions In-Reply-To: <20231009104305.GD1344@beffara.org> References: <20231005170349.GR1334@beffara.org> <20231009104305.GD1344@beffara.org> Date: Wed, 11 Oct 2023 14:45:50 +0200 Message-ID: <87il7dtji9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x436.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: 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 X-Migadu-Spam-Score: -8.01 X-Spam-Score: -8.01 X-Migadu-Queue-Id: 4710F4619F X-Migadu-Scanner: mx2.migadu.com X-TUID: stJiL4rLgTMK Hi, On Mon, 09 Oct 2023 at 10:43, Emmanuel Beffara wrote: >> > Is there a way to share Guix and its store between several distributions? >> > [...] >> >> It looks like you already have the right idea. You'd have to share /gnu >> and /var/guix between the two distributions, as well as have the same >> UID (and possibly GID) for the users. > > If I know for sure that there is no state anywhere else than that, then it > looks fine. I was worried that running Guix's daemon and command would leave > things inconsistent otherwise. Just to mention that I do not know what happens with the store database if you run concurrently two guix-daemon. For your use-case, it should be ok, though. :-) Since you will run only one guix-daemon at one time. Cheers, simon