From: "Simen Endsjø" <contact@simendsjo.me>
To: "Tomas Volf" <~@wolfsden.cz>
Cc: help-guix@gnu.org
Subject: Re: Not sure how to add an offload server
Date: Wed, 06 Nov 2024 22:20:39 +0100 [thread overview]
Message-ID: <bf36a9f9-9a5b-480c-b721-e0858855425b@app.fastmail.com> (raw)
In-Reply-To: <6b274737-a2ac-4e60-af99-9d23aec71f90@app.fastmail.com>
I don't understand how /etc/guix and /usr/local/etc/guix fits together.
/usr/local/etc/guix/acl does not contain the public key, but it exists and symlinks to a store item.
As guix offload looks at /usr/local/etc/guix/machines.scm, I manually added the machines.scm there, and `guix offload test /usr/local/etc/guix/machines.scm` fails with the missing public key.
$ ls -lah /usr/local/etc/guix
total 24K
drwxr-xr-x 2 root root 4.0K Nov 6 22:02 ./
drwxr-xr-x 3 root root 4.0K May 1 2023 ../
lrwxrwxrwx 1 root root 47 Nov 6 22:02 acl -> /gnu/store/y0xvx5900zxj4s7rwyfr3baazkkhzkbw-acl
-rw------- 1 root root 701 Nov 2 22:00 acl.bak
-rw-r--r-- 1 root root 342 Nov 2 22:48 machines.scm
-r--r--r-- 1 root root 118 Oct 23 2023 signing-key.pub
-r-------- 1 root root 192 Oct 23 2023 signing-key.sec
/etc/guix on the other hand has an acl which is not symlinked, but is using the machines.scm from my system.
This acl contains the public key.
But `guix offload test /etc/guix/machines.scm` also fails on the missing public key.
$ sudo ls /etc/guix -lah
total 24K
dr-x--x--x 2 root root 4.0K Nov 6 22:02 .
drwxr-xr-x 7 root root 4.0K Nov 6 22:02 ..
-rw------- 1 root root 498 Jul 24 2023 acl
-rw------- 1 root root 182 Jul 21 2023 acl.backup
lrwxrwxrwx 1 root root 56 Jun 26 21:02 channels.scm -> /gnu/store/8nyjma3zafvhv4a31561n6ckhr9d3f90-channels.scm
lrwxrwxrwx 1 root root 56 Nov 6 22:02 machines.scm -> /gnu/store/kj5lfjhxi81x7xp3nym3ssdyp2177waq-machines.scm
-r--r--r-- 1 root root 118 Oct 14 2022 signing-key.pub
-r-------- 1 root root 192 Oct 14 2022 signing-key.sec
I really have no idea what is happening here, but I fail to see what I'm doing wrong.
Could someone link me to a working offload setup?
On Sun, Nov 3, 2024, at 16:05, Simen Endsjø wrote:
> Both computers use Guix System. Nothing in my configuration tweaks anything related to this.
>
> On Sun, Nov 3, 2024, at 15:06, Tomas Volf wrote:
>> Simen Endsjø <contact@simendsjo.me> writes:
>>
>> > Hi, I have some problems creating my own offload server.
>> >
>> > Adding a build-machine section in guix-configuration fills
>> > /etc/guix/machines.scm.
>> >
>> > But when I do `guix offload test` or status, it checks
>> > /usr/local/etc/guix/machines.scm and not /etc/guix/machinecs.scm.
>>
>> This seems weird. How did you install your Guix?
>>
>> T.
>>
>> --
>> There are only two hard things in Computer Science:
>> cache invalidation, naming things and off-by-one errors.
>>
>>
>> *Attachments:*
>> • signature.asc
next prev parent reply other threads:[~2024-11-06 22:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 22:13 Not sure how to add an offload server Simen Endsjø
2024-11-03 14:06 ` Tomas Volf
2024-11-03 15:05 ` Simen Endsjø
2024-11-06 21:20 ` Simen Endsjø [this message]
2024-11-06 23:49 ` Tomas Volf
2024-11-07 8:03 ` Simen Endsjø
2024-11-07 9:06 ` Hilton Chain
2024-11-07 11:17 ` Simen Endsjø
2024-11-07 14:35 ` Felix Lechner via
2024-11-07 21:17 ` Simen Endsjø
2024-11-07 21:51 ` Simen Endsjø
2024-11-07 21:59 ` Simen Endsjø
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf36a9f9-9a5b-480c-b721-e0858855425b@app.fastmail.com \
--to=contact@simendsjo.me \
--cc=help-guix@gnu.org \
--cc=~@wolfsden.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.