From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OEr6AO+KUWePSQAAe85BDQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 11:13:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OEr6AO+KUWePSQAAe85BDQ (envelope-from ) for ; Thu, 05 Dec 2024 12:13:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=TMmTVo7Y; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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-Seal: i=2; s=key1; d=yhetil.org; t=1733397231; a=rsa-sha256; cv=pass; b=H2E/lM27ZPLOfnp8NmJfzLSI2fVskEn/fGwK+HypgI8l8g2ah4RRLjJ6u09GjbYNu/yvqn 9YogRG2nrCuRbgUXc2/kCvvElwMjZ9+hwsx00VNDOl9GioBwopiBgaJjxvD1sJ89aq3cgK p49kFfbT6Hg/lDMKGYZ1Le3cMF2bVgn1O25OvByMo4bx91iAkCcKn2IVz/wXogvJOqzzBB i5/Hjgw1NLk3EAxD4zythck5Jlhd0/ZhVSTI3oi1tkjsqTpZcXF1faetPOF1H3NHJOn2ih fQBTE6rkC9OKnvS3bYvqsBmTITq6yeJXDqjJc8gbtMkCZLZrUmqjKKpYMop6+Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=TMmTVo7Y; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733397231; 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=eZK5vGXac4Y3SPTVCP9D4Oox6G/17/3tkffgatwbvdg=; b=XnB1Hy+EXGe3s40oYs7HvFO+Dp8pD2e/n627kLwxw7jt5wYm2pR2y9m8xYBYmLfMHXEIVN wQVQHuw136XJD+KAnMF7OXrsNSM9wc4UPTELloNig9NV3qpANmC+gGd7AAAo9TVz6iS4M5 f9XSUezyxPvpw/hHYlEd+vgSsc1qd+SC3256EAzunjDLm3pc9J301uw0OLMH4XzyjdPoSc icgI8chgQVHbPaM2laMzpTTdMerXrfTYM6IkzPeS6397C/VtE+oaHMfQWsiC0L75ZARbfU 6ZPvzfjxxXknSFRWrQrk5w/Mc/3U7QBCE7L3y3xQcJCtuNF/wKgSIPVT4TXa7w== 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 E53A481D93 for ; Thu, 05 Dec 2024 12:13:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ9nM-0006KT-Ss; Thu, 05 Dec 2024 06:13:20 -0500 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 1tJ9nK-0006K0-QW for help-guix@gnu.org; Thu, 05 Dec 2024 06:13:18 -0500 Received: from sender2-op-o19.zoho.eu ([136.143.171.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ9nI-0000t2-Fu for help-guix@gnu.org; Thu, 05 Dec 2024 06:13:18 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733397187; cv=none; d=zohomail.eu; s=zohoarc; b=Z8XYqOYtFYmaSMrnqbj43wyftmdwp0M1zRNSWXasR8e2uV5uKy3ZjBsm4a0uIeKyCerIDayU9ctAbotMqdxxxJXcWjdIagOA0E1/wJDeGpXmu3n//BNDxCvWPy1/Vl82/OPVGmqiBq1Blqfh2FvobaJ3UW37EqTloxBQJeZSD6c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1733397187; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=eZK5vGXac4Y3SPTVCP9D4Oox6G/17/3tkffgatwbvdg=; b=XH7rgujU/r1kxiXApxwAGcC5JyDaoPUJ6MkKpfXR/qmHx4dTz6SF0CyR7Ju7xpFiF9VgblAY989XpdkBo5UABA93XNCYiXG7kz55wVfbzynF+Ge6mguMhx8NuoEm3yJnN84xhwijv50AwDUJl3WTLu+vrthta3vO1duaXHEI8uk= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733397187; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=eZK5vGXac4Y3SPTVCP9D4Oox6G/17/3tkffgatwbvdg=; b=TMmTVo7Y8A7tPzSnnDuzjymlUjNRqafxWy5XAts7QhhRgyLLeAaEcYnoDFy5NZen AHrg2aKX2HGtQueoSBgJDChhiI0Qe53S3rYo2UaJ0bKXoqTDKESqgjS8INewWRSG2gE 3Q+Narae+OGRQxwMVl8gZ5RuY1xCzeMHF8cwGvG0rJrgYHiJOaBq735/CdJIvpaLx2c GXuqrfwmuLR7WC7eCNnVm5jo9pPSlF2VBJ7DR+NJMKMB4YHpOembxhVxyxvqqL+9Hx1 +ts7SClHxiDpbKbCACJFOEjOImF0noMNMy24Nzf3Z5SfKE+iNgK+EiiQaCr7RBczB0j cmp8s4Vyig== Received: by mx.zoho.eu with SMTPS id 1733397185195657.4698187032241; Thu, 5 Dec 2024 12:13:05 +0100 (CET) References: <87y10vrymk.fsf@rymdkoloni.se> User-agent: mu4e 1.8.9; emacs 28.2 From: Edouard Klein To: Kristoffer =?utf-8?Q?Str=C3=B6m?= Cc: help-guix@gnu.org Subject: Re: Questions about guix-home-service-type for multi-user systems Date: Thu, 05 Dec 2024 12:11:59 +0100 In-reply-to: <87y10vrymk.fsf@rymdkoloni.se> Message-ID: <87y10uwfgk.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.171.19; envelope-from=edou@rdklein.fr; helo=sender2-op-o19.zoho.eu 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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: -5.34 X-Spam-Score: -5.34 X-Migadu-Queue-Id: E53A481D93 X-Migadu-Scanner: mx10.migadu.com X-TUID: JwsV3Dbjak66 The way I work around this is to use (guix-for-channels ...) in the sytem's configuration, and never guix pull. The only guix is the system's: /run/current-system/profile/bin/guix Kristoffer Str=C3=B6m writes: > Hello, I am running a multi-user system, and use guix-home-service-type > to setup the user home directories. > > One of the users is the "main" user (A) that handle the guix pull, the > editing and setup of system configuration files etc, the other (B) is a u= ser > account that should just be managed by user A. > > The problem i'm having is that the packages that user B sees, seems to > be independent of running guix pull and a subsequent sudo -E guix system > reconfigure on user A. > > Relative lines from reconfigure: > > shepherd: Service user-homes has been started. > shepherd: Starting service guix-home-b... > shepherd: Service guix-home-b has been started. > > When i run this in a virtual machine, the user B is instantiated with > the latest version of all packages, however it seems there is some state > persisting in user B that prevents it from seeing the latest version of > packages as provided by the pull and system reconfigure. > > I do not want to run an extra guix pull in user B, since this feels like > a waste of resources, and i do want the profiles to be always in sync. > > Is there some option i'm missing? > > Best, Kristoffer Str=C3=B6m.