bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55936: [PATCH] services: docker: Fix race condition.


From: Maxim Cournoyer
Subject: bug#55936: [PATCH] services: docker: Fix race condition.
Date: Sun, 10 Jul 2022 01:10:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi Oleg,

Oleg Pykhalov <go.wigust@gmail.com> writes:

> Fixes <https://issues.guix.gnu.org/38432>.
>
> * gnu/packages/patches/containerd-create-pid-file.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add this.
> * gnu/packages/docker.scm (containerd)[source]: Add this patch.
> * gnu/services/docker.scm
> (containerd-shepherd-service): Add #:pid-file and #:pid-file-timeout.
> * gnu/services/docker.scm (docker-shepherd-service): Add --containerd flag.

Thanks for this, it looks promising!

Before we go forward though, had you consider using a
'make-systemd-constructor' as now available in Shepherd 0.9+ ?  I
remember Docker supports systemd socket activation for synchronizing its
services; it could be a simpler, no-code solution.

Would you like to give it a try?

Thanks,

Maxim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]