From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 13 06:08:02 2021 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> Subject: Re: bug#47106: Bubblewrap hates Guix containers =?UTF-8?Q?=F0=9F=98=9E?= From: Leo Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47106 Cc: 47106@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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