From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oDznNg3YXWJtjgAAbAwnHQ (envelope-from ) for ; Mon, 18 Apr 2022 23:28:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0P/gNQ3YXWLDtQAAG6o9tA (envelope-from ) for ; Mon, 18 Apr 2022 23:28:45 +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 8E9E49B54 for ; Mon, 18 Apr 2022 23:28:45 +0200 (CEST) Received: from localhost ([::1]:51102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngYvM-0004ib-OD for larch@yhetil.org; Mon, 18 Apr 2022 17:28:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngYmx-0000I3-Ak for guix-patches@gnu.org; Mon, 18 Apr 2022 17:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngYmw-0005VF-IC for guix-patches@gnu.org; Mon, 18 Apr 2022 17:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngYmw-0002pp-DZ for guix-patches@gnu.org; Mon, 18 Apr 2022 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54986] [PATCH] gnu: mpd: Add support for socket activation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 54986@debbugs.gnu.org Received: via spool by 54986-submit@debbugs.gnu.org id=B54986.165031676110845 (code B ref 54986); Mon, 18 Apr 2022 21:20:02 +0000 Received: (at 54986) by debbugs.gnu.org; 18 Apr 2022 21:19:21 +0000 Received: from localhost ([127.0.0.1]:41010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngYmH-0002or-2M for submit@debbugs.gnu.org; Mon, 18 Apr 2022 17:19:21 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:38438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngYmF-0002of-RL for 54986@debbugs.gnu.org; Mon, 18 Apr 2022 17:19:20 -0400 Received: by mail-ej1-f66.google.com with SMTP id r13so29122015ejd.5 for <54986@debbugs.gnu.org>; Mon, 18 Apr 2022 14:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=6IUAqPwhfWjQtCLVHx2iHhjeW3ag64msVxtxTs9RTwQ=; b=gATiuwseqUuLHvr+ruI3sZHXW/iL/nNlCNKUbYe/IsfdZ8v8pGzm5etmQ+JEkMCvMh Y/pfNQyEnYUjnrFZh99/ecvJU1Q3xb/9cNXYknG3B+WxqLfDOfNEuxcOu288gZsWkV14 Eru5l4lHkxk51ZyPeoTIFE674o8IcaXDyZuLTtnXNigESUycmwkOx2ZaWuM3EJnYw4CF v7L23NOPbDeT6WQDYrs0+ykTjSSHBRcZzvJdgqQ/fJ+1xqke5lJHA5PXH1sqmKLAs3vJ n6NypvJ/+DdbpvPXA6+nPwf0HWDo7eyhs5SS55teDwV9KwPpFbvA2FFMTWerBzLHqZlM OOqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=6IUAqPwhfWjQtCLVHx2iHhjeW3ag64msVxtxTs9RTwQ=; b=h2Jp4JkXXWrzatcxXDfD8lGq9NlfCCzwZZvMXu954rT2ZfQ0zryyvekuUWAsgK1Kxx v6N+oZuqRBP0AzG3/YQUdX55SJ3iW0Y4c0Vb/QXQFmty6oJKqT8iRntbYH/iu3nau3Bc ihfgtKHj5Zb72egkImd9oVtycKzK+9AyHZcM1asvZUbCDyrrgsYdEBBA8+Ke/LnFA3rL xBVJ0GOJMRJ5G78mJPqVrQ3JYzmZJfaSRvk5RElYCY5+paFLR01Hqwm24KKiwXbesUTQ QS5ncCZKJMcZ2TO4M/dv/smcHDieSKFoTlsz10BefBJdvXivHyqeOkR6nFVlPDhG0ehP Sw7Q== X-Gm-Message-State: AOAM531ITImY/ak0gLYjfGR8Ue9PaT1WqUYehuTpUwgQsFNqU2iEipoX eX8olcn0EfkZ7qDTJysmMhB6XU4HgUE= X-Google-Smtp-Source: ABdhPJwoWYh5PhPliBfG8H5wboq4WWGPqRvOPelXoeuP9fovodDPm/M0oiInbF/TBIMAomq7ThW26g== X-Received: by 2002:a17:907:728c:b0:6e8:a052:4f03 with SMTP id dt12-20020a170907728c00b006e8a0524f03mr10583893ejc.344.1650316754028; Mon, 18 Apr 2022 14:19:14 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u6-20020a17090626c600b006e74ef7f092sm4979973ejc.176.2022.04.18.14.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 14:19:13 -0700 (PDT) Message-ID: <413952d60ee9444bff89412751b8c7c97a0102a1.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 18 Apr 2022 23:19:12 +0200 In-Reply-To: <87fsmaumok.fsf@gnu.org> References: <9d4cc9d3ebb05d2aabf8f06e1890efe9b0b9a849.camel@gmail.com> <87o80zzagn.fsf@gnu.org> <87fsmaumok.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1650317325; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6IUAqPwhfWjQtCLVHx2iHhjeW3ag64msVxtxTs9RTwQ=; b=AZuV1fcATwXsB+eZJYnEiuQ7iW1HkLFpmggSLxLt2uTnmfdbAggjD+szWafZp4rPzB4CrJ L7LLp/v7jk/MNgaLtJb6kmRabncZN3RcYlLWHpklHnDl1ARNKLbhbh9f9DKHFlGYXKcfKb rVn1nZk3SSMBFGCmb//xiI8CmZNLvdNurxX2J5rd+IF60/DLuf011V+urC12v49FSKFUcK aa1Hw94LuT/ZEPj4Xzzg13wsYzbj1G9aCvG1lO3boK3I7MM/I9q7URz/ACHnuNWSQRpIEJ lBV8UhMFtTQFdM84sMNxqhb2ao+ZO7/NNzMrDHqfBicbwYV1EsbUsSWAVHd/VQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650317325; a=rsa-sha256; cv=none; b=h5f291Y3/WtRzyCEC/TPMG9J4qwshTXMTahMDhqOGe1qJmDxgKKx55VgFhBIaFDub9CkgZ qvpPxCwAe7uLEGpo2L0sfCqFcaz9aZEdupWHLcsC/PNTzR2Www2NxK56ngG0Kx4Y6FVlg8 i5P0Ug0ka2jDSVvDwPqqxBq91z2GKevPj/lGksOmNEElz003RYO1srS64IgOG+k7POhkmO +7ryjFc0i0iQsF8eDgk16U3pUkDalyg1QT87LPenucsUPVRtp9NNkXaT7VWubqdwM4x/+0 R6ro9OdzBj0/JFfUplRuoLO3HFM2CG6611jNysBpGEylSQ2fFojZc853ROdwrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gATiuwse; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gATiuwse; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8E9E49B54 X-Spam-Score: 5.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: fYkY3KNgPUsc Am Montag, dem 18.04.2022 um 23:05 +0200 schrieb Ludovic Courtès: > Hi, > > Liliana Marie Prikler skribis: > > > I'm not sure if updating the service is a good idea.  On the > > upside, people who report mpd starting too early will be alleviated > > of one issue.  On the downside, it appears as though mpd too easily > > escapes shepherd's management.  My current observations are more or > > less consistent with what I saw with Emacs: killing the mpd service > > won't stop playing music, > > Do you mean that ‘herd stop mpd’ doesn’t stop the mpd process? Yep. > What does /var/log/messages say? I don't think there's anything meaningful there to inspect, I'm running this as a user service. Shepherd's own logs are rather empty. Interestingly, the running value for the mpd service remains (("unknown" . "#")) even after MPD started. Should that be the case? > > and shepherd won't restart a killed MPD without asked to. > > Weird.  What you describe sounds as if shepherd is not looking at the > right process or something. > > If you have a service definition to reproduce this, I’d be happy to > take a look! The second is probably just me forgetting to set #:respawn? #t. One "bug" down, one more to go.