From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IJbnFmYeHmQ8bgEASxT56A (envelope-from ) for ; Fri, 24 Mar 2023 23:04:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2D3OFmYeHmQ/eAAA9RJhRA (envelope-from ) for ; Fri, 24 Mar 2023 23:04:22 +0100 Received: from lists.gnu.org (unknown [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 217223B5C7 for ; Fri, 24 Mar 2023 23:04:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfpTF-00045N-2W; Fri, 24 Mar 2023 18:01:13 -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 1pfpTC-00041u-Jw for guix-patches@gnu.org; Fri, 24 Mar 2023 18:01:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfpTC-0000eY-2c for guix-patches@gnu.org; Fri, 24 Mar 2023 18:01:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pflsU-0000r8-8D for guix-patches@gnu.org; Fri, 24 Mar 2023 14:11:02 -0400 Subject: bug#62298: [PATCH v2 6/8] services: mpd: Set PulseAudio related variables as default value for environment-variables field. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 24 Mar 2023 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal Cc: 62298-done@debbugs.gnu.org, ludo@gnu.org, liliana.prikler@gmail.com Mail-Followup-To: 62298@debbugs.gnu.org, maxim.cournoyer@gmail.com, mirai@makinata.eu Received: via spool by 62298-done@debbugs.gnu.org id=D62298.16796814563271 (code D ref 62298); Fri, 24 Mar 2023 18:11:02 +0000 Received: (at 62298-done) by debbugs.gnu.org; 24 Mar 2023 18:10:56 +0000 Received: from localhost ([127.0.0.1]:41323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pflsN-0000qh-Qt for submit@debbugs.gnu.org; Fri, 24 Mar 2023 14:10:56 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:44877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pflsL-0000qR-9B for 62298-done@debbugs.gnu.org; Fri, 24 Mar 2023 14:10:53 -0400 Received: by mail-qt1-f173.google.com with SMTP id s12so2224888qtq.11 for <62298-done@debbugs.gnu.org>; Fri, 24 Mar 2023 11:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679681447; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YIYSyeRjDOFuEOGdpJjzmTSMgUi8wtrcjgShnk5tHmI=; b=G2WR/8+R4B6HSd1sU5tibogfLV+5SRo+5MGtHWjj7+r0JXjGaYUkWn8rpZXRAQekcw vx2Myi6TAbRbECL6bhsAPKPIDF7QpdzucPqyIUr5K1CASDY+EcG4Pe22r3Zmz9HVUWWB eMdDj/zv8edBwm9YZOZDMHCz48ECYiv4myk/eCl9uJ+op9O1qUqxuERf5GPvQdVlztyA uevTctykb4NxEzPq922EGOvvhr+6Wc8oYbCefUm4H/kEmfovIHCQJybqY8ytocf/vISZ 1QLnyMh3H34DCAPqahJAB7WMTmE83IJ0IDA/IBBmhPZ++1QS5xz/Sxl+5cVfb3cqUNpW FOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679681447; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YIYSyeRjDOFuEOGdpJjzmTSMgUi8wtrcjgShnk5tHmI=; b=VLAeN9DAem8YrgUt3/3rgZ+eWOZBSnD56Ic0s6EfRoYEsK/Uv+r9n/GBeR3IALxZEH 1HgqqacvQy29ItAK4NcX1IWHOCI2USvD4B6TgPjkpsKUriU/WQXS0+O0xSDIIUu6+RqX hwMtMhP1GUf0CvWDnbD1VVaZssLMhoaFUUn1+XpoFdZfYH4X91qkVtdCpDECx52Psiqw LD2xkSxFfqbObtYhZoWaTM9qphVy5UF0P4aN3KuyXxu6y4AaYMqIGlFSOUWMgjz11TzE Km3rkw80KamIvUzEHvm3h+ibl7MN1qhNY9qwYKzU+h2rCaEi69F3vqa/X7l1g6Wdo2pj jgkw== X-Gm-Message-State: AO0yUKUpWGJ6BVJ7vY2/N34Fr/Z4O96qi13alyEKXxhHhEGR42xe5APS Wl0MrSCiKPtUn/SdtCsWeEk= X-Google-Smtp-Source: AK7set9txxs/yGwKQXN7WFdZw1MWJ4lPgtEGaxObUac1XoX1O6+j1C1k+NtAtKCnXOthMULvabV2hg== X-Received: by 2002:ac8:4e42:0:b0:3df:8602:b45c with SMTP id e2-20020ac84e42000000b003df8602b45cmr18396138qtw.17.1679681447642; Fri, 24 Mar 2023 11:10:47 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id c23-20020a379a17000000b007436d0e9408sm9424027qke.127.2023.03.24.11.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 11:10:47 -0700 (PDT) From: Maxim Cournoyer References: <1fd17a12b40197d1a9d1de8f1d762c86649c7a0a.1679583701.git.mirai@makinata.eu> Date: Fri, 24 Mar 2023 14:10:46 -0400 In-Reply-To: <1fd17a12b40197d1a9d1de8f1d762c86649c7a0a.1679583701.git.mirai@makinata.eu> (Bruno Victal's message of "Thu, 23 Mar 2023 15:02:16 +0000") Message-ID: <87r0texbo9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679695462; a=rsa-sha256; cv=none; b=N1AEmVPuDPo19uwf7wtUh9tVhsJQWDSB9QFlwbfS4gKiiKbI+rbzMAwAllt5WN7YQooVh4 iZbGH+qZ9usWjHzPdidHSdleWMizMahSjT/CZ7teQaFDaMgX8gUCS3O7iZ+BEsWgL476+2 pUnmwNoomohE5E3uqvJ+FYL/Wjh6P4fssdUkWX4uqqBu0muHmmDkhJw1iQYI7Jd8kHmBKT wmhls+LJrBGo25BzHFBgkOstQnZdbpKhLoo8jvhkr4FoQCAzqoGO2EokCD0LeJT4F5iG42 aZcaPA0hn91yCAIXl+dJdB1iAgaxJNRGXmwJFdM9CvxY9/m0CSL2wAKaoHNApw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="G2WR/8+R"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679695462; 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:resent-to: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=YIYSyeRjDOFuEOGdpJjzmTSMgUi8wtrcjgShnk5tHmI=; b=YuUiQDhg94M27m5BMg8B51C8Paq4oSIMYTaPBAwzkwLVsHdwmNLudY2V1cBYlGPV1zKK6G 8l3q8LuCn2WYlgLW+dtcGfjipNK1xkrIYb9pAM9dReNuoGmFEsN0vvEn+0THFc3+Ni2JFk p7MuJhhN1YFwdzajLcqzgRzs0/cGwyTmgzSIz1T7AKp8MqeUOL/rckcWXo+w7eTPx2KPli 3528f+VK58mIwb5/WUoJBLaXGge1ZvSPZSWiG6zRb4ndQbgsgEr2QX1kVPJpEuztem6oMc DhMdWN2tJeo0UMGj7e57/D35EZyu0RVStiQky5qzUMhuG9JjfpqxL4Fttjl2lg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="G2WR/8+R"; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 3.36 X-Spam-Score: 3.36 X-Migadu-Queue-Id: 217223B5C7 X-TUID: HOmmpYS3Bab+ Hi, Bruno Victal writes: > These variables are necessary for PulseAudio to work properly out-of-the-box > for 'non-interactive' users. > * doc/guix.texi (Audio Services): Update environment-variables field description for > mpd-configuration data type. > * gnu/services/audio.scm (mpd-configuration)[environment-variables]: Set > PULSE_CLIENTCONFIG and PULSE_CONFIG environment variables to the system-wide > PulseAudio configuration. > --- > doc/guix.texi | 2 +- > gnu/services/audio.scm | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 2b62605b51..af9f7d78c0 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -33501,7 +33501,7 @@ Audio Services > This is a list of symbols naming Shepherd services that this service > will depend on. > > -@item @code{environment-variables} (default: @code{()}) (type: list-of-strings) > +@item @code{environment-variables} (default: @code{("PULSE_CLIENTCONFIG=/etc/pulse/client.conf" "PULSE_CONFIG=/etc/pulse/daemon.conf")}) (type: list-of-strings) > A list of strings specifying environment variables. > > @item @code{log-file} (default: @code{"/var/log/mpd/log"}) (type: maybe-string) > diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm > index 56ea2f8638..198157a83b 100644 > --- a/gnu/services/audio.scm > +++ b/gnu/services/audio.scm > @@ -361,7 +361,8 @@ (define-configuration mpd-configuration > empty-serializer) > > (environment-variables > - (list-of-strings '()) > + (list-of-strings '("PULSE_CLIENTCONFIG=/etc/pulse/client.conf" > + "PULSE_CONFIG=/etc/pulse/daemon.conf")) > "A list of strings specifying environment variables." > empty-serializer) Installed, thank you! -- Thanks, Maxim