From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WPBtHI5G/F6SRwAA0tVLHw (envelope-from ) for ; Wed, 01 Jul 2020 08:17:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AGFFGI5G/F6ANQAAB5/wlQ (envelope-from ) for ; Wed, 01 Jul 2020 08:17:18 +0000 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 92042940390 for ; Wed, 1 Jul 2020 08:17:17 +0000 (UTC) Received: from localhost ([::1]:44732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqXve-0006uk-TL for larch@yhetil.org; Wed, 01 Jul 2020 04:17:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqXuU-0005F9-N5 for bug-guix@gnu.org; Wed, 01 Jul 2020 04:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqXuU-0001Uu-CD for bug-guix@gnu.org; Wed, 01 Jul 2020 04:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqXuU-0008Mt-55 for bug-guix@gnu.org; Wed, 01 Jul 2020 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42118: Editing pulseaudio config file fails with "No such file or directory" Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Jul 2020 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42118 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nathan Dehnel Received: via spool by 42118-submit@debbugs.gnu.org id=B42118.159359131132106 (code B ref 42118); Wed, 01 Jul 2020 08:16:02 +0000 Received: (at 42118) by debbugs.gnu.org; 1 Jul 2020 08:15:11 +0000 Received: from localhost ([127.0.0.1]:52245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqXte-0008Lm-SX for submit@debbugs.gnu.org; Wed, 01 Jul 2020 04:15:11 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:20186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqXtZ-0008LX-Qn for 42118@debbugs.gnu.org; Wed, 01 Jul 2020 04:15:09 -0400 Received: from nijino.local (193-81-159-42.hdsl.highway.telekom.at [193.81.159.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49xYtZ3B8Nz1LLyf; Wed, 1 Jul 2020 10:15:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 49xYtZ3B8Nz1LLyf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1593591302; bh=79erBCvUvV2OqcM/g+w9iVakr9JmHajRO2J6oRHHzjI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=hrlXAAEjEWNz4ZCLkoTWXeuiwhygx3HqlTwxkqSmrIQwhDYDZF/kCYd38r9UoUTjH fs4Tr0ms+YQ5P3r7DCkZhjUncop5nqci16C4XuRjPzAxvPRjhQO6EqtqDR/05IfLp+ zLjnz1ChIB+p3Ml7oKQN+fKe7PGdZ+Z/dtrCkvKA= Message-ID: <346a83e1452455cbcf58c97cd260f571cd4af278.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 01 Jul 2020 10:15:01 +0200 In-Reply-To: References: <8bba5017b0c04cb4c92d25a855bf4d70986aa8bd.camel@student.tugraz.at> <8104d8d87ddfcd1572dd6e0dd553a2fcaa7483f0.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42118@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=hrlXAAEj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: wPFBfxc6KybD Am Mittwoch, den 01.07.2020, 01:58 -0500 schrieb Nathan Dehnel: > There is a file 86cvvgnb03cc11li0m0s3nrl73zf68fm-default.pa with my > changes in it in /gnu/store. > > load-module module-jack-sink > load-module module-jack-source > > Maybe pulse wasn't compiled with support for this feature enabled? > > This setting in /etc/pulse/daemon.conf points somewhere else: > ; default-script-file = > /gnu/store/y0lbm4qcxm3i8i7q1msp0ng1pysg8pb9-pulseaudio- > 13.0/etc/pulse/default.pa > I assume guix overrides this somehow? I don't think so. The relevant code portions are in gnu/services/sound.scm and read among others: (define pulseaudio-environment (match-lambda (($ client-conf daemon-conf default-script-file) `(("PULSE_CONFIG" . ,(apply mixed-text-file "daemon.conf" "default-script-file = " default-script-file "\n" (map pulseaudio-conf-entry daemon-conf))) ("PULSE_CLIENTCONFIG" . ,(apply mixed-text-file "client.conf" (map pulseaudio-conf-entry client-conf))))))) Due to a bug with webkit sandboxing, we no longer put daemon.conf into /etc/pulse (my bad), but rather set PULSE_CONFIG to directly point to it. As you can see, `default-script-file' should be set to the file you're supplying. I am currently unsure, at which point this variable gets updated (I still think you need to reboot), but I'm pretty convinced, this would work with a custom script file. Regards, Leo.