From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4NSuDxkSG2YS1wAAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Apr 2024 01:15:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4NSuDxkSG2YS1wAAe85BDQ (envelope-from ) for ; Sun, 14 Apr 2024 01:15:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=msavoritias.me header.s=20210930 header.b=xRkS4tMM; 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=fail reason="SPF not aligned (relaxed)" header.from=msavoritias.me (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713050137; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tWXcXZDVT8uHqXNwSbAv/q0j3Xpaig2lchaw7iUwKik=; b=oYPBoADrv6PRQK1PJrgYvwt8IbjeD6WNBbJ1SlRUW93WInns00Z3d6B8Y0poDDnxWbOZfn KizMbmAdkHFi+Kh+ZGQnRuubprA6lr9nRpxFle0Xu9dbU0QHv9GgHScVZ8JJPJLJswTKjL yDlrEPCi4JOOVsiozfhuS6Xxj3FQGK3NYDKjekw0+1Pqzu3gPTl7dykkd3VAWfye4fxkxH 40BE1cpeMW2rIhKWXgXz9Ml5NqBrQhZu1zKlClZkJblWAhIuYkyxV1WsZpTUFxqftieE3F A2Y8dt0KrwzCQWnHDFN09WgkQIs47eEDpGBktO92h8WTgh8GaCYFe8yEFh33iQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713050137; a=rsa-sha256; cv=none; b=rY5VLg6J1hK6iJ5eWAwLlV/lm8JF6JbVEg8l2tMRhjP235rS3jE46Qtfth4t9uhHDyR2rm JT1AsTv90m123piSjTSZ5T14pY35uuM8MJHh1fO4r2CHED2rzFxO/AmTRjisvalrHOT5yI 1Gs+4punoUeFi1vpxL1qsb84E1Zjs/SjRtuLFFi8+detDi4JlRngt6uYyQnilSao5Rk1j2 TTfEL/Ue9f8iDHm16I4nh727pc64iWbDgOMXTrOSyriDVUeNwSb5g7szPlwqhkeLl67ux6 0Ez2P8Pg+x2xQx/wcde5nthRxxKsEcKpvJgQFxQS0VQijYaabvZvpxerrn4vYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=msavoritias.me header.s=20210930 header.b=xRkS4tMM; 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=fail reason="SPF not aligned (relaxed)" header.from=msavoritias.me (policy=none) 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 D2DA8629D8 for ; Sun, 14 Apr 2024 01:15:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvmai-00017t-JT; Sat, 13 Apr 2024 19:15:24 -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 1rvFD1-0001hp-TO for help-guix@gnu.org; Fri, 12 Apr 2024 07:36:44 -0400 Received: from mail.webarch.email ([81.95.52.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvFCz-0002Zj-MU for help-guix@gnu.org; Fri, 12 Apr 2024 07:36:43 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 514871A88900 for ; Fri, 12 Apr 2024 12:36:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=msavoritias.me; s=20210930; t=1712921792; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:content-language; bh=tWXcXZDVT8uHqXNwSbAv/q0j3Xpaig2lchaw7iUwKik=; b=xRkS4tMMHRYo5bdpBDrrzpm5UjEhG5+SUy2cJYesnVHUW6kat5g/zxy1t6fjFRZMRiPTgP +Z2Ma+I5BwKWlmn33r71nFUzg7LHFei8g3KbDe40v0zXVOSEamqJc9JQoZ9OLHATb7O0Z9 dEFQDv/FW6bLuND50N0fwNJwodfzofxG+gqDkDtfn0kiW38FmJck1Dhomd8ZWEKFC6FNp6 hpBj5XnP+tATPRDYOArDaRzmTHFuwPPxAS+7/X526GyXZydhgMh/8UfgbQrc0KpSYdeRfF y48o6o4MBGtVky3z8h+THxjK97fGDXm9VzIM6dIso241ra+neDiRw47gkbqiMA== Message-ID: <89ad0ece-0d0e-f137-d52b-da35e2d14fb5@fannys.me> Date: Fri, 12 Apr 2024 14:36:25 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: help-guix@gnu.org From: MSavoritias Subject: Server installation is incompatible with guix home Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=81.95.52.48; envelope-from=email@msavoritias.me; helo=mail.webarch.email X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 13 Apr 2024 19:15:22 -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: , 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.28 X-Spam-Score: -5.28 X-Migadu-Queue-Id: D2DA8629D8 X-Migadu-Scanner: mx13.migadu.com X-TUID: zFkgQLrw1rS4 Hello, Trying to set up a server with guix home it appears to me after some research that there is no way to use guix home on a server. What i mean is that: - the server currently is set up with base services in its system config as you can see here https://codeberg.org/joinjabber/Infra/src/branch/main/System%20Declaration/system.scm - and there is a persistent error appearing when somebody logs in that says: warning: XDG_RUNTIME_DIR doesn't exists, on-first-login script won't execute anything.  You can check if xdg runtime directory exists, XDG_RUNTIME_DIR variable is set to appropriate value and manually execute the script by running '$HOME/.guix-home/on-first-login' this error comes from the service home-run-on-first-login which is a home service and is in base requirements of guix home as per the manual here: https://guix.gnu.org/en/manual/devel/en/html_node/Essential-Home-Services.html it can only be extended. what this specific service is doing according to the code here https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/home/services.scm#n409 is checking if the XDG_RUNTIME_DIR exists. which according to the manual if this is supposed to go away you need to: *Note:* Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the |XDG_RUNTIME_DIR| variable set. Failing that, the on-first-login script will not execute anything, and processes like user Shepherd and its descendants will not start. I tried to add just the elogind service to the system declaration but that changed nothing. Obviously the server doesn't need all of desktop services and removing stuff like gdm or bluetooth manually to reduce attack surface seems too much work to just have guix home not complain. the guix home config is here: https://codeberg.org/joinjabber/Infra/src/branch/main/Home%20Declaration/home%20declaration.scm So my Questions are: 1. Is there a way to remove or edit the on-first-login service? Or a way to make the warning disappear without installing all desktop services? 2. This seems like a bug. Is the intention of guix home to not work in a non desktop setting? if its supposed to work the first login service needs to be removed from base services. MSavoritias