From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 8FGBN/DyM2I0JgEAgWs5BA (envelope-from ) for ; Fri, 18 Mar 2022 03:48:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ULdBNPDyM2IdGgEAauVa8A (envelope-from ) for ; Fri, 18 Mar 2022 03:48:16 +0100 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 7871CB265 for ; Fri, 18 Mar 2022 03:48:16 +0100 (CET) Received: from localhost ([::1]:44940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nV2f1-0002fR-Ec for larch@yhetil.org; Thu, 17 Mar 2022 22:48:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV2eq-0002eH-2I for bug-guix@gnu.org; Thu, 17 Mar 2022 22:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nV2ep-0005tS-Pp for bug-guix@gnu.org; Thu, 17 Mar 2022 22:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nV2eo-00085N-J1 for bug-guix@gnu.org; Thu, 17 Mar 2022 22:48:02 -0400 Subject: bug#47628: webkitgtk-2.32.0 fails to launch without /usr/bin Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 18 Mar 2022 02:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47628 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Mail-Followup-To: 47628@debbugs.gnu.org, maxim.cournoyer@gmail.com, mhw@netris.org Received: via spool by 47628-done@debbugs.gnu.org id=D47628.164757163929690 (code D ref 47628); Fri, 18 Mar 2022 02:48:02 +0000 Received: (at 47628-done) by debbugs.gnu.org; 18 Mar 2022 02:47:19 +0000 Received: from localhost ([127.0.0.1]:55833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV2e7-0007ig-4h for submit@debbugs.gnu.org; Thu, 17 Mar 2022 22:47:19 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:41626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV2e5-0007fb-LK for 47628-done@debbugs.gnu.org; Thu, 17 Mar 2022 22:47:18 -0400 Received: by mail-qv1-f45.google.com with SMTP id gh15so1025326qvb.8 for <47628-done@debbugs.gnu.org>; Thu, 17 Mar 2022 19:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jvLiLqVlqke7AxsPOBAxME4IX0GfGQu32Q9zadqGqdE=; b=oeDP2akHIZXwRXvVln9aTC0sk7rXtaLbVCLwXHyfiSJUMjGVYsxZIjRc/3il9S7691 2OOXWUxL89NlSy3sqh/8r3NJrcatFqEYx235xAqXNOcK87B30omB/I8/YLZOw8vSfgCZ FZ/mQ1kAyjaCDV8G9Funy5JbAZRkpqyfUFBhq4bsogVXebwNveCWhVwvTBhJCdjlUMGB XvLOySuK2jvV6DpOee6JVInmbycHVa8TonqiMEYgFelKn+XsZ44PA1jzdmryJFYpmP9z epkmbBHoXmpBPUv7QyhAZygYXtXHPDsbeUkJwjA3h9lwAiVK8qgz3Kv76Xh8Tm56qCVG hGWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jvLiLqVlqke7AxsPOBAxME4IX0GfGQu32Q9zadqGqdE=; b=mNBUgw+kQehjzeQLIu6lVODgS1NpeuWnb4FH5DQbpVScbDimMN65ljZiofab3VMsFn DjOaEaygtmclYyER+bcuM0OtIRBqkSSCvCTU6EmwCTGVdv62TrZq0/pUUwDIOhpyc6ol FBd09Ssuu85Bol5QwcOJQJHuZKnN2HSZXjeHknk6A2wtE/trhq4zNPG8N/oZvlwMVOPR c3z98fRjEkzuNljLlXhf9S9DlaJcAO/Fdk5bfzTCt6/0z3+vRxmrfwvmeVjMeOs+cF2J y85+LLoYI4R7jnBbtRLA9MFlD6LrfgaVw3gSxOltcgmxFj61N9ejzSHS+E5gSwqe+XwU T2cA== X-Gm-Message-State: AOAM533UlbSxI5Uajee38gq6a2cixZBZcUEKIgSmzcf3aihbjpjBiH8w OduoZ/E9dqKw4HcT8aaFfgz4Ginn0Iz7PA== X-Google-Smtp-Source: ABdhPJwYJ98gCbUqW2M7aAkyvA/PqebEZv4XXsymHKwcVY7gRBVXjqGLqd3WeVHYht+6+mJpQFXHBg== X-Received: by 2002:ad4:404b:0:b0:440:dee0:4ab3 with SMTP id r11-20020ad4404b000000b00440dee04ab3mr5612614qvp.129.1647571632039; Thu, 17 Mar 2022 19:47:12 -0700 (PDT) Received: from hurd (dsl-10-131-58.b2b2c.ca. [72.10.131.58]) by smtp.gmail.com with ESMTPSA id c3-20020ac87d83000000b002e1d1b3df15sm4929536qtd.44.2022.03.17.19.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 19:47:11 -0700 (PDT) From: Maxim Cournoyer References: <87tuojni9a.fsf@netris.org> <87r1jnnhfi.fsf@netris.org> <87lf9upmwb.fsf@yamatai> <87h7kgoo2z.fsf@netris.org> <87blaoonha.fsf@netris.org> <878s5solv5.fsf@netris.org> <87mtu2rntp.fsf@netris.org> Date: Thu, 17 Mar 2022 22:47:10 -0400 In-Reply-To: <87mtu2rntp.fsf@netris.org> (Mark H. Weaver's message of "Tue, 13 Apr 2021 15:22:47 -0400") Message-ID: <87a6do6kpd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47628-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1647571696; 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=jvLiLqVlqke7AxsPOBAxME4IX0GfGQu32Q9zadqGqdE=; b=X0IzVZ4Xxv1d+X0KuQESswPA6oGes9ddBK6Itiw36nyzoZDsUQvaDZvLmz4lWstP/IGu+v +d8yncy0dfFcWEUQCH2W42YXCjjPfoBi76VXgC2reKNUppnSrUjNRBi3Zvf7AIZOtj4QTp zbVrWB7zTL0B9Th8myyv3AjhtS4GBU16DTe3+lhA8TMv00t4IzJUnTdSTD3oikVF9DvgCN J4lknHi0At5OUbNP8WxIdk3AncESBLKnPyKw7PrWnH8NNrS8wLKkJW/K+A3mZD1pbDzN1m 6XhPdnDvdrrwlH8lU1rPMQHH3m99JOiM3rU9mfMSEsR1JxeYc0HlgP42vj2EMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647571696; a=rsa-sha256; cv=none; b=IomQu6U8268VaJiCxZiBLZbUH08M1ddQ6qCW48ETy+HS+bY+5qIFZrQLh9G4cL1NelxgKG MM1iidI5x9Y4NX5pyzJs1w14RsL60Zgqh8Tu3c3ZvOybYTd2N34D3EHs0HjQXRpn8kmY2C Ql4bWsD5xqwNFpHIFEnCyMK6Y8rdq2YqyAJBcUIoAx4DAIarpuw8raXxnEdOVnuAAyK5Wa NkqOhsEGMOTE1cCASAYesroWJBnnqmE95F7Njf0RmTAwBBr0y9QgnOSDJAD5UXMi6kyb0d cg3hn+jJ70GFoO4THQ8xcCvDEG9cUGs4mJBsihqO5vcL/CJxOyDTd+s9CaL1zQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oeDP2akH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oeDP2akH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7871CB265 X-Spam-Score: 4.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: qtQYy76xDuFQ Hi Mark, Mark H Weaver writes: > Hi Efraim, > > Efraim Flashner writes: > >> On Thu, Apr 08, 2021 at 11:07:31AM -0400, Mark H Weaver wrote: >>> I suspect that the relevant bit that needs to be changed is line 779 of >>> the following file in the webkitgtk-2.32.0 source code: >>> >>> Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp >>> >>> Most likely, that line can simply be deleted. Here's the relevant >>> excerpt, with line 779 marked by "==>": >> >> Looking at the other lines above it, we could just change it from >> ro-bind to ro-bind-try. > > I expect that would work, but why should we give the sandbox access to > /usr/bin at all? I took a different approach: I removed access to *all* > of the FHS directories, since they should not be needed for a > Guix-compiled package. > > Below, I've attached the patch that I'm currently using successfully on > my private branch of Guix. > > What do you think? Our webkitgtk package is patched in such a way (and more) since commit b9a4705f80e89fff3b65288cbbe8df73a365aee3. Thanks, Maxim