From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eGjlB3h6e2LSJAAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 10:57:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GErDB3h6e2LrhgAAauVa8A (envelope-from ) for ; Wed, 11 May 2022 10:57:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DEBAD2177D for ; Wed, 11 May 2022 10:57:26 +0200 (CEST) Received: from localhost ([::1]:44930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noi9s-00032q-WA for larch@yhetil.org; Wed, 11 May 2022 04:57:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nogXq-0001HN-2z for bug-guix@gnu.org; Wed, 11 May 2022 03:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nogXp-00039t-Qs for bug-guix@gnu.org; Wed, 11 May 2022 03:14:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nogXp-0005i9-Ma for bug-guix@gnu.org; Wed, 11 May 2022 03:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55358: docker containers stopped when doing guix install or guix shell Resent-From: Remco van 't Veer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 May 2022 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55358 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55358@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165225318621871 (code B ref -1); Wed, 11 May 2022 07:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2022 07:13:06 +0000 Received: from localhost ([127.0.0.1]:35826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nogWw-0005gg-G2 for submit@debbugs.gnu.org; Wed, 11 May 2022 03:13:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:51520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nogWu-0005gY-QT for submit@debbugs.gnu.org; Wed, 11 May 2022 03:13:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nogWu-00017Q-K5 for bug-guix@gnu.org; Wed, 11 May 2022 03:13:04 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nogWq-000321-Ss for bug-guix@gnu.org; Wed, 11 May 2022 03:13:02 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 569C15C00F3; Wed, 11 May 2022 03:12:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 11 May 2022 03:12:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1652253177; x=1652339577; bh=loE5vFK9un FzlnPdZgbEvMM3cEbsDNmtQsPhkoZZyp4=; b=NJeaST9NfekGnlVdyO2FGPsKdu EDzlhH4ph453RCPawJEBtLn5JlR9pXUcpvF75tnaYYNGHR3rNTSe2Pju7dFEfhHH zo+garGvKAaplp0Q7anmAaMZcv3Ro/4Nw6myO3eF4UACD600eQOUAJRquzRRAeTw 1I/2NCHK5OHQUBJ9R/pkIHq5OD0XGyn0NZm6bXOjIliPmSbzLnwG5hOYY6U7ENAE JfOpXk3gfPRlbrcjtB0ZBzgYy53KgU5arzxdmvzaGM0xKAsMxsB6KP6qY/dyKcq8 x31EHXaA2OziLYdCr1oJ+Qo2bUlGlbm0Z3EZK0DzaSM1yln7LNH8F57rlqnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1652253177; x=1652339577; bh=loE5vFK9unFzlnPdZgbEvMM3cEbsDNmtQsP hkoZZyp4=; b=NiA/IcW2L9wr9EHAr0eSwEaTI1Wfh1XNSYWALWPIKOp0KQAxHue 4kRuFCSs11jR+savsrnPlRjB6y6j19G4k+9d6p12vS7EwLiGFe60Cy5n1YT/CF9h hZbRbUAH6dMA7lYrIg56aT66fQezj3ExtdMQyfsyTI+WXQyoTxiKls5RqdyuZkUD frjv1faq7bBdq1m1cJEfapWxNnIqSZrND6bhg3k0OnWSkABJcqf4HuIJJfBg3nmY KHojikMgp/eOVPKSjuwpWlMJfk2KDmebYgrybJLDQFLz7Tz1OJsoWSQwFnrXUnFf twj6xAd9OG4ReHcL9O0ozkqA/tHYoAlaSUg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeeggdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvvefufffkgggtgfesthhqre dttderjeenucfhrhhomheptfgvmhgtohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtgho sehrvghmfihorhhkshdrnhgvtheqnecuggftrfgrthhtvghrnhepkeevgedujeefhfehle evtedutdeufffgkeekgedtledtheevteeftddvhedvjeejnecuffhomhgrihhnpehgnhhu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprhgvmhgtohesrhgvmhifohhrkhhsrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 May 2022 03:12:56 -0400 (EDT) User-agent: mu4e 1.6.10; emacs 27.2 From: Remco van 't Veer Date: Wed, 11 May 2022 09:12:54 +0200 Message-ID: <87ilqch79l.fsf@remworks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.28; envelope-from=remco@remworks.net; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 11 May 2022 04:54:38 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652259447; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=loE5vFK9unFzlnPdZgbEvMM3cEbsDNmtQsPhkoZZyp4=; b=r/XsyQTLkT6vBnJ3D4hpJr8xZoP0f9iUq+5zYgGJgqr2XhvfX2bxP2lEpcz+fLBBMY0Ltb 1+6/feSPIMY9cD0dH4hjYn0aSrJHSu6oECuHSLmGP8HpvWGgQlT9hiKM+KDp7GaY/Rdx68 yjHQtjs+Mwob8eCU7IIcGH2EmUXSoq2gTXVnIC8uTY+S3eqklYRGPEvT5nHtrIJg0zIZxz yIlC+79mqA1yZbmNNoUmzZeg8MpYKe9FpMCORBKEmQzfFekhajI7wvWIWwVqTle/XuGP14 7treenyxhmrMG64YIjqeLIq2FGxPco7AuWnKyP9czqDbpHFYQ2bEYjry7Dxw0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652259447; a=rsa-sha256; cv=none; b=ripATy9jKszYybpXXHyli5Vv4ysRYdBOUhxhtRnEvUYgKVxC30RS9g1JEz2tCDv8QQdwkP Gavi7lwkmMjhZdjwk7kBVdVvSp6Cw5jJ/bCOZm66yziVYZJvQ+XSIuFtO3a2vJn5L8wQZJ Kkzxs6pknyFPbRRXYowEVVCra0hzSwdPnVrBSOStFwwBMGzRmDnu5IgtEWtzx7YiUBfVpw YNl6rteVVDNM68yupsIEzWgWAjtrJFa/zIdU9lln+CdKy5s4cNagYypGwZd7rtheJ6OYvO 9xj3w2Y1jklgKyLo/vMAiF0IsS5k8sBEPjWhP9vA+YXgzd6r3CJoT6DQDjoEug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b=NJeaST9N; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="NiA/IcW2"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm3 header.b=NJeaST9N; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="NiA/IcW2"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DEBAD2177D X-Spam-Score: 0.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: EGQjweUo6yMh On a Guix system host, some running docker containers are stopped when doing guix install or other guix operations like shell. I noticed this happing to mysql and postgres containers but an elasticsearch container just keeps running. Here's an example session: $ docker ps CONTAINER ID IMAGE COMMAND CREATED ST= ATUS PORTS NAMES $ docker run -d postgres:10.10 .. 2b52ee072b1f5584cae597afb033cdcc0e560bbe9145b17b41502c204034e60b $ docker ps CONTAINER ID IMAGE COMMAND CREATED ST= ATUS PORTS NAMES 2b52ee072b1f postgres:10.10 "docker-entrypoint.s=E2=80=A6" 2 seconds a= go Up 1 seconds 5432/tcp blah_blah $ guix shell xeyes -- xeyes substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 0.0 MB will be downloaded xeyes-1.1.2 11KiB = 613KiB/s 00:00 [##################] 100.0% The following derivation will be built: /gnu/store/xc002hxl4g8mskqmpm0grsk8s45m91gz-profile.drv applying 4 grafts for xeyes-1.1.2 ... building CA certificate bundle... listing Emacs sub-directories... building fonts directory... building directory of Info manuals... building profile with 1 package... $ docker ps CONTAINER ID IMAGE COMMAND CREATED ST= ATUS PORTS NAMES $ exit First we see no docker containers are running, then we start postgres-10 from docker hub, we see its container is running, then we do something using guix-shell on an application *not already available on this system*, and now the container died. This does not work the second time when the "derivation" is already "built". Cheers, Remco