GNU bug report logs -
#54811
[PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sat, 9 Apr 2022 09:13:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #65 received at 54811 <at> debbugs.gnu.org (full text, mbox):
Maxime Devos <maximedevos <at> telenet.be> skribis:
> 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)
We could, but like I wrote, I’d rather stick to the existing systemd (or
inetd) protocol, especially since this extension wouldn’t buy us much IMO.
Ludo’.
This bug report was last modified 3 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.