Subject: bug#54811: closed (Re: bug#54811: [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon')

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 14 Apr 2022 12:53:02 +0000

Your bug report

#54811: [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54811: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54811
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#54811: [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'
From: Ludovic Courtès <[email-masked]>
To: Maxime Devos <[email-masked]>
Cc: [email-masked]
Date: Thu, 14 Apr 2022 14:51:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Maxime Devos <[email-masked]> skribis:

> Ludovic Courtès schreef op za 09-04-2022 om 11:13 [+0200]:
>> +  "If this program is being spawned through systemd-style \"socket
>> +activation\", whereby the listening socket is passed as file descriptor 3,
>> +return the corresponding socket."
>
> And if it isn't, what is returned then?
>
>   "Otherwise, return #false."

I fixed that and pushed:

  5f74169e8e daemon: Support systemd-style socket activation.
  b9233cb9a8 publish: Support systemd-style socket activation.
  17c6d00b57 publish: Use SRFI-71 instead of SRFI-11.

Thanks,
Ludo’.

Subject: [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>
Date: Sat, 9 Apr 2022 11:12:46 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

Now that we have this fancy new Shepherd, we can have our daemons
started lazily via “socket activation” like all the cool kids have
been doing.  :-)

Next steps: update the ‘guix’ package, update the .service files,
and update (gnu services base) (I’m not entirely sure we can start
‘guix-daemon’ via socket activation though due to the container
shenanigans in there.)

Thoughts?

Ludo’.

Ludovic Courtès (3):
  publish: Use SRFI-71 instead of SRFI-11.
  publish: Support systemd-style socket activation.
  daemon: Support systemd-style socket activation.

 doc/guix.texi                 | 11 ++++++++-
 guix/scripts/publish.scm      | 39 +++++++++++++++++++++++++-------
 nix/nix-daemon/guix-daemon.cc | 42 ++++++++++++++++++++++++++++++-----
 3 files changed, 78 insertions(+), 14 deletions(-)

base-commit: 0996d48d0e79a360e0d5583b812cd565f62ca32e
-- 
2.35.1