From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CHGLI7fZZ2QgAAAASxT56A (envelope-from ) for ; Fri, 19 May 2023 22:19:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UImFI7fZZ2TdFQAA9RJhRA (envelope-from ) for ; Fri, 19 May 2023 22:19:03 +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 0820C206AA for ; Fri, 19 May 2023 22:19:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q06YT-0003fM-Vx; Fri, 19 May 2023 16:18:26 -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 1q06YR-0003ez-Jy for help-guix@gnu.org; Fri, 19 May 2023 16:18:23 -0400 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q06YN-0005nD-Gx for help-guix@gnu.org; Fri, 19 May 2023 16:18:23 -0400 Received: by mail-vk1-xa2b.google.com with SMTP id 71dfb90a1353d-456fa6f1f79so742920e0c.0 for ; Fri, 19 May 2023 13:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684527498; x=1687119498; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NTmM15v2DxYRtJHcszZj5MLUlm3GbqTVu9Y+Lc4eAeo=; b=n3gQJkUpn/yhi/99HPsUAKVTlFsMdniFg87QtaeWcXstYS7OrKNRknpWWqIKITgK+4 teaErPSB2Ss2IDvp6+Ic13yGOpqk+LCtbFKFb12xjZ43K+YGuAJ9Gdafo0Qvw9MvTjzt nZQ/+5GzUHOr8XYgGeorohqWCFZiQODPRaOG+WHrQrCgWsuwekRoopv99CQ2f59jNdoD AyCgDANH+WwIL6EaihJ2duJdp37kWFJdiPJry60uEY3TRNlCeYZUj44JEExCHgDJswD7 34LGXVPYoa6tO+4lQZJ+Y3rypFbfNysJzHLOVuROVqmihQmNv3Y6i9+Y0rMTd0coW0zf sPLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684527498; x=1687119498; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NTmM15v2DxYRtJHcszZj5MLUlm3GbqTVu9Y+Lc4eAeo=; b=CDQ13BvFcWUXpCYypfblV0QyS9ka1RthJ+bJsJxzRrtZEqmgM1pdNO0lJ79OIrpzsk 59LxPUsPqSzNmle/R5vEPiB8hfhFhf+xsGG1hEP5kICDEot8OgRRpWL9ZArP2grY6cO+ a+d48dRYoeMHGM3jXxnLojilbx83flPu5tz6k6Oq5l/msGHVhWnoT/xDlPjENbsDCCFL zI3rd4h4+SAysXEPSEpC0/HBiu6lEXXHWpU7k7R3W5GZjYDZ/I4PZsX2J/Lpc1C0Kcv7 XFDnoWldccB5KYu5X0RnnGxRxdmULT/cf0IXNCH8d1dwtlEGgervvU3JdoPkna+xpEnt 1WJQ== X-Gm-Message-State: AC+VfDylDlwurWeNkI53wqcrkpgOYFh8radL5MvMQl8kjIl6MIZLNVip skXq1cbeQlI8PVaa3abARc+/sJcY7zbaEJixNz9RtA5sh9w= X-Google-Smtp-Source: ACHHUZ4bI+1D8ooRifv+mi2wWnHF7S5sfkvu7iCbvuSCRZXkD0MQ3a17REUKt6RvNWtPPdS/A2dOagHXupQ2O8GrGMY= X-Received: by 2002:a1f:3f03:0:b0:453:8f1c:eb31 with SMTP id m3-20020a1f3f03000000b004538f1ceb31mr1320597vka.14.1684527497611; Fri, 19 May 2023 13:18:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rodrigo Morales Date: Fri, 19 May 2023 20:18:01 +0000 Message-ID: Subject: Re: How to enable server discovery in foreign distro? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::a2b; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vk1-xa2b.google.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684527543; a=rsa-sha256; cv=none; b=K9/SzdqBGPhwG+xrPFXMwper3fljahEhCqT8SAU4HmzbCLs8ci1tCFxyGi70o/qVh20rxB 9TVYoakx32Djh/BuDizy9dm06lSWU1rWQQCrl1fJS6fFCC8bXNKmJ3DMSpvyDDwSd2QGLD 7C0HrBWzT7hW7cObPGezC9juXbFHVlkRYqA5QYZKb+M09KZXKz2pGIvjwR9InsAbaVnLNw tfjLi/0cm/f0TgX+QI7lC3h8lWmlZELDLDp4yXMHGBZj0c5VWGVriEbbLpDLGUklo0Ja3M GV8yF4zgCEj/ylVdYgsg88bvrM6yNtGhzUXX9LweTWdPrnRqPEaumVsUlwV4EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=n3gQJkUp; dmarc=pass (policy=none) header.from=gmail.com; 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684527543; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NTmM15v2DxYRtJHcszZj5MLUlm3GbqTVu9Y+Lc4eAeo=; b=kr+xapXVNZDSnHSq7JRXExE3xNgxUhooTqfmQM6M10cNjnqy3a4sAaeyK3b/u3E8olINTj Y55NP4xSpFCtZZP9/Y6kZy7R9514JYLr21fhb9MmFAv6FrLizhIvkSHRLIv5zLbKqE0MJZ rniz0UWBHY2hHLJtcVzgcsbme5O3JU9iQxl/uJDuJ0nW1dWmYIMAKYgDY0wi+/wxThxi/J xMKewy39koRRBv74OsioQRtGv2l3I4YeJKH6ri9c1OXsDD0YVI/YEskzM/equx/YLQDbji cUfBZE+4utxQqWq6o5nL52bjJbS2nlMBw6LEkwfIq+AbsayxJo7WsmMSu9xS1w== X-Migadu-Spam-Score: -7.28 X-Spam-Score: -7.28 X-Migadu-Queue-Id: 0820C206AA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=n3gQJkUp; dmarc=pass (policy=none) header.from=gmail.com; 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" X-TUID: v3jYS0RrRkkd Table of Contents _________________ 1. The solution 2. Pending question 1 The solution =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I managed to do it. I'll share some relevant information for those interested. [This section] in the Info manual helped me do what I was looking for. As specified in that part of the manual, I need to edit guix-daemon.service. In my system, there were 4 files with that name (see code block below) ,---- | rdrg@desktop:~$ locate -r 'guix-daemon.service$' | /etc/systemd/system/multi-user.target.wants/guix-daemon.service | /run/systemd/units/invocation:guix-daemon.service | /usr/lib/systemd/system/guix-daemon.service | /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/gui= x-daemon.service `---- The file `/run/systemd/units/invocation:guix-daemon.service' was a broken symbolic link (see code block below), so I knew that I shouldn't edit this file. ,---- | rdrg@desktop:~$ file /run/systemd/units/invocation:guix-daemon.service | /run/systemd/units/invocation:guix-daemon.service: broken symbolic link to 8dbd9f7458e74f979a2b8d214ed47d42 `---- The file `/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/guix= -daemon.service' wsa empty (see code block below), so I knew that I shouldn't edit this file. ,---- | rdrg@desktop:~$ file /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/guix-da= emon.service | /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/gui= x-daemon.service: empty `---- The file `/etc/systemd/system/multi-user.target.wants/guix-daemon.service' was a symbolic link to `/usr/lib/systemd/system/guix-daemon.service' and, for that reason, I ended up editing `/usr/lib/systemd/system/guix-daemon.service'. I edited the line containing `ExecStart' and added the IP address of my system from which I wanted to retrieve the packages. ,---- | rdrg@desktop:~$ cat /usr/lib/systemd/system/guix-daemon.service | # This is a "service unit file" for the systemd init system to launch | # 'guix-daemon'. Drop it in /etc/systemd/system or similar to have | # 'guix-daemon' automatically started. | | [Unit] | Description=3DBuild daemon for GNU Guix | | [Service] | ExecStart=3D/usr/bin/guix-daemon --build-users-group=3D_guixbuild --substitute-urls=3D'http://192.168.1.39:8080 https://ci.guix.gnu.org https://bordeaux.guix.gnu.org' | Environment=3DLC_ALL=3DC.UTF-8 | StandardOutput=3Dsyslog | StandardError=3Dsyslog | | # Work around a nasty systemd =E2=80=98feature=E2=80=99 that kills the = entire process tree | # (including the daemon!) if any child, such as cc1plus, runs out of me= mory. | OOMPolicy=3Dcontinue | | # Despite the name, this is rate-limited: a broken daemon will eventually fail. | Restart=3Dalways | | # See . | # Some package builds (for example, go@1.8.1) may require even more tha= n | # 1024 tasks. | TasksMax=3D8192 | | [Install] | WantedBy=3Dmulti-user.target `---- Finally, I executed the following two commands. ,---- | systemctl daemon-reload | systemctl restart guix-daemon.service `---- When I executed `guix home', the packages were retrieved from my other system (see line below `substitute: updating substitutes from 'http://192.168.1.39:8080'... 100.0%'). ,---- | rdrg@desktop:~$ guix home -L ~/guix-packages reconfigure ~/guix-config/home-configuration.scm | hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: | | guix install glibc-locales | export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" | | See the "Application Setup" section in the manual, for more info. | | guix home: warning: cannot determine provenance for current system | substitute: updating substitutes from 'http://192.168.1.39:8080'... 100= .0% | substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% | substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0% | The following derivations will be built: | /gnu/store/kdlm30fl3cv6r0ww2njm0d7w8cipjpyj-home.drv | /gnu/store/76835anafmiz8ngx2aqwynps72m0wmgd-setup-environment.drv | (... some omitted lines ...) `---- [This section] 2 Pending question =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I was able to download packages from my other system without having to perform the following step which is mentioned in [the aforementioned part of the manual]. ,---- | guix archive --authorize < key.pub `---- I wonder whether this command is relevant in this context or not. Any information is appreciated. [the aforementioned part of the manual]