From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kMXSBNuvTGB2LgAA0tVLHw (envelope-from ) for ; Sat, 13 Mar 2021 12:28:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oLqfANuvTGCrCQAA1q6Kng (envelope-from ) for ; Sat, 13 Mar 2021 12:28:11 +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 678742E10C for ; Sat, 13 Mar 2021 13:28:10 +0100 (CET) Received: from localhost ([::1]:60024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL3NJ-0000a7-JZ for larch@yhetil.org; Sat, 13 Mar 2021 07:28:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL3NC-0000a1-5T for bug-guix@gnu.org; Sat, 13 Mar 2021 07:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL3NB-0003gU-UF for bug-guix@gnu.org; Sat, 13 Mar 2021 07:28:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL3NB-0008Oz-Qu for bug-guix@gnu.org; Sat, 13 Mar 2021 07:28:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47106: Bubblewrap hates Guix containers =?UTF-8?Q?=F0=9F=98=9E?= Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Mar 2021 12:28: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: Leo Prikler Received: via spool by 47106-submit@debbugs.gnu.org id=B47106.161563846132268 (code B ref 47106); Sat, 13 Mar 2021 12:28:01 +0000 Received: (at 47106) by debbugs.gnu.org; 13 Mar 2021 12:27:41 +0000 Received: from localhost ([127.0.0.1]:59247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL3Mi-0008OG-Ga for submit@debbugs.gnu.org; Sat, 13 Mar 2021 07:27:41 -0500 Received: from imta-36.everyone.net ([216.200.145.36]:52862 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL3Mg-0008O7-DH for 47106@debbugs.gnu.org; Sat, 13 Mar 2021 07:27:31 -0500 Received: from pps.filterd (m0004960.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 12DCM1qQ003009; Sat, 13 Mar 2021 04:27:29 -0800 X-Eon-Originating-Account: XGDhnEnpFR5j842qCs84PT4-xpOtTMZz8asKZ7sCaqk X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81c7fd) id m0116787.603eb1d4.9b34e; Sat, 13 Mar 2021 04:27:27 -0800 X-Eon-Sig: AQMHrIJgTK+vrehdZAIAAAAD,a6f384750298bba74f2adcb1b5d29a54 X-Eip: 7Xk1DqOGza4ZCgUrKELYY7oqCNz1nJNruonUu7owmSM Date: Sat, 13 Mar 2021 13:27:18 +0100 From: Bengt Richter Message-ID: <20210313122718.GA11708@LionPure> References: <87r1kjpbvx.fsf@gnu.org> <2922127e61435e64f95d3d398ef6932a02336188.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2922127e61435e64f95d3d398ef6932a02336188.camel@student.tugraz.at> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-13_05:2021-03-12, 2021-03-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 impostorscore=0 phishscore=0 clxscore=1034 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103130092 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: , Reply-To: Bengt Richter 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=1615638490; h=from:from:sender:sender:reply-to: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; bh=/vyLDsVJoiZmPbFbR0+e4i27OGmHwm/93wb44Ah7TfE=; b=mhsqR1A9o9GGumt5m/T87+ya4tUbpQbOqJ9Wx9L/JP/ljiJ+4NWGXddtHambbWFpAMaVXs sNMUnT4/TsC6ZR39jtloCLYsG4aIqSLJ1eleOBri4rzGSMPW2MuKwE5PWhtfBHlun1Yvw6 aS9s1UyqFDKHQtzgZHwUTBloxbXIfsqiKj15dtFQLop1jzXIAqRVTvWWBFoi8EM+QEwGqj Io4FWnE/9S1R0nJP2+EZpqyct2+clsKEWapuMSgSOCckYcYT6u6bh7wiSjNde9brRN2Etn jt5tNzyNTnNFUu2wRFuVPkC9S8BOWzD8nA8YQwoI1yAuGo1WHC1YJ2oCTKtAvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615638490; a=rsa-sha256; cv=none; b=H2P9YNgCK0YWUA6w7xNcUDXATOuJmEcpe69+vSn+O2OweISTBAO0hboEpyWT/xggOQAx0s b4a5B5a8bN1tD+k9UMT6JmWpvn/ZTQcc4nxQ7LrBCcaDlqMV/53LKrChNpO2/88vymlEPl B5qb4B7slcYm0Fd3ENyYRC2J5u2If241eryyZ9lJZkvXI7azNIV/b0QRa02jtTKM02J3Ax e27rxDSYaUNDt9ZaAoqBP5SN1VDNUQjP89X677m6lxWzWZFvMJQaEVOjHvc2JF+cv2Ebvj NagEHPzbaX/wPhrr6rxHxcsU8iyLUGXv55EaNKX3puGHVmQosg6DR8bKGW15wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -2.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 678742E10C X-Spam-Score: -2.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: AtYj/WuU3S5p Hi, On +2021-03-13 12:07:51 +0100, Leo Prikler wrote: > 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 > > > outputsn > > > 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 > Does $DISPLAY mean ":0" and does the Wayland server answer that with its XWayland X-interface? I am wonderering how that is resolved inside a container. HTH with the detective work ;) -- Regards, Bengt Richter