From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#34135: IceCat lacks WebGL support Date: Mon, 21 Jan 2019 10:54:24 +0100 Message-ID: <874la2l4j3.fsf@gnu.org> References: <87o98cr6kx.fsf@gnu.org> <20190119180750.13c17654@lepiller.eu> <87womzlzhm.fsf@gnu.org> <87d0oqe7u2.fsf@elephly.net> <7A88B01C-EAB9-47BA-98EC-16F91C7993E7@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glWIO-00076d-3q for bug-guix@gnu.org; Mon, 21 Jan 2019 04:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glWII-0007A0-IL for bug-guix@gnu.org; Mon, 21 Jan 2019 04:55:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glWII-000794-Ea for bug-guix@gnu.org; Mon, 21 Jan 2019 04:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1glWII-0006Qo-1R for bug-guix@gnu.org; Mon, 21 Jan 2019 04:55:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <7A88B01C-EAB9-47BA-98EC-16F91C7993E7@lepiller.eu> (Julien Lepiller's message of "Mon, 21 Jan 2019 09:49:43 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Julien Lepiller Cc: 34135@debbugs.gnu.org Julien Lepiller skribis: > Le 21 janvier 2019 09:24:53 GMT+01:00, Ricardo Wurmus a =C3=A9crit : >> >>Ludovic Court=C3=A8s writes: >> >>> Hi Julien, >>> >>> Julien Lepiller skribis: >>> >>>> Try setting security.sandbox.content.read_path_whitelist to >>/gnu/store/ >>>> (with a leading /) in about:config. >>> >>> Setting it to =E2=80=9C/gnu/store/=E2=80=9D (with a trailing slash) wor= ks, thank you! >>> >>> It turns out that setting LIBGL_DRIVERS_PATH is even unnecessary. >>> >>> I suppose we should patch the default value of >>> =E2=80=98security.sandbox.content.read_path_whitelist=E2=80=99 in our p= ackage. What >>do >>> people think? >> >>It isn=E2=80=99t much of a sandbox if all of /gnu/store would be permitte= d.=20 >>Can >>this be reduced to the paths of store items that are known at build >>time? > > You'll have to list every library and there dependencies. Is that > possible? That would be possible, yes, though we=E2=80=99d have the build-time dependencies rather than the run-time dependencies (since we cannot know the run-time dependencies until IceCat is built.) That said putting all of /gnu/store wouldn=E2=80=99t be that bad I think=E2= =80=94at least user data remains inaccessible, which is much better than exposing /usr on FHS distros. Thoughts? Ludo=E2=80=99.