From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SJTXMu4AGmQc/AAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 20:09:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YKfuMe4AGmTjjwAAG6o9tA (envelope-from ) for ; Tue, 21 Mar 2023 20:09:34 +0100 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 9927F334A0 for ; Tue, 21 Mar 2023 20:09:34 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=IewIqBAO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679425774; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fsDMjiNexqVjt7ql330/iDEupfvOyRxF4dbw65oQzVA=; b=OoXKFOlDHadMUX0wwrTNqh1oKRSyogA0DzIZQSKlQCYFiT072fR8FxJ4MUTiNOu13FnN8v fbJYjX68daxLde+GVZbPX4gcN7IPSlBnVTpfhHvbq/XeeuSYgRIIC2QBcGamj77YX6UkTz kHe9Aul5ScCxFdSIWm57c/x6q2qLX/eFdRxMRQBSJM6woMjrXCQS5W3W06omAQ6REgxs0T sClaJ6brflIBNWmtY3UOv+hdg40RRx6WWM3D5QD2gjNyvkEF11Jvifw9V1dBe5cZzFxRoW vmKxJ2tR3zHXXHuTa5OmwAKlNA/aRHiiz8z9ZCj5cweqVDG0P4itm26pqeDhGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=IewIqBAO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679425774; a=rsa-sha256; cv=none; b=XDspbDI3Da5FCk3vBpe6ImZlGkz3NE2PFUSJvrwgdVRK5y5RQ4peR0cq8nBCnf0porNYsn 8vvjpcLn2uVL/9xOHV/DfYa77u/w1kaJZxY+rh3pPzmRPZ7Q+TRA2MM06q/ADMsZF3u7b5 ZlaiZ41xkx8am7O3gsixy1vlprxqAAGK6d7iYsFB+Zdf/Q3rUTuzY49wJ19aNv0Rj8pSaI 5er7gJvWAuodbIqCvrJzFFpkjAnDGKwAyJsM3a5eol8Ml76bwY9t+Mjd4lHBDIB76sRbZl rzvimCxM11awi6j9Ol8bvjbj5/WxQ4BupF6jGT7dM7xW05Kqreyn4E/8Sl1XIQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pehM1-0004en-Rd; Tue, 21 Mar 2023 15:09:05 -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 1pehLz-0004dz-59 for guix-patches@gnu.org; Tue, 21 Mar 2023 15:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pehLy-0002hZ-Rm for guix-patches@gnu.org; Tue, 21 Mar 2023 15:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pehLy-0005xn-DV for guix-patches@gnu.org; Tue, 21 Mar 2023 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62274] [PATCH] home: 'home-environment-with-provenance' uses the HE location info. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62274 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: 62274@debbugs.gnu.org Received: via spool by 62274-submit@debbugs.gnu.org id=B62274.167942569122858 (code B ref 62274); Tue, 21 Mar 2023 19:09:02 +0000 Received: (at 62274) by debbugs.gnu.org; 21 Mar 2023 19:08:11 +0000 Received: from localhost ([127.0.0.1]:60666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehL9-0005wc-EE for submit@debbugs.gnu.org; Tue, 21 Mar 2023 15:08:11 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:39599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehL7-0005wN-DR for 62274@debbugs.gnu.org; Tue, 21 Mar 2023 15:08:10 -0400 Received: by mail-ed1-f46.google.com with SMTP id ek18so63801698edb.6 for <62274@debbugs.gnu.org>; Tue, 21 Mar 2023 12:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1679425683; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=fsDMjiNexqVjt7ql330/iDEupfvOyRxF4dbw65oQzVA=; b=IewIqBAOvNinpB4I3W8x23Rg3i9+Db4opyKMnl40EPjIJI49PsSHrnP/JjffzvmzWP rBvleraAoGgHkU0a7Rh3Cq4+KlHjRqEB+iEs6B/qfXRNVD9LDmZky773DIRmVxKgWbw6 9HWnatIouOJaVnkwhRB9ITWQf+d3UEjSvumo0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679425683; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fsDMjiNexqVjt7ql330/iDEupfvOyRxF4dbw65oQzVA=; b=p6yGUh5VS2+Za9FRYl7yin5P2CxmrOrUM9LxHRYBNO8tl+m6EBuaj3k9D4TTsKYrdA lD6t1J3cnOa0x/FyJdmwDpRXYIImr/V3itmM8hGsxpC77xgEo+eDfqi0RZmLD/HwV7yw OsT21Cy5lLBYbdXaI8zVrgZDIBRsvbRsCNxVjSDymw+jQk0POAXxfON6NvyHJUfGQpdN GMrxLcRaQ2kTqlPpjcMFbOkyETnT8NR55XWXbVozZ3RkckPmMHih62ObvFynRxXnacix cdYK4Uo0dzt1ZiggOgdph3eA+1CyO6vH/W5OLyrcxTWr7gS+ZV3hmxJAT8HM77UCAtr5 KiPw== X-Gm-Message-State: AO0yUKUZVQQ6POtGuC8I/CfupH64MnUb9+Nn7iWSCASWV/4rnqW+/2ha SjFnrNkZcZXf4Xp2XII9e/vgNg== X-Google-Smtp-Source: AK7set+LqyD3GESIp5D/NzTOWKaa1siT/TVtYHRf9gRXxFbyUPtLLkMr93Wv76z03zP7yi1NEWbygg== X-Received: by 2002:a17:906:7cd2:b0:92b:69cd:34c7 with SMTP id h18-20020a1709067cd200b0092b69cd34c7mr4247996ejp.40.1679425683303; Tue, 21 Mar 2023 12:08:03 -0700 (PDT) Received: from localhost ([95.168.147.255]) by smtp.gmail.com with ESMTPSA id kj2-20020a170907764200b009324717b9f3sm5595448ejc.71.2023.03.21.12.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 12:08:03 -0700 (PDT) References: <20230319154537.30463-1-sarg@sarg.org.ru> <87bkknl443.fsf@gnu.org> <871qljs0ju.fsf@sarg.org.ru> <87edpiz831.fsf@trop.in> <871qliffrs.fsf@sarg.org.ru> <871qliz0k8.fsf@trop.in> User-agent: mu4e 1.8.13; emacs 29.0.60 From: Sergey Trofimov Date: Tue, 21 Mar 2023 19:18:39 +0100 In-reply-to: <871qliz0k8.fsf@trop.in> Message-ID: <87r0thexcn.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 9927F334A0 X-Spam-Score: -2.55 X-Migadu-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: GQ3zTu4hkx9L Andrew Tropin writes: > [[PGP Signed Part:Undecided]] > On 2023-03-21 13:22, Sergey Trofimov wrote: >> >> The only concern is that I'd rather include >> `guix-home-service-type` only in the first generation of the >> system. I think that this tie between user envs and the >> operating >> system makes sense only on the first boot. Later on the users >> should be responsible (and able to) to maintain their >> environments >> independently. > > There are a few issues I've not addressed yet: > > 1. User can login before activation finished. (Discussed in the > mentioned thread above). Yeah, I've just tried to bake a disk-image and also was able to log in faster than the activation service finishes. Not a big deal though, I can live with that. > > 2. Do we need to activate it on every system reconfigure? > (Actually, I > used it mostly for creating rde live cd and vm images, so didn't > test > much with system reconfigure or guix deploy. Also, I guess it > would be > cool to add a one-shot? flag to the service for skeleton like > functionality/initial provisioning). > I think this activation should run only once. > > 3. Probably something else I already forgot. It seems that ~/.config/guix/current is not created and /var/guix/profiles/per-user/ as well. > > I still don't have enough spare time to clean it up, test and > upstream, > but if you would like to finish this thing up, I would be very > happy to > help! Actually, my use case is already solved by your code and I can build backup images of my OS. Now I just have to figure out how to restore from backups offline.