From patchwork Mon Jun 3 22:30:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 28209 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0DC7C27BBE9; Mon, 3 Jun 2024 23:33:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 18E8E27BBE2 for ; Mon, 3 Jun 2024 23:33:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEGEX-0005rv-Fc; Mon, 03 Jun 2024 18:32:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEGEW-0005rQ-07 for guix-patches@gnu.org; Mon, 03 Jun 2024 18:32:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEGEU-0002iG-Pm; Mon, 03 Jun 2024 18:32:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEGEf-0005QN-SI; Mon, 03 Jun 2024 18:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71324] [PATCH 1/2] services: containerd: Provision separately from docker service. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, ludo@gnu.org, matt@excalamus.com, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 03 Jun 2024 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71324@debbugs.gnu.org Cc: Oleg Pykhalov , Florian Pelz , Ludovic =?utf-8?q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer X-Debbugs-Original-Xcc: Florian Pelz , Ludovic =?utf-8?q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer Received: via spool by 71324-submit@debbugs.gnu.org id=B71324.171745396820809 (code B ref 71324); Mon, 03 Jun 2024 22:33:01 +0000 Received: (at 71324) by debbugs.gnu.org; 3 Jun 2024 22:32:48 +0000 Received: from localhost ([127.0.0.1]:55924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEGER-0005PV-9z for submit@debbugs.gnu.org; Mon, 03 Jun 2024 18:32:48 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:38223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEGEM-0005P6-Tf for 71324@debbugs.gnu.org; Mon, 03 Jun 2024 18:32:46 -0400 Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-52b96eafeeaso152800e87.1 for <71324@debbugs.gnu.org>; Mon, 03 Jun 2024 15:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717453883; x=1718058683; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CJAgkoGkS8uRtXdA/ypswBErrI6JFoe9Wx54wlZIUbw=; b=kDreOWtY+XmASb+DSGJUr56mRUylyMHi68Mmt2AVkgtKoB14qR1Q4MAlFzLCRUQHLq WbTImbN2QNYn0/iqHzYQTYXB6+Yq9NbWc/gCwJFVuCFQvNKhNjHipCwiGMsfC/kWPdtC UZCZ5ZbcU8FaV/bf8YbHIkJznip8ZSQUfHD+Hpt7JDwkWY/2zUBbw2itKi4Id+8Op6Wk q1W440KhpV4b+WgnRVK1/ona94iR17MRIZLPyDbzP4j8KRoZtdC55dXx6Xm7j51N9PMu 2iug4V86d5kaRwTatf56ywLq0TGuohXAQX0DreGSF+KOJjz/QZ/5JWu80dgRaneHil5g fSEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717453883; x=1718058683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CJAgkoGkS8uRtXdA/ypswBErrI6JFoe9Wx54wlZIUbw=; b=tnaNL/4MAYBSTq/uUFxrvdnWyIjcM3ADfhrQ5tkXRHdOowvj13wXsn3i/Enia60Awq shJSum3ZpbTHw0i6AltazDpQB0LGksoEBhosbg+l8AjhbUvWMBYZ2Zg5CVwyXRzzgE+s 8MGSrbirJvvpVzVBxBSK2fILFekpCZGF8wZcOv5iXorbktGQJ/ENgOmbiPZ5jFRDEZsP onm9zmapWWb5kIBw3O+T8HysHOTbad7yZppAO8ai4cOotTcz0RfAZwoVWQbFGHivxi1l Gkxvxmtc/WXRuT1nvpUy6GarD+HYa9uKincdrLv9NBiLWKOqkfw/XcucRbHNjhaDCFIl C1qg== X-Gm-Message-State: AOJu0YyZTQGmttJaUiC6PN/S+B6BAl/N97NKWTtrgiefwUdfjTXtF2Df teduBhOqkWuKztFODvUVEeIfVwKdodOj5JFY4EqUxQZsWGliu+8S0jk3uQ== X-Google-Smtp-Source: AGHT+IGACJmpEiqynQWg9ixzHJaL2JHtPFCEJnV+jRWmnXA+I3h2qAL1r6iHIBA32TS/SOSjFRmTkw== X-Received: by 2002:a05:6512:1389:b0:528:3de4:12c6 with SMTP id 2adb3069b0e04-52ba43d4cd3mr389912e87.4.1717453883101; Mon, 03 Jun 2024 15:31:23 -0700 (PDT) Received: from guixsd.wugi.info ([93.100.15.190]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52b84d3f9ecsm1342328e87.98.2024.06.03.15.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:31:22 -0700 (PDT) From: Oleg Pykhalov Date: Tue, 4 Jun 2024 01:30:48 +0300 Message-ID: <22d45fa8e5f64e42b509141c3579a0c1626a5fcf.1717453849.git.go.wigust@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <87r0de3vkh.fsf@pelzflorian.de> References: <87r0de3vkh.fsf@pelzflorian.de> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches containerd can operate independently without relying on Docker for its configuration. * gnu/services/docker.scm (docker-configuration): Deprecate containerd field. (containerd-configuration, containerd-service-type): New variables. (docker-shepherd-service): Use containerd-configuration. Delete duplicated variable binding. Allow to configure environment variables. (docker-service-type): Delete extension with containerd-service-type. * gnu/tests/docker.scm (%docker-os, %oci-os): Add containerd service. (run-docker-test, run-docker-system-test, run-oci-container-test): Run containerd service. * doc/guix.texi (Miscellaneous Services): Document containerd-service-type. Change-Id: Ife0924e50a3e0aa2302d6592dae51ed894600004 --- doc/guix.texi | 44 +++++++++++++++++++++++++- gnu/services/docker.scm | 68 ++++++++++++++++++++++++++++------------- gnu/tests/docker.scm | 46 +++++++++++++++++++++++++++- 3 files changed, 135 insertions(+), 23 deletions(-) base-commit: bc06affabcf68bbe93e9afee13bef8cc8c6336a2 diff --git a/doc/guix.texi b/doc/guix.texi index 1224104038..d2ba6784de 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -40484,12 +40484,54 @@ Miscellaneous Services The @code{(gnu services docker)} module provides the following services. +@cindex containerd, container runtime +@defvar containerd-service-type + +This service type operates containerd +@url{https://containerd.io,containerd}, a daemon responsible for +overseeing the entire container lifecycle on its host system. This +includes image handling, storage management, container execution, +supervision, low-level storage operations, network connections, and +more. + +@end defvar + +@deftp {Data Type} containerd-configuration +This is the data type representing the configuration of containerd. + +@table @asis + +@item @code{containerd} (default: @code{containerd}) +The containerd daemon package to use. + +@item @code{debug?} (default @code{#f}) +Enable or disable debug output. + +@item @code{environment-variables} (default: @code{'()}) +List of environment variables to set for @command{containerd}. + +This must be a list of strings where each string has the form +@samp{@var{key}=@var{value}} as in this example: + +@lisp +(list "HTTP_PROXY=socks5://127.0.0.1:9150" + "HTTPS_PROXY=socks5://127.0.0.1:9150") +@end lisp + +@end table +@end deftp + @defvar docker-service-type This is the type of the service that runs @url{https://www.docker.com,Docker}, a daemon that can execute application bundles (sometimes referred to as ``containers'') in isolated environments. +The @code{containerd-service-type} service need to be added to a system +configuration, otherwise a message about not any service provides +@code{containerd} will be displayed during @code{guix system +reconfigure}. + @end defvar @deftp {Data Type} docker-configuration @@ -40504,7 +40546,7 @@ Miscellaneous Services The Docker client package to use. @item @code{containerd} (default: @var{containerd}) -The Containerd package to use. +This field is deprecated in favor of @code{containerd-service-type} service. @item @code{proxy} (default @var{docker-libnetwork-cmd-proxy}) The Docker user-land networking proxy package to use. diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm index 7aff8dcc5f..a5375d1ccc 100644 --- a/gnu/services/docker.scm +++ b/gnu/services/docker.scm @@ -49,7 +49,9 @@ (define-module (gnu services docker) #:use-module (ice-9 format) #:use-module (ice-9 match) - #:export (docker-configuration + #:export (containerd-configuration + containerd-service-type + docker-configuration docker-service-type singularity-service-type oci-image @@ -95,7 +97,7 @@ (define-configuration docker-configuration "Docker client package.") (containerd (file-like containerd) - "containerd package.") + "Deprecated. Do not use.") (proxy (file-like docker-libnetwork-cmd-proxy) "The proxy package to support inter-container and outside-container @@ -117,6 +119,18 @@ (define-configuration docker-configuration "JSON configuration file to pass to dockerd") (no-serialization)) +(define-configuration containerd-configuration + (containerd + (file-like containerd) + "containerd package.") + (debug? + (boolean #f) + "Enable or disable debug output.") + (environment-variables + (list '()) + "Environment variables to set for containerd.") + (no-serialization)) + (define %docker-accounts (list (user-group (name "docker") (system? #t)))) @@ -134,24 +148,37 @@ (define (%docker-activation config) (mkdir-p #$state-dir)))) (define (containerd-shepherd-service config) - (let* ((package (docker-configuration-containerd config)) - (debug? (docker-configuration-debug? config)) - (containerd (docker-configuration-containerd config))) + (match-record config + (containerd debug? environment-variables) (shepherd-service - (documentation "containerd daemon.") - (provision '(containerd)) - (start #~(make-forkexec-constructor - (list (string-append #$package "/bin/containerd") - #$@(if debug? - '("--log-level=debug") - '())) - ;; For finding containerd-shim binary. - #:environment-variables - (list (string-append "PATH=" #$containerd "/bin")) - #:pid-file "/run/containerd/containerd.pid" - #:pid-file-timeout 300 - #:log-file "/var/log/containerd.log")) - (stop #~(make-kill-destructor))))) + (documentation "containerd daemon.") + (provision '(containerd)) + (start #~(make-forkexec-constructor + (list (string-append #$containerd "/bin/containerd") + #$@(if debug? + '("--log-level=debug") + '())) + ;; For finding containerd-shim binary. + #:environment-variables + (list #$@environment-variables + (string-append "PATH=" #$containerd "/bin")) + #:pid-file "/run/containerd/containerd.pid" + #:pid-file-timeout 300 + #:log-file "/var/log/containerd.log")) + (stop #~(make-kill-destructor))))) + +(define containerd-service-type + (service-type (name 'containerd) + (description "Run containerd container runtime.") + (extensions + (list + ;; Make sure the 'ctr' command is available. + (service-extension profile-service-type + (compose list containerd-configuration-containerd)) + (service-extension shepherd-root-service-type + (lambda (config) + (list (containerd-shepherd-service config)))))) + (default-value (containerd-configuration)))) (define (docker-shepherd-service config) (let* ((docker (docker-configuration-docker config)) @@ -208,8 +235,7 @@ (define docker-service-type %docker-activation) (service-extension shepherd-root-service-type (lambda (config) - (list (containerd-shepherd-service config) - (docker-shepherd-service config)))) + (list (docker-shepherd-service config)))) (service-extension account-service-type (const %docker-accounts)))) (default-value (docker-configuration)))) diff --git a/gnu/tests/docker.scm b/gnu/tests/docker.scm index d550136b4a..46c886580c 100644 --- a/gnu/tests/docker.scm +++ b/gnu/tests/docker.scm @@ -54,6 +54,7 @@ (define %docker-os (service dbus-root-service-type) (service polkit-service-type) (service elogind-service-type) + (service containerd-service-type) (service docker-service-type))) (define (run-docker-test docker-tarball) @@ -88,7 +89,21 @@ (define (run-docker-test docker-tarball) (test-runner-current (system-test-runner #$output)) (test-begin "docker") - (test-assert "service running" + (test-assert "containerd service running" + (marionette-eval + '(begin + (use-modules (gnu services herd)) + (match (start-service 'containerd) + (#f #f) + (('service response-parts ...) + (match (assq-ref response-parts 'running) + ((pid) (number? pid)))))) + marionette)) + + (test-assert "containerd PID file present" + (wait-for-file "/run/containerd/containerd.pid" marionette)) + + (test-assert "dockerd service running" (marionette-eval '(begin (use-modules (gnu services herd)) @@ -234,6 +249,20 @@ (define (run-docker-system-test tarball) (test-runner-current (system-test-runner #$output)) (test-begin "docker") + (test-assert "containerd service running" + (marionette-eval + '(begin + (use-modules (gnu services herd)) + (match (start-service 'containerd) + (#f #f) + (('service response-parts ...) + (match (assq-ref response-parts 'running) + ((pid) (number? pid)))))) + marionette)) + + (test-assert "containerd PID file present" + (wait-for-file "/run/containerd/containerd.pid" marionette)) + (test-assert "service running" (marionette-eval '(begin @@ -327,6 +356,7 @@ (define %oci-os (service dbus-root-service-type) (service polkit-service-type) (service elogind-service-type) + (service containerd-service-type) (service docker-service-type) (extra-special-file "/shared.txt" (plain-file "shared.txt" "hello")) @@ -384,6 +414,20 @@ (define (run-oci-container-test) (test-runner-current (system-test-runner #$output)) (test-begin "oci-container") + (test-assert "containerd service running" + (marionette-eval + '(begin + (use-modules (gnu services herd)) + (match (start-service 'containerd) + (#f #f) + (('service response-parts ...) + (match (assq-ref response-parts 'running) + ((pid) (number? pid)))))) + marionette)) + + (test-assert "containerd PID file present" + (wait-for-file "/run/containerd/containerd.pid" marionette)) + (test-assert "dockerd running" (marionette-eval '(begin From patchwork Mon Jun 3 22:30:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 28208 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 897A727BBEA; Mon, 3 Jun 2024 23:33:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8D3FA27BBE9 for ; Mon, 3 Jun 2024 23:33:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEGEW-0005rZ-Ae; Mon, 03 Jun 2024 18:32:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEGEV-0005qu-7Z for guix-patches@gnu.org; Mon, 03 Jun 2024 18:32:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEGEU-0002iR-W6 for guix-patches@gnu.org; Mon, 03 Jun 2024 18:32:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEGEg-0005QV-8h; Mon, 03 Jun 2024 18:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71324] [PATCH 2/2] news: Add entry for 'docker-service-type' changes. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, julien@lepiller.eu, guix-patches@gnu.org Resent-Date: Mon, 03 Jun 2024 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71324@debbugs.gnu.org Cc: Oleg Pykhalov , Florian Pelz , Julien Lepiller X-Debbugs-Original-Xcc: Florian Pelz , Julien Lepiller Received: via spool by 71324-submit@debbugs.gnu.org id=B71324.171745397020825 (code B ref 71324); Mon, 03 Jun 2024 22:33:02 +0000 Received: (at 71324) by debbugs.gnu.org; 3 Jun 2024 22:32:50 +0000 Received: from localhost ([127.0.0.1]:55927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEGEU-0005Pp-5o for submit@debbugs.gnu.org; Mon, 03 Jun 2024 18:32:50 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:39479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEGES-0005PG-Fl for 71324@debbugs.gnu.org; Mon, 03 Jun 2024 18:32:49 -0400 Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2eab353ef78so2160581fa.2 for <71324@debbugs.gnu.org>; Mon, 03 Jun 2024 15:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717453889; x=1718058689; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IJponn6bNibueooydjO34roFxIabT4pjqZBjaO8zzKM=; b=edz3d2bSAosPqL3EQpjMvfHPIkKZneCKfcSLn+CG9Dm9MtvLghOPkRbgKysiKYxBno T3TorxRfj9VYrTjBxk3pGKG+nreL3kOAcfUEubH50FVRZ3fixL9s+PRNduB5YE4LbPA3 JbQY9KMHfCAe5OfIDcX8JmUgk+omfnHq0v9Jt6lXC2Gzenmayy73u+YTSkVuX5Wnb6aj c8j+Yq8rPsy+/YxHhZVadjQfT69cRqAo2fSOnnI6JyUuWI+j3+UfQCUAGIYNF598haSV vd6Sh4kU2oiSQBnnHekpWz1ogH061Trj0zruwF0eBVJotyhkLLGDvbSFj1kCorxnlHSH WyWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717453889; x=1718058689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IJponn6bNibueooydjO34roFxIabT4pjqZBjaO8zzKM=; b=PXEgE1IMXJ/i1MLGHIlV/ge5tOgJZaDzPUF7m+LGG/XsMRIEtS2PV72uPoCmVl/7/c JPXybxiYwM07OLElWiDiLZzP4bW5cyvLVXSe7SbSOmRm8+2+bFR8CdfEy7XLE/kcjqkl 4vvUzknz2PR8gtWCIu0Jr9+rFcUb6W/PL8LghltQ3jCN3BPWn0rpUnBeQCS0xPHCI3bP 6QtJUVvpHEFu1Kj+20wXVh42RGjRClriN6K3f0elQ2Fs2L6YQXK3OkvvzlqRh6M24eWH Lcxk1ahpbaBNqxS4PUzsoROhS7xGk48E8Z+8dSnwFqXmfLucSSBFKfm/iNhgE5XZsJ8s gACA== X-Gm-Message-State: AOJu0YyKvrnlJ1Xn8dtu5JF/Nhn6qfBH4LIGtbRl2tcFHF7LiuG+Msqy yoQfRaKJsBC1SQSyrMVX13ag7jnEO/RsIIteIJbzNYNOscyUxn458uLkgA== X-Google-Smtp-Source: AGHT+IGkeGObX+Qa6zrIGaD6SOHEsIjRUu6KixlhaLIFPHyGmAFhvnhE9ttjRTHOUbnDj5AcVYV+fw== X-Received: by 2002:ac2:5962:0:b0:52b:8325:6eed with SMTP id 2adb3069b0e04-52b89568fe2mr5772436e87.2.1717453888828; Mon, 03 Jun 2024 15:31:28 -0700 (PDT) Received: from guixsd.wugi.info ([93.100.15.190]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52b84d3f9ecsm1342328e87.98.2024.06.03.15.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:31:28 -0700 (PDT) From: Oleg Pykhalov Date: Tue, 4 Jun 2024 01:30:49 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87r0de3vkh.fsf@pelzflorian.de> References: <87r0de3vkh.fsf@pelzflorian.de> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * etc/news.scm: Add entry. Change-Id: I98d562d8b435b697b7c6529c5e788b5e2db9fa2a --- etc/news.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/etc/news.scm b/etc/news.scm index a511b7ffbc..29bf8a1909 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -31,6 +31,35 @@ (channel-news (version 0) + (entry (commit "22d45fa8e5f64e42b509141c3579a0c1626a5fcf") + (title + (en "The containerd service is separated from @code{docker-service-type}") + (ru "Сервис containerd отделен от @code{docker-service-type}")) + (body + (en "containerd service has been decoupled from the +@code{docker-service-type}. Moving forward, users are required to specify +containerd settings manually for their configurations. The +@code{containerd-service-type} service need to be added to a system +configuration, otherwise a message about not any service provides +@code{containerd} will be displayed during @code{guix system reconfigure}. + +Run @command{info \"(guix) Miscellaneous Services\"} for more info.") + (ru "Сервис containerd был отделен от @code{docker-service-type}. +Впредь пользователям потребуется указывать параметры containerd вручную для +своих конфигураций. Сервис @code{containerd-service-type} должен быть +добавлен в конфигурацию системы, в противном случае будет отображено сообщение +о том, что ни один сервис не предоставляет поддержку для @code{containerd} во +время выполнения команды @code{guix system reconfigure}. + +Смотрите @command{info \"(guix.ru) Разнообразные службы\"} для получения более +детальных сведений.") + (de "Es gibt einen eigenen containerd-Dienst losgelöst von +@code{docker-service-type}. In Zukunft müssen Nutzer dort manuelle +Einstellungen für containerd vornehmen. + +Siehe @command{info \"(guix.de) Verschiedene Dienste\"} für genauere +Informationen."))) + (entry (commit "8d1d98a3aa3448b9d983e4bd64243a938b96e8ab") (title (en "@command{guix git authenticate} usage simplified")