From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CLXYN1RaN2eaNwEA62LTzQ:P1 (envelope-from ) for ; Fri, 15 Nov 2024 14:27:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CLXYN1RaN2eaNwEA62LTzQ (envelope-from ) for ; Fri, 15 Nov 2024 15:27:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=jT6l3PVS; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731680852; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e3MdKFN8JiojzBlrngdPPMNvSwYs0N2vjxsd5MRaQXo=; b=M/MCn4echruz5UTFWBmKELwtqMzbWvO8WnzaDbUjnUcXlnHrzd+0yvV0dZUgz8meJWO0WF xG7IjfBk3IkStvGbjZjbLBFlJMbADjFoQUwkAFEu4RpjxY6WlDSIWggMCjtOif9672eopN 5r992HI0PYQlz4oeaqzlsVywlv/ahXP+ArWn5WTBKVCfSE5/lwG6BbF0y6UQjf7EzIThqn TyNTk3AnJ91GpCdExXwioy7+VCR03avAQkXWszybyKM7LY8GLmhosQs7HpEWVRRtGC6H0K 3Yg1UXCjm4AGbshR5fDz/oaiqxW5/U+bczPraUgWL9GYxE1JCK0s/Y/XGapTvQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=jT6l3PVS; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1731680852; a=rsa-sha256; cv=pass; b=TjUnLV6lL6UThZFLWzyEfOvIytiWxedlXQBa5mNMyU/ILMFsWQrOPOwzrffmbVrFujWeKF u8auBfhyP/vDFtmbVYfpyMQrAhbFRF0T99LBXlGDdaXj/Odo408Meltwirih9LzK7T6mSH k//n1Nb0I7aE2RbMpvbdW1Qx6AYJBApKDre7IFlOLAxMDjBOZasp1IPlAGTgMWkK86Kueq YVqjV0gSQO//bqsfttHkdXX5HIxf0+ldXtcSkpdrasObjZHX4R774UdkPdMzaFEQL8JrKK RyxPlCxd9owxLcbWg3+83b19tIJ3Lm64lSTDt+tqY6JeICFlwrvqiNfR1J8obg== 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 5B12581ABF for ; Fri, 15 Nov 2024 15:27:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBxHq-0000CX-PD; Fri, 15 Nov 2024 09:27:02 -0500 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 1tBxHo-0000CG-I6 for help-guix@gnu.org; Fri, 15 Nov 2024 09:27:00 -0500 Received: from sender-op-o11.zoho.eu ([136.143.169.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBxHl-0001BI-Qr for help-guix@gnu.org; Fri, 15 Nov 2024 09:27:00 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1731680813; cv=none; d=zohomail.eu; s=zohoarc; b=PDf/0MzGtVS9iy3qgOvvbZ7jnJfuMwzyNxFSYQ1UkZ5tRsVKjarK8tNIjBl7LLsdhplVfMkk+gaozNi9h3FspLLIU7S4cEn6m6MsqXLO1pwJXJiZgzdYcSL14EhcJVyn+wDUhvYtD4qFHDTLDDano3K4nBol3ggKD25qsbKpEh4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1731680813; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=e3MdKFN8JiojzBlrngdPPMNvSwYs0N2vjxsd5MRaQXo=; b=ZPAI8Jvs+VRLN2i5mWEG4lAAa3aehb5SFSPi5ZlO49VC7D/PE9m+VLZc1pWeQ8AmM5eIJT6e6T8+9VyfxMivdTlOSsot3FcJFBcIgh5K9C7QTxzoI8cSK6NZna7HnxrISdmwe2qVYgVZEdTfNQwBPMq3J1kR4qotDmHDyoVoLbI= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1731680813; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=e3MdKFN8JiojzBlrngdPPMNvSwYs0N2vjxsd5MRaQXo=; b=jT6l3PVSE4UgMWrlsiNOY606aUQ1twDc9EEaDhJdpEhUUr2Rbk69FwmGhQ+SZXMG UmPMQ7fCD+0HRoCKp3XCtxfv++iFe5i3LuE+EOmoA19MaCDTovVXPzB2f2ZATBDcfjZ 4+NW7eUdGKLR3mCaOTbTYC1KBaWvqOWMCVHwOShTfSyaZJF5Ok/ibKUcftaRlIOxNZc GmHqeNfP1907tDWdvhseilLxFUIzzLxwBIWVIfL5IYRK82P2U9dj4n6UGd0A5DuoxcC xC9nmHfH8gCYAxJJeUqWJ7LSsWBV+kjxM47q8SBzH6OAAloZLOYdjgZZuD2GDsEkzCw tGzQXbJuPw== Received: by mx.zoho.eu with SMTPS id 1731680810154271.04745319566484; Fri, 15 Nov 2024 15:26:50 +0100 (CET) References: <87plmxzfb4.fsf@simendsjo.me> <87o72ghkad.fsf@rdklein.fr> <99904633-2445-401a-afe9-93034886218c@app.fastmail.com> User-agent: mu4e 1.10.2; emacs 28.2 From: Edouard Klein To: Simen =?utf-8?Q?Endsj=C3=B8?= Cc: help-guix@gnu.org Subject: Re: Software running in a container fails when using fontconfig? Date: Fri, 15 Nov 2024 15:24:48 +0100 In-reply-to: <99904633-2445-401a-afe9-93034886218c@app.fastmail.com> Message-ID: <87frnsh8ti.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.169.11; envelope-from=edou@rdklein.fr; helo=sender-op-o11.zoho.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.03 X-Spam-Score: -4.03 X-Migadu-Queue-Id: 5B12581ABF X-TUID: FCWw4c1xDKB3 =C2=AF=E2=81=A0\=E2=81=A0_=E2=81=A0=CA=98=E2=81=A0=E2=80=BF=E2=81=A0=CA=98= =E2=81=A0_=E2=81=A0/=E2=81=A0=C2=AF https://xkcd.com/763/ If it works, it works ;o) Simen Endsj=C3=B8 writes: > Thanks, but it didn't quite work. It did however trigger a state where I = can avoid the bug. > Instead of the embedded html showing directly, I get a warning stating th= at it > is disabled because of security. I can choose to disable the sandbox, and= the > application restarts, showing the html, crashing again. So I can just not > disable the sandbox and avoid triggering the bug. > > On Fri, Nov 15, 2024, at 11:17, Edouard Klein wrote: >> Hi, >> >> This may miss the mark wildly, but I remember having trouble with >> fontconfig in a container a few months ago and solving it with >> --emulate-fhs maybe this is worth a try. >> >> Cheers, >> >> Edouard. >> Simen Endsj=C3=B8 writes: >> >> > Hi, I'm packaging a piece of software which crashes when launching >> > chromium embedded framework. >> > >> > The error is >> > Fontconfig error: Cannot load default config file: No such file: (nu= ll) >> > >> > I found a similar issue for Nix which suggests the error is caused by >> > fontconfig not being installed globally and suggests a patch: >> > https://github.com/NixOS/nixpkgs/issues/176081#issuecomment-1145903568 >> > >> > I tried creating a symlink at /etc/fonts/fonts.conf, but while I get >> > further, it still crashes. >> > >> > sudo ln -s ~/.config/fontconfig/fonts.conf /etc/fonts/fonts.conf >> > >> > Fontconfig warning: no elements found. Check configuratio= n. >> > Fontconfig warning: adding /var/cache/fontconfig >> > Fontconfig warning: adding fontconfig >> > Trace/breakpoint trap >> > >> > /var/cache/fontconfig is on a read-only filesystem, so I cannot >> > experiment with adding it there. >> > >> > I tried adding all fonts and fontconfig to my system configuration, but >> > this didn't generate /etc/fonts/fonts.conf nor /var/cache/fontconfig/*. >> > >> > Unfortunately, I haven't been able to test the Nix patch as my naive `= -L >> > ~/code/guix` fails to compile various modules. >> > >> > Any input before I spent a lot of time trying to get this Nix patch wo= rking? >>