[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and
From: |
Maxime Devos |
Subject: |
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon' |
Date: |
Tue, 12 Apr 2022 10:42:07 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Ludovic Courtès schreef op ma 11-04-2022 om 22:33 [+0200]:
> > Alternatively, the shepherd could open the secret key file on
> > behalf of
> > ‘guix publish’ and send it together with the listening socket to
> > ‘guix
> > publish’.
>
> Sure, that’s feasible, but that’d require a custom protocol that I’d
> rather avoid.
I don't think it does, as long as we are using Shepherd and not SystemD
(I don't think that SystemD supports opening regular files instead of
sockets?), we could just
* extend 'endpoint->listening-socket' (in Shepherd) to allow opening
regular files (and not only actual sockets)
* in 'systemd-socket' (in (guix scripts publish)), expect two startup
file descriptors instead of one startup file descriptor, and return
both (the first one is the actual listening socket, the second one
the secret key file)
* modify 'guix-publish' appropriately
* modify the guix-publish service to pass the file descriptor of the
secret key file in addition to listening socket.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#54811] [PATCH 3/3] daemon: Support systemd-style socket activation., (continued)
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/09
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/09
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/09
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/10
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/10
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/11
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/11
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/11
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon',
Maxime Devos <=
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/12
- [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/12
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/11
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Ludovic Courtès, 2022/04/11
[bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon', Maxime Devos, 2022/04/11