From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KAE6GladTGBeDwAA0tVLHw (envelope-from ) for ; Sat, 13 Mar 2021 11:09:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0A34FVadTGDmTgAAB5/wlQ (envelope-from ) for ; Sat, 13 Mar 2021 11:09:10 +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 7AEA52C3E6 for ; Sat, 13 Mar 2021 12:09:09 +0100 (CET) Received: from localhost ([::1]:54408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL28q-0007ex-NT for larch@yhetil.org; Sat, 13 Mar 2021 06:09:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL28k-0007ep-Dc for bug-guix@gnu.org; Sat, 13 Mar 2021 06:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL28k-0005gZ-6J for bug-guix@gnu.org; Sat, 13 Mar 2021 06:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL28k-0006AU-1M for bug-guix@gnu.org; Sat, 13 Mar 2021 06:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47106: Bubblewrap hates Guix containers =?UTF-8?Q?=F0=9F=98=9E?= Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Mar 2021 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47106 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47106-submit@debbugs.gnu.org id=B47106.161563368223621 (code B ref 47106); Sat, 13 Mar 2021 11:09:01 +0000 Received: (at 47106) by debbugs.gnu.org; 13 Mar 2021 11:08:02 +0000 Received: from localhost ([127.0.0.1]:59171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL27l-00068k-Lb for submit@debbugs.gnu.org; Sat, 13 Mar 2021 06:08:02 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:10851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL27f-00068O-CI for 47106@debbugs.gnu.org; Sat, 13 Mar 2021 06:08:00 -0500 Received: from nijino.local (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DyKfJ1Y7qz3xrS; Sat, 13 Mar 2021 12:07:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615633672; bh=ApR0+zkLF+XtV5bI0Cbk4PWZqoas3plWSCKKuzkRBcQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=vAipQzpzQNNPrFwgASVbLtWxsHMbm+0b6sGzxkyncurWDqr3MZW9oZkPdjt1dtbq4 9ZDS4T8b5wXWSzYYm9KnYyRxrs/Iw8/lEV/SvXTMSYgZ3RJFpI5KQzt1MBRE8hZhxx +ukIAftmb2lN5wpmhyrzcnbnTwxOHi8J+6V+Q66Q= Message-ID: <2922127e61435e64f95d3d398ef6932a02336188.camel@student.tugraz.at> From: Leo Prikler Date: Sat, 13 Mar 2021 12:07:51 +0100 In-Reply-To: <87r1kjpbvx.fsf@gnu.org> References: <87r1kjpbvx.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.116 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: 47106@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615633749; 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=ApR0+zkLF+XtV5bI0Cbk4PWZqoas3plWSCKKuzkRBcQ=; b=Puvqolcwfiz6v9+pJ3i+eoGo8ySyS6VRMns7wCXEjcg0Yyz/Hc8krPy1l35axxaTCJ+ixF uoq/Nk9nfJ4Z+XlvJQFOPouKnNcIvCKpN5C5cKfAKL/coWMYEoI28erKFuWiqaoeBeepg4 jextrbom8pyrDHHzCFoZ+UcJefmA7k4au1g/K83hvf5GNjh7b6BnL4xYyzbwXaHhJ63ZO7 FzDtwi1O3d17LfNEA4LLJeX/aQNyOloX22quGjv1t6DUNcdwNt4cDLms2ODE8v3CK7djVg Q/1xxHL5xveKoY6eB76bH3kpwMPhKMUakLZgPeXq58DJ+4UMpek7VDb8Rsf15w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615633749; a=rsa-sha256; cv=none; b=RkVTS3zdhD3eZgSL+Kuep8UtiqBju9wwiykxOlnJdsF8ACClsIwq8tviaI4GAnwVuREEvn j7lVBMAOeCax7lbUZfhYszTmvAzs4L4XpQT2d4q+Dp7jCArn05MNCfTnYA4CD6Uf8dt+t+ iL2aU0AbeAnF8vSUn2wXVrGPNQVH5/fqukGvLfxjfo1fNd6pTGc1sF5W4/fBccbIH7rAgW wkyEsKisLI5oWfTitmXvClc9qn7+7763OZZ9EgybWL8OKN50FlCziFi+0JFsQhnZd3ITAF Fv6Zalgq6jHWxz6dJE6Z0WHLSW7fvw5LFD5Pic9IeDPghj1TpOdbnazrLIAr6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=vAipQzpz; 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-Migadu-Spam-Score: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=vAipQzpz; 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-Migadu-Queue-Id: 7AEA52C3E6 X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: ygF6MZ3CSAzF Hi! Am Samstag, den 13.03.2021, 11:48 +0100 schrieb Ludovic Courtès: > Hi! > > Leo Prikler skribis: > > > both Epiphany and Eolie (post fixing #47097; will submit patch > > shortly) > > fail inside Guix containers with the suggested incantation. After > > getting the environment to no longer complain about $DISPLAY by > > adding > > `--preserve="XAUTHORITY" --expose=$XAUTHORITY', it repeatedly > > outputs > > lines like > > bwrap: Can't find source path /sys/class: No such file or directory > > before closing the process altogether. > > What is ‘bwrap’ looking for? /sys is mounted inside ‘guix > environment -C’, > but perhaps it needs something special? > > I suggest running these things (or ‘bwrap’ directly) in ‘strace -f -o > log’ inside the container to see. It seems to be > openat(AT_FDCWD, "/sys/class/dmi/id/chassis_type", O_RDONLY) = -1 > ENOENT (No such file or directory) > openat(AT_FDCWD, "/sys/firmware/acpi/pm_profile", O_RDONLY) = -1 > ENOENT (No such file or directory) I haven't repeated that for all warnings of similar kind, but if I add `--expose=/sys/block --expose=/sys/class --expose=/sys/bus -- expose=/sys/dev --expose=/sys/devices` to the invocation, I instead get a warning, that the WebKitWebProcess can't open $DISPLAY. I'm not sure how to resolve that one, given that I already had to sneak DISPLAY and XAUTHORITY into the container, but it's a start. Regards, Leo