From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SJm8JSH0RmK4swAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 14:46:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iO5gHiH0RmIoZAEAG6o9tA (envelope-from ) for ; Fri, 01 Apr 2022 14:46:25 +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 0ACDC35548 for ; Fri, 1 Apr 2022 14:46:25 +0200 (CEST) Received: from localhost ([::1]:40998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naGfX-0004QM-AK for larch@yhetil.org; Fri, 01 Apr 2022 08:46:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naGfC-0004Q7-Nm for guix-patches@gnu.org; Fri, 01 Apr 2022 08:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naGfC-00007M-F0 for guix-patches@gnu.org; Fri, 01 Apr 2022 08:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1naGfC-00056S-Dc for guix-patches@gnu.org; Fri, 01 Apr 2022 08:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber Resent-From: fesoj000 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Apr 2022 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54379 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: mail@brendan.scot, Kevin Boulain Cc: 54379@debbugs.gnu.org Received: via spool by 54379-submit@debbugs.gnu.org id=B54379.164881711819559 (code B ref 54379); Fri, 01 Apr 2022 12:46:02 +0000 Received: (at 54379) by debbugs.gnu.org; 1 Apr 2022 12:45:18 +0000 Received: from localhost ([127.0.0.1]:41094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naGeT-00055P-Nz for submit@debbugs.gnu.org; Fri, 01 Apr 2022 08:45:18 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:42958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naGeQ-000555-Vd for 54379@debbugs.gnu.org; Fri, 01 Apr 2022 08:45:16 -0400 Received: by mail-ej1-f44.google.com with SMTP id j15so5573674eje.9 for <54379@debbugs.gnu.org>; Fri, 01 Apr 2022 05:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=TgkwsmeHJCU9/wb4/skNUlEjvVGjRciAr2Cbo9Ow8lI=; b=QfyNkfZdhc7KybsrIO9rFGq9QjbjAZ+npKdW2jBuzpzq0Fw5XQJvv8gBifx3UdGXf8 DSYeHrQG6jtybPaKY6xOr0R4z+DQ07KMraocur+bp+M8XWvYxYwRwXKdGrw0KyhtGtIm BGOe2iBYNWQ3XJUScB8JkAsEla9Q9EGxHyTskgBa2/kXOcD6MW72TKEz0yc84KlXkoCA gl5o+RbGlqSQf8UnEMRLy6FlVOU9kKPALX3xNVdU84Kf+hfYSfLdkOsmtf12f00i1Zj5 dnZ6vwUdBv9/odeDQoeP60VSh5bUhlJ4ymHKuG6IvSL3oNT4Vx5HiteLJWk6CQqGtXes tiGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=TgkwsmeHJCU9/wb4/skNUlEjvVGjRciAr2Cbo9Ow8lI=; b=1Y84RAJRrucJoFDGGszepKrnlEFnPisXif7d+zM4fpsdDjBU9vlzNTTTkCwt89piEn FrmfV3O8nGpphNJ9hsa5QxH/Oc3lspKJH3c1QYqK/+hh+yUyGWnboh++1lOVAm+Vp//x uhDJbpmoGQ5NNcyNsdBjW+SM591gqHvuw7YsrvSL/vN3ad+rEHzWxCtLV5JHx6Es65zC bN4PFivQtak2XlN/J5pEjAtyacbQCJDs7AY8iCK9Hgu0koFOjfA2mInqOOg1mv0pbDzS 7xI6tDvIsaoVhpoTLlv360FoxKTp6BO8o146tgw2SJ0K4Vb9ya/233ml3iNENku9bjma Pxww== X-Gm-Message-State: AOAM532cgyk1XPpoureABEF5DJvltNBEEFRyJWM/63j1bZbnDeLJboc6 c5a0W4lCi21xZEy27Tqdb0Q= X-Google-Smtp-Source: ABdhPJzQVzIxKd68a3/BJHa1v0PuOQ2KjY4/rc1FmHU547GmXiYP/oMIlSChtmT+BOH2+piksYaV6A== X-Received: by 2002:a17:907:7da5:b0:6e4:e40f:60a0 with SMTP id oz37-20020a1709077da500b006e4e40f60a0mr1045215ejc.486.1648817108813; Fri, 01 Apr 2022 05:45:08 -0700 (PDT) Received: from ?IPV6:2003:ee:af17:e500:28ec:98fe:41f8:41e6? (p200300eeaf17e50028ec98fe41f841e6.dip0.t-ipconnect.de. [2003:ee:af17:e500:28ec:98fe:41f8:41e6]) by smtp.gmail.com with ESMTPSA id cw1-20020a170906c78100b006e11214c81bsm1009211ejb.172.2022.04.01.05.45.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Apr 2022 05:45:08 -0700 (PDT) Message-ID: Date: Fri, 1 Apr 2022 14:46:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US References: <1926705393.215334.1647246338511@office.mailbox.org> <5b0c276c-f5da-f6e3-8b42-7378436acfb4@brendan.scot> <9e3cf473-b735-1d02-c5da-d1a53e3618fc@brendan.scot> From: fesoj000 In-Reply-To: <9e3cf473-b735-1d02-c5da-d1a53e3618fc@brendan.scot> Content-Type: text/plain; charset=UTF-8; format=flowed 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=1648817185; 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=TgkwsmeHJCU9/wb4/skNUlEjvVGjRciAr2Cbo9Ow8lI=; b=EFVuFBiMj5RpzL5H6wAfSYb3TstRYbMxLd13SlgCmZDXQ52cd+Kqr3l125z4kZZSg0Qrwb G1XS8K5FW+xrp9HSoV0edsGNL/lOoYkArya/JYfNldFlYGlKIZGXZc1IDSP0ZKgbOV+SKB oGnLUm3QEuJlXtWlIWxnve7PE8mVTdxN2uM4ZynbT5RWXobaobjEGITKwUA3g9/ZezJ66B Tghimge8x4STZruu813WZ2aWZ+Rby9fTF8G9YrdEOGVMcr8W16olQrtcBrSQtmaJxSV4tV i+90MCObuSyAsZR66auyixopusM57kWcv6967M55H7wWMAJZYo5asWPQ2ZLFuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648817185; a=rsa-sha256; cv=none; b=kt0g08voVrSzeZ7Na7fYiV5gtnQULptF2AMPk7BBWhlBrPhti1IIVcA4ebbYPrxWv66O41 42GDS8jasZLvPDMdK7/WZKhEzvsK4fBQ3t557wBZx7FnzVIAgq4t8gwitxB+ScwFk63gpN OtZl7ep9ggaVzF+oJkc/I4SWcMDYEWnDhBf4DcMcaojfZNa/Rxbv6uyJjrh4Q6FSHD1gtm VDRt7N6VgdzfeMJBaRWYBeahWk16/PT+S6cPRPoDI+/4BuvdYGCfrpIEwgPLGXqQOcimrC PkGDgXcMtqqffXNo51MQwS3/q0nQ7TXZqkx78Frq5j1llWb5FTXyNSODo+uEJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QfyNkfZd; 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.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QfyNkfZd; 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: 0ACDC35548 X-Spam-Score: 5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: P7Jv4FC4Oteq On 3/31/22 7:40 AM, Brendan Tildesley wrote: >> So far it was perfect to have the immutable default config in the store and reference it for your own >> settings. Especially after a breaking change in pipewire, this immutable config in the store path can be >> very valuable to get a working setup again. >> >> I do not care what the default config directory is, but i would like to keep the default config as part >> of the package. >> >> BR > You don't need to worry about that because the default config is in share/ not etc/. There is nothing in the etc/ besides ld.so.cache > > This is how pipewire accesses config without sysconfigdir set: > > b@jiu ~/code/guix [env]$ strace /gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/bin/pipewire 2>&1|rg '^access' > access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/etc/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/share/pipewire/pipewire.conf", R_OK) = 0 > access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/share/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/etc/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > > setting it just makes it do this: > > b@jiu ~ [env]$ strace pipewire 2>&1|grep '^access' > access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/etc/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or directory) > access("/gnu/store/p7wpq9axacrzk43whbvg6r4f3v0bkyvz-pipewire-0.3.48/share/pipewire/pipewire.conf", R_OK) = 0 > access("/gnu/store/p7wpq9axacrzk43whbvg6r4f3v0bkyvz-pipewire-0.3.48/share/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/etc/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file or directory) > > So it allows for global config to be set in /etc without PIPEWIRE_CONFIG_DIR. Note that PIPEWIRE_CONFIG_DIR isn't practical as a default > > because it sets the /only/ config dir and prevents any lookup in home .config. OK, that make sense.