From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OK9hL4KNXGL+cgEAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 23:58:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MOb0K4KNXGKPaAAAauVa8A (envelope-from ) for ; Sun, 17 Apr 2022 23:58:26 +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 68E439735 for ; Sun, 17 Apr 2022 23:58:26 +0200 (CEST) Received: from localhost ([::1]:58556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngCuX-0006Pm-Hu for larch@yhetil.org; Sun, 17 Apr 2022 17:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCuA-0006Og-Al for guix-patches@gnu.org; Sun, 17 Apr 2022 17:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngCuA-0007RC-2h for guix-patches@gnu.org; Sun, 17 Apr 2022 17:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngCu9-0003OZ-W2 for guix-patches@gnu.org; Sun, 17 Apr 2022 17:58:01 -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: Sun, 17 Apr 2022 21:58:01 +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.165023265213010 (code B ref 54986); Sun, 17 Apr 2022 21:58:01 +0000 Received: (at 54986) by debbugs.gnu.org; 17 Apr 2022 21:57:32 +0000 Received: from localhost ([127.0.0.1]:37497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCtg-0003Nm-4l for submit@debbugs.gnu.org; Sun, 17 Apr 2022 17:57:32 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCte-0003NW-H9 for 54986@debbugs.gnu.org; Sun, 17 Apr 2022 17:57:30 -0400 Received: by mail-ed1-f67.google.com with SMTP id s25so15254212edi.13 for <54986@debbugs.gnu.org>; Sun, 17 Apr 2022 14:57:30 -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=0yCxicjH3uL65u/ioktzIcaWY2t4KOzuOplkkFS9ws0=; b=j71joEqjKy/mStBP4pk3eiDk4DFxaIVBAev5kTtOO1RDzc3QnCgEiCj1Oariyysuer H4TT3CYVPz6IqQUziNAzrNTmcV1yq/lwHuKYQL/8qkRbLONgapM+r53nQ+JnZlsT55NL fd61FsfsHEx5MHNRJLD8F2nr12h3DDdZ5ehzh8qoZ/X3AGouOgy7npbm1ggQFFF+2pdB zO6dzptjdXTdz/09w4VKQ4kh8lRfv+mWxLzaNFIFnkhz/IIGvku3KMBXuieNH4pzMLj2 y55LFRhMGDmuw9BdK4RC28+O9KUMFHIuqGph1ReOn6cF6no3QEtbMauIBiIFNph40K1J q66Q== 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=0yCxicjH3uL65u/ioktzIcaWY2t4KOzuOplkkFS9ws0=; b=cNw2UCKV3ZSaRAjm6rZSkVPUlVn9ubwwcNmxiGxA237vKJyC4+nfRtMHQPXAT/yNNH qhCii42umii5G7NQGdft+28LR7saVrHgK/GovES3v9d4AzEApaMkMja3CNqDP17e64hZ VJA4w97Uq0TmLPCeY6bRtehGbg7NFqU4Y/lMFOsLhYLzBeV8jl9Zr5ipiM4mwO0V7VNL 8bCI7OG7LS/xGsuhW+UtDu8voR9x2o2BCnt7koaCYwnEhABiXnAhbfJgBfVYtdYsiRa1 mDxsUsA728H+eoxCfm6vpJquSK93JIBbP+dppGb8kcPGEVhgPIY/041zI3R8moFvuiGK tIfw== X-Gm-Message-State: AOAM530HSuob7iEfS3zuTMrWm8tSwHwPvUBtXvX1pruoGdZs0WbDrdbU APxJalp8U9HSvyvi9OvmwcA= X-Google-Smtp-Source: ABdhPJwMVuNe3ykAI5Y47zr4Dob1tDgMr341Z2Nk/Ihfrpg0k/tavCYT558SpZwaW9KooRo8PFUhqw== X-Received: by 2002:a50:871e:0:b0:41d:77c0:6927 with SMTP id i30-20020a50871e000000b0041d77c06927mr9388462edb.354.1650232644560; Sun, 17 Apr 2022 14:57:24 -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 o24-20020aa7dd58000000b00420ca195de9sm6013574edw.25.2022.04.17.14.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:57:24 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Sun, 17 Apr 2022 23:57:23 +0200 In-Reply-To: <87o80zzagn.fsf@gnu.org> References: <9d4cc9d3ebb05d2aabf8f06e1890efe9b0b9a849.camel@gmail.com> <87o80zzagn.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=1650232706; 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=0yCxicjH3uL65u/ioktzIcaWY2t4KOzuOplkkFS9ws0=; b=I5fNhCnYzjA925/hzS9b6IQYRglGEqrABKjbVLlGdBYc4FiywtqmroCzUKq2IsbXh9Enon dTk/fO3p/N2U+dL8puCn26ohRPFiH7WvN8m5ekUCCM1Og9qTmX5CwLSBFc8RI1yBqLrV39 XNfTFonxsGXvWuLpaNmkHk4e/q7hU5hN5qRkf13C+de+j7prCOgiMagjFSBZ1rAHlrB1gr 8IGlQ7zB2KFWcIZ6aiHDm6oeXivWHqbxJZGID2aWVbhvGpSINawG3Akkjf+/XOaKckBHdW 8wXancKbAS4Hnelhfl5V/Xmyb2kgxnhpIOJunKRysMugZjvTXrOhOeUG/u7mqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650232706; a=rsa-sha256; cv=none; b=BSdM7pfHlapxi6krlJqRzqk4w4wkcHNUDVQ9hYuqZwIG2a/jhphVRyE4iG5KCIwEOC5FVU 2YgJ9P9lNiXF25TcSwNILe37tTHj6rPSCdrSKDuwoMxkjDoMQ08uE5Wbl53F2u5+bCMI6G Fc1YQOKJy81kCX8bkBOmjGpSQFIv3b3Gb0AlKnagBDWNPNQCcsHK6BYsYNGNhUsLtErWSo L2wk2qDCoSJ0SmgMl/J9qt/RqATzjHIuqHrBOAro0HFziV3HBVKhF0Bqx5P8LAtvYTCHGM Bmx/B7NSfUHjXfNhYb9PjnjGlIQ3vf0y0Oz5Lw7Ja8ZMq3lVkoeZ968xuO+pfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j71joEqj; 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: 7.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j71joEqj; 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: 68E439735 X-Spam-Score: 7.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3rm5eGClm6Z4 Am Sonntag, dem 17.04.2022 um 23:06 +0200 schrieb Ludovic Courtès: > Hi, > > Liliana Marie Prikler skribis: > > > * gnu/packages/mpd.scm (mpd)[#:configure-flags]: Convert to G- > > Expression. > > Add “-Dsystemd=enabled”. > > [#:phases]: New argument. > > [inputs]: Add elogind. > > LGTM! > > Are you planning to update the service as well? 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, and shepherd won't restart a killed MPD without asked to. IMHO shepherd's socket activation still needs some work before we can make it the default for every service. Cheers