From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GXdkAXmj7WRDAwEAG6o9tA:P1 (envelope-from ) for ; Tue, 29 Aug 2023 09:51:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GXdkAXmj7WRDAwEAG6o9tA (envelope-from ) for ; Tue, 29 Aug 2023 09:51:21 +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 EA6AE3D994 for ; Tue, 29 Aug 2023 09:51:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riabenko.com header.s=selector header.b="NhlEje/Y"; 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=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693295481; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=QQxrYI0nqodI7Z67dV7+eoa8pQykWb8+cHIS+6yu0EM=; b=Tp/qq7J/dq0YRJ/qbdKuBDV8Ls7TWpnNA77ApGj+oqWr99OU8KWvueWvq20dHHvetpm3zW yMtOFXYdvYKK+PXQFODhCeqrAXcMzUdajfpt+6vGUt1zSYu9Ie9t5VCNu9gbmBdo85yjtU ovDuifyplcbROlLx1qHnLevACPcgriGkxyaA8H+MZl6bsObfBV5y8GuNhEiAbkv7ZWvByI kbs23gi7gRhWWsddHyoemXKx2weFBl2LiXVQ8icKPdzRg0hX9kkTacooHi8a87v4K0wyQf k0kWGeG1rIDLHDtEOOpVIAcuwUkPPeCjGof16sAqxoHsAU3ll4ektpN+CifKag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693295481; a=rsa-sha256; cv=none; b=YxRUlOMmQB/UMqsRdkvrPfxecAiw0OJ4OFXdqrVIIkQjLFnFD4EufOpZs1QNuCitzdvY8r 4UDFYu6Dqv5vkmjmV/BYuicWuY0DgYYog53NdI8bw02WRXsYAsl8x2Hx+x+QTqiF0psBSY qKL+hTJTT26Hbdzq1ZobFn2VCnmzrE5oiML3pl714fLynggCKoYYvUqIqucELO64311/9u IGt/lOxuEFgzgc/07Sqyq0cPLNEeVcd2H13ToJhEXGceUF+mdBU1zPIprYE8qJIjsxRvCt MKns+whNGccbHitx3abwnpLzi7q3Fc9hifhIcjNTua2k23dIPQXFYGNb+6mZZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riabenko.com header.s=selector header.b="NhlEje/Y"; 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=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qatV7-0006o0-Dx; Tue, 29 Aug 2023 03:51:01 -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 1qZmYd-0003s8-Nk for help-guix@gnu.org; Sat, 26 Aug 2023 02:14:04 -0400 Received: from lab.riabenko.com ([185.143.146.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZmYb-0002sU-3k for help-guix@gnu.org; Sat, 26 Aug 2023 02:14:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=riabenko.com; s=selector; h=MIME-Version:Content-Type:References: In-Reply-To:Date:To:From:Subject:Message-ID:From:Sender:Reply-To:Subject:Date :Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QQxrYI0nqodI7Z67dV7+eoa8pQykWb8+cHIS+6yu0EM=; b=NhlEje/YjkmhMBePoobPt/M6Ib FE9Hq1/CByNkgqe7lPkzA8IQsIvLiAf8zuxy99tVHtWuje0enaJHOwUfzjwCoOx208aCiD1J8EBUf xLGB3mAmowDFUW2II/CLQJWulaAkvrnMxRH8GuHi8NeZIEoXaMKdTiRpzN9CXgq4hRBMlvDqvBT7w Ec0ytoLMVOVotXltawwlbuT/Rj4z+Niub2Y00WybrsGkpNCGtduW0NWt+jGY2GhLAzJ3gAC+zxMiY /BDWi/aqMTboTxeNCbJHeYhpzOujYS1dZvYftUAwACosG2dcuHoUyDTZrYSoyyYUe07uvdHugPegj 6DWj+wdg==; Received: from router.lan ([192.168.88.1] helo=[192.168.88.15]) by lab.riabenko.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qZmYW-0000Yj-0s; Sat, 26 Aug 2023 09:13:56 +0300 Message-ID: <17ae6b63def9b12e8814e0f1faa9c14ad8f95d74.camel@riabenko.com> Subject: Re: How to delete per-user profiles To: Jorge , help-guix@gnu.org Date: Sat, 26 Aug 2023 09:13:21 +0300 In-Reply-To: <3f5bfb0c2c51fb11cd738e41d6dfe2ce45aafed4.camel@disr.it> References: <3f5bfb0c2c51fb11cd738e41d6dfe2ce45aafed4.camel@disr.it> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-3YoiWv05fyEbfcIFNbi9" User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Received-SPF: pass client-ip=185.143.146.30; envelope-from=roman@riabenko.com; helo=lab.riabenko.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 29 Aug 2023 03:50:58 -0400 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: , Reply-to: Roman Riabenko From: Roman Riabenko via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.81 X-Spam-Score: -7.81 X-Migadu-Queue-Id: EA6AE3D994 X-Migadu-Scanner: mx1.migadu.com X-TUID: QP59EUBj8R9i --=-3YoiWv05fyEbfcIFNbi9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=A3 =D0=BF=D1=82, 2023-08-25 =D1=83 17:01 -0300, Jorge =D0=BF=D0=B8=D1= =88=D0=B5: > I have removed (via Gnome Settings) user `jorge-morais' from my Gentoo GNU/Linux system, but its Guix profiles remain.=C2=A0=C2=A0 If you only remove a user from GNOME Settings without removing it from the system configuration file, the user will re-appear in GNOME Settings on reboot or the next time the system is reconfigured and a home directory will be created for it if it was removed. (Such user would not appear in the login screen because the user is only re- created but not activated. The activation can be done in GNOME Settings.) Instead, to remove a user, you should remove its "user- account" form from the system configuration file [1] and reconfigure the system. You have to handle the user files yourself, e.g. remove the user's home directory. If you are also adding a user, you would want to do that in the configuration file too. [1]: https://guix.gnu.org/en/manual/devel/en/html_node/User-Accounts.html > How do I remove them, so Guix GC can clean the store?=C2=A0 Can I simply remove the directory `/var/guix/profiles/per-user/jorge-morais' ? Those links are not removed automatically, so that directory needs to be removed by hand. When the links are removed and eventually you run "guix gc", it removes the unused profiles in the store. Roman --=-3YoiWv05fyEbfcIFNbi9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEbyuIUwJNVUrtp3hK60bLvjKDmmkFAmTpmAEACgkQ60bLvjKD mmn7xBAAqmOjl12X/s+h753/Eg7VFdcPuSMoeaN6LHU3XFKdEF0LRrvC5cLD5YY9 mKEq87H9BEx9dAqo3qqKZwiNecqzsOVZGNRMBYGolulFIRy1QJ2DDjBo+Gq33fcl V2UJa6L6fs9rtmPsU+hsCPEzYaK9xhSPx/lWSf/6EuE1uVIUK1QnHaog/8C1Femb VInbx+euGtb71MuwRU2ClMj3MzMVUrPqGbOZe9wqBTpAK7NwbqudAjmtEJ+xWAr3 U2Q+YucYSoWvFi2jSd4Y3iLil7LAfXeZUaSP7NuosIJzARizbF4NnlGdCcrwmvLS GRFMWYDyJljHvqMuSEOCwTRLTnbyQpUP0ctDlnGKtjXtXQvcM6jrVdNJWK7AmoLm J8sYdqA1PH08+/9lsN79tVu6IrRvv0nAzYMlKkSqOmvH/InMDkTFpw0iHMj0Zdb3 ybtKJSNCl1PmJTVI5e59cNjohleluQ8Vy8MrjGDwvfDrP62PwYJy0hYlqI6IwtfE 8OrmPVSMyaFg7LTjJNFdRR0NxFdM/UlLx1tRLrPpy9KFMRqU+iMPFDCx3h9aXrxo N/DgndCf2RAbIehFdSGUv3wjqjqC5JdZ6AiI6CQDl6MeTlwPODyExJ29Izl9ccyG rOJdF6S35W0w0f2eaPe/OlC0Urz+rUulcrONz9kmgEFtb2yUsmc= =BWx0 -----END PGP SIGNATURE----- --=-3YoiWv05fyEbfcIFNbi9--