From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SMnYH7kzT2CDLAAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 10:15:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UPaOG7kzT2A3HAAAbx9fmQ (envelope-from ) for ; Mon, 15 Mar 2021 10:15:21 +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 D3BE220E1C for ; Mon, 15 Mar 2021 11:15:20 +0100 (CET) Received: from localhost ([::1]:46826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLkFr-0003zo-GS for larch@yhetil.org; Mon, 15 Mar 2021 06:15:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLkFa-0003nO-Ms for bug-guix@gnu.org; Mon, 15 Mar 2021 06:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLkFa-0001Yu-F7 for bug-guix@gnu.org; Mon, 15 Mar 2021 06:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLkFa-00083J-BD for bug-guix@gnu.org; Mon, 15 Mar 2021 06:15:02 -0400 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: Mon, 15 Mar 2021 10:15:02 +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.161580326030860 (code B ref 47106); Mon, 15 Mar 2021 10:15:02 +0000 Received: (at 47106) by debbugs.gnu.org; 15 Mar 2021 10:14:20 +0000 Received: from localhost ([127.0.0.1]:34913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLkEu-00081g-G8 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 06:14:20 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:43179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLkEq-00081T-Bc for 47106@debbugs.gnu.org; Mon, 15 Mar 2021 06:14:18 -0400 Received: from nijino.local (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzXMS74RTz1LZ3K; Mon, 15 Mar 2021 11:14:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzXMS74RTz1LZ3K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615803253; bh=EOaG+LN6PE0xPrZwwhxpbrQIEUASi8l5Qlp+VW/EoAw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Ht55gR9+fQ6Ehfn+CuUhbIJss6ogoWUoKO4VHE6UCjw8jhtYwji4DR1NPbzRnQlVd pUZiR2xfU9mQAf5JfwpZiYUA8GBC4NFthzqTOTfUI9uEwFMUccPWdm6LBS8TLDpIg1 46V4Dbigerx0wtblpTsNZQD1Xoukv8wqj9EgScek= Message-ID: From: Leo Prikler Date: Mon, 15 Mar 2021 11:14:11 +0100 In-Reply-To: <87pn00iw1f.fsf@gnu.org> References: <87r1kjpbvx.fsf@gnu.org> <2922127e61435e64f95d3d398ef6932a02336188.camel@student.tugraz.at> <20210313122718.GA11708@LionPure> <20210313170704.GA3712@LionPure> <20210314174539.GA10548@LionPure> <87sg4xlbn0.fsf@gnu.org> <6c6b39f495962ec906255cac212b66962d549eab.camel@student.tugraz.at> <87pn00iw1f.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=1615803321; 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=EOaG+LN6PE0xPrZwwhxpbrQIEUASi8l5Qlp+VW/EoAw=; b=B+3T8809uYeyPysBdi+ZtrsTPsRho/xn+PQRuvONlDv31zPpz4RS944x4GROOkdl+FCFnX TqWYAiqVoyXYufjE7TLCJCvVF9mqvs92WTG1fYhf9tXRssS1hLLiTOeO7ehKxv+Kc83bdt CZ6GkGx8FjeAFQ7P8ptrIuSp7enaP37r5YhxapdL1l1YRm3ns1H55ppgYZ5QA7qtlL6Ovu s/TPVWO/Osv+jGPvHHZG198CL0yaOZ8Lic359eCine2xIhDiB/Ks1Iqt/jGlBee3d+FRpt bPGlHGMj0gCFZyWJgr73eS28muMXuXP+C724O6x8VCzfrs3kyInq70uwfA2UJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615803321; a=rsa-sha256; cv=none; b=Gb/Mn67LqhE8bc0I9qjB+OFjoA7NX6IQbYjC7T0DVVv06pJyqdBLKugx47LFHBjkWbxteb 6XmcI41Tk9uitoSqJ6efWr4y1vsqd/u7N+rryMBL5rk6vi+RwRa5pynE83RG0PMSGDB3Zs IS7jWe2a9yMjND7d0hg8twULe16fNnu+FOEP2WsknbhyPkXQcwPMO9u8m9E6gixYRbcIgb DWCV1ytVbNM08ImDtAF0rZ8XT8hmmRnkp6LB5w/2yGBpfvd3qvUB0iF1KjLqUGgMxzj25F jZByygrihuX8VPi0jU13fD2g+B/9OZKcm0VYRvPny2wf8zAkHk33hjOA1cwneQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Ht55gR9+; 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: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Ht55gR9+; 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: D3BE220E1C X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: x2TW1qyL8ESF Am Montag, den 15.03.2021, 10:52 +0100 schrieb Ludovic Courtès: > Hi Leo, > > Leo Prikler skribis: > > > > /sys is already mounted inside ‘guix environment -C’ containers > > > so I > > > don’t see what difference it would make. > > I think I've been told this several times, but I don't believe > > it. Not > > adding all these expose=/sys lines triggers the "warnings" in the > > original post. (Okay, perhaps one of /sys/dev and /sys/devices is > > superfluous, I would need to check.) > > It would be great if you could pinpoint which of these -- > expose=/sys/xyz > makes a difference. From there we could compare the output of ‘find > /sys/xyz’ inside and outside the container, without --expose. Okay, so here's my basic workflow: Starting with an empty set of -- expose: bwrap: Can't find source path /sys/block: No such file or directory repeated a few times along with warnings, that the web process crashed until finally Epiphany itself crashes. I add /sys/block, and Epiphany miraculously doesn't crash, but bwrap still complains and the web processes still crash, so we march on. I'll abbreviate it a little and only show the error messages. bwrap: Can't find source path /sys/bus: No such file or directory bwrap: Can't find source path /sys/class: No such file or directory bwrap: Can't find source path /sys/dev: No such file or directory bwrap: Can't find source path /sys/devices: No such file or directory After exposing all of the above, I get Unable to init server: Could not connect: Connection refused (WebKitWebProcess:2): Gtk-WARNING **: 10:09:01.497: cannot open display: :1 Using --share instead of --expose for the final set does not seem to change anything. For /sys/block, the find inside the container is empty before exposing it and non-empty on the host. I assume the same holds for the others. Regards, Leo