From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aGzNMKwWbWN+LQEAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 16:20:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KCjoMKwWbWMNjwAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 16:20:12 +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 0CF563F0B3 for ; Thu, 10 Nov 2022 16:20:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot9LX-0005jv-8G; Thu, 10 Nov 2022 10:20:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot9LW-0005hx-C2 for bug-guix@gnu.org; Thu, 10 Nov 2022 10:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ot9LW-0003mH-3F for bug-guix@gnu.org; Thu, 10 Nov 2022 10:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ot9LV-0007mA-VU for bug-guix@gnu.org; Thu, 10 Nov 2022 10:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59069: `guix shell -CN' failed to access GPU Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Nov 2022 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59069 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 59069@debbugs.gnu.org Received: via spool by 59069-submit@debbugs.gnu.org id=B59069.166809359929877 (code B ref 59069); Thu, 10 Nov 2022 15:20:01 +0000 Received: (at 59069) by debbugs.gnu.org; 10 Nov 2022 15:19:59 +0000 Received: from localhost ([127.0.0.1]:43971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot9LS-0007lo-Ot for submit@debbugs.gnu.org; Thu, 10 Nov 2022 10:19:59 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:58607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot9LQ-0007lc-Bw for 59069@debbugs.gnu.org; Thu, 10 Nov 2022 10:19:57 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4A5F95C0161; Thu, 10 Nov 2022 10:19:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 10 Nov 2022 10:19:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1668093591; x= 1668179991; bh=0yrGv7skBmxVQ8NZY8VxP2nUzjjcL/QsAEPTrEeMF2o=; b=Q vVVWcRmNUGN4W6IqfFV2wJ9kl8zcGfBIfjnG0A2hh8X+VcY1Q4Vv3LrqOLAm/skA n2RckuJDdJtUWf7lI82Cj2smzHODO2dbmoNF2sdJDJu9tUpjPtSDGnnPn4LVbkXe 7Pt2Szm1K2t870eDgbHrBmYyAu7YRSEwrkurTr1gY+0jHGna/eRizzvib/H0MFHx U6IR2DCroLr0xYONOUM5hKukdXxE3MhQBwuNWJYrCUVy0/PXQxWea1w+AdkQHGds OZA3UNO7SH5HnPl22j3ravME7LgSFUNvMGNpfUlyCNDdbgj3t7Oi+n2SR2ia2VQt EfUCNFbmZfxgbP/2+Absg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1668093591; x= 1668179991; bh=0yrGv7skBmxVQ8NZY8VxP2nUzjjcL/QsAEPTrEeMF2o=; b=g 5hjo/rVFsZMjnmvpEXb5XSJB2yd0xcvhCGZzySB6EIZqPntOFVl9WiL87DUXdDJe E8EGtQ8P2rS4vLRDN3+B8H8XK/v8NxOL5J3cd+dchAa6RtSBuSYTm53OD1z2Z66+ TU+6te/64cg3gT3yfdqybpqvX6OKVa7kh6J5b+aOVJGUP0M6yFOcLTfN/DG0SnfU yM0rp/ppqw2Q9W58j4V8nAB9eeeQhP00JZ5k2VayRy4bXCDzILhWMsAd9bweEgeP YWCnHf2m0x7fjNoUhO44dxIz3DAD4JJRxjTc1cRsQiUr/C27qpqL02fs2L5h44CY 9IcSQOkAC0HnpJPJZtr5A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeeggdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvfevufffjgfkgggtgfesthhqredttderjeenucfhrhhomhepuggrnhcu oehisegurghnrdhgrghmvghsqeenucggtffrrghtthgvrhhnpefhjeethfelueevhfetff egkeeggeetffeitdevheeugeegudelgfeltefgvddvjeenucffohhmrghinhepshhrrdhh thenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehise gurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Nov 2022 10:19:49 -0500 (EST) References: <87zgd41syf.fsf@dan.games> <87fserkusb.fsf@gnu.org> User-agent: mu4e 1.8.11; emacs 29.0.50 From: dan Date: Thu, 10 Nov 2022 23:08:41 +0800 In-reply-to: <87fserkusb.fsf@gnu.org> Message-ID: <87zgcyu99s.fsf@dan.games> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668093612; 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=0yrGv7skBmxVQ8NZY8VxP2nUzjjcL/QsAEPTrEeMF2o=; b=tIRa1ID4nJ2hZ5dUlYz5z9XV9DXk9ceGD6kMaaFIztBjKMeN7rYnusEr3EcHFJ69NX0cgi zNcTra43B1JZoDt/2vz/P/9062C2wwPXOs+Rhol3Y5qebGPvxTyB+m4oXRJTZSjC42IrMQ QVeqdzvIJwbJEQZvvhWYULWb5BOVHcno5fAMJ7+qdsa37NeRqp6CdBJRsxzqmMfRWX+PbN UnVaq3hit1CEeZYsVKeV6BW/934cabO28N7MtgnmC08SFdhNMOiH7NjQt05ja/m80Dqzxz KqNdO9eEizZw/Z1RddIzLmnVPQSz/7K3mQlGZpcOApAB8ooGGBf0IUg59qwuDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668093612; a=rsa-sha256; cv=none; b=LgIDyUefrcKHDeoS//R5sfShp8E1e1MrhYCChD+Wi7qXrhCAwWlzXmuP8YIqdd/ImOgg3r hs4DWvXWYpm3Zu/rP/ifXdjMkmqrXsb/NFN67u8iYSj9yEkPidhR7e3qb0cm98PkEeQlP6 ArCgF9FLBWehqJ+urAzwZRvOdAFddPmCwTlA67vE3opgcvdrtFBa/pCAHpstWsXCPxEOzO v7p+uEBsFZ1vnFc40cs5XiWKFppUUmUfZwnT0Fa90qMVD/oq4Fvv9EU9wbWUdaMASOhgUU yIuMpIzRadlRmRer5CpgXrVGwY64Ik4t7Zb1e6CMtyizDaInikY2/kXUw3poRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="Q vVVWcR"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="g 5hjo/r"; dmarc=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: 2.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="Q vVVWcR"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="g 5hjo/r"; dmarc=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: 0CF563F0B3 X-Spam-Score: 2.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7UxdJtjGVb8L Ludovic Court=C3=A8s writes: > Could you check with strace what it=E2=80=99s trying to access, both=20 > with and > without =E2=80=98-N=E2=80=99? > > guix shell mesa-utils strace =E2=80=A6 -C -- strace -o /tmp/log.strace= =20 > glxinfo I looked into the strace logs, and found out that it's actually=20 having trouble accessing /sys, which is not available in a '-N'=20 container. I run the following scripts to test: > $ guix shell -C coreutils -- ls / > bin dev etc gnu home proc sys tmp while with the '-N' flag: > $guix shell -CN coreutils --ls / > bin dev etc gnu home proc tmp I have the strace logs in the paste bin, with the line indicating=20 the problem[1][2]. [1]:=20 https://paste.sr.ht/~lizog/950ef117109fb0d34e70a813852cf7cbf04919a6#log-cn.= strace-L585 [2]:=20 https://paste.sr.ht/~lizog/950ef117109fb0d34e70a813852cf7cbf04919a6#log-c.s= trace-L552 --=20 dan