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 CDPXH6zgBGSKQQAAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 19:34:20 +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 6LTeH6zgBGQHRgAAauVa8A (envelope-from ) for ; Sun, 05 Mar 2023 19:34:20 +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 46E41F206 for ; Sun, 5 Mar 2023 19:34:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="Y/mYVB7j"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678041260; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lwMqcJFoXwaoijwo0mZhcR0Y/p8cA6ts/++UFlAbeEQ=; b=A0otonH7qXla90+hKKmHFdfd4T31Hw2wUN4xSI+d2WM5Y+nllffEwcfwOVussXLX0Px9UC gv4cvAM61+IWQwsyYr//xADZezxU/X6MuLW+QaE+xAum+iPkNTngkgwDGt8jNlWimaqXb/ /ZKQnqgqPDWrjbvjA20qgg8KIjK+Hh+U+myE+jjeo0ZJUTfjczwNQwY/+TSNsB2kFQJsEl LjR8IORlQmXQxhBg7RF6DK/xqitDaJAWDIWqo5vLuC3UC2s4XmKThh06JhhXZADYyc5t4R X5rgECgaKtkmq9pliF1X2FXTMR+TUDYIutd4bC2mFfvlhmOtZuJC9FWu7MdaGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="Y/mYVB7j"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678041260; a=rsa-sha256; cv=none; b=ROzXRaDVUzs3tEW5YMx09YnQXfYKjkneTdZIFsEuDlLwMatmBmhbI57yE2An0IVqXkbZwf v03zh3EPImt4ScRWOkt9idmeDfnwcrO/jEW0xOaqqnk9hq+d2thfq2nWGUMe8ewL6nA/G0 ghsntZmVT8oqTIQeO+O3oFLoQdYDAibiin61FyNxPIrFBYs1+DnonS1ZtuzjFDCJF0K8fH CmKuHRBiv2DmlrE4ghupR6foPlm4dISETZ5LbU0Irp9SVT/l8YD+OgLMLFcbT3ft2hLC7t fs2cwTJmQPfDxIUQwdgjCajeD9eFYfkYf4zKvjPSqzvOKuBrk89mFbkB1+CLUQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYtBM-0001c5-3S; Sun, 05 Mar 2023 13:34:04 -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 1pYtBL-0001bw-3p for bug-guix@gnu.org; Sun, 05 Mar 2023 13:34:03 -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 1pYtBK-0002Pt-Kt for bug-guix@gnu.org; Sun, 05 Mar 2023 13:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYtBK-0000B0-5f for bug-guix@gnu.org; Sun, 05 Mar 2023 13:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61986: Installing qemu-binfmt with support for emulating the host architecture breaks everything Resent-From: "J. Sims" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 05 Mar 2023 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61986 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61986@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.1678041207633 (code B ref -1); Sun, 05 Mar 2023 18:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2023 18:33:27 +0000 Received: from localhost ([127.0.0.1]:40627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYtAl-0000A9-EZ for submit@debbugs.gnu.org; Sun, 05 Mar 2023 13:33:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:60470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYtAj-0000A0-5B for submit@debbugs.gnu.org; Sun, 05 Mar 2023 13:33:25 -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 1pYtAi-0001YR-R7 for bug-guix@gnu.org; Sun, 05 Mar 2023 13:33:24 -0500 Received: from mail-40141.protonmail.ch ([185.70.40.141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYtAh-0002OL-33 for bug-guix@gnu.org; Sun, 05 Mar 2023 13:33:24 -0500 Date: Sun, 05 Mar 2023 18:33:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1678041193; x=1678300393; bh=lwMqcJFoXwaoijwo0mZhcR0Y/p8cA6ts/++UFlAbeEQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Y/mYVB7jXXprYHu8I1rwpLpv9SZIXlX9maSpfrOpciIdn+cSVSVfvh6VdX4s7MBp4 jeCGXtfS5GbJQxVRuu3eLwlu22NxayudSZs68mH2sH82teNqrOji+0OXKkEcWzzXA8 tgBYSlKLDWts/i3zT9l4JYsMLysAjkW6uuwVsdvfc3Rr+qG6eF4tcPz2GPCSLJvOUx e/f2ZGiLrfVoCn63Qc73NBKljh8I8hBPYNGFcEXjKULo8nbM7zfsn8tQPWVQvx4Z1x XRpUHsExJMVZPValGIv+lw8Ue++7uUkb5PC8Dp/GUjYN3Q5rFCe6qL9mlKwDSSyQdj Wb9vYM4aU0lLw== Message-ID: Feedback-ID: 12133992:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.141; envelope-from=jtsims@protonmail.com; helo=mail-40141.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 46E41F206 X-Spam-Score: -5.31 X-Migadu-Spam-Score: -5.31 Reply-to: "J. Sims" From: "J. Sims" via Bug reports for GNU Guix 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 X-TUID: Cpe696Qq0gDy Hey y'all, I recently setup virtualization on my Guix machine (both libvirt and qemu, = for different purposes). While configuring libvirt (via virt-manager), I go= t a bit confused about how to make things work and also installed qemu-binf= mt for x86_64, the host architecture. Upon my next reboot, however, I reach= ed a fully-booted TTY and was unable to do anything else. GDM was not launc= hing, and if I attempted to login to the TTY itself, I was greeted by an er= ror message like the following: "cannot execute /gnu/store/path-to-something/bin/thing: Too many layers of = symlinks" After some misadventures, I have finally narrowed down that the cause of th= is issue was having x86_64 in the list of qemu-binfmt-configuration platfor= ms while running on x86_64. I assume that including the host architecture i= n the list of platforms for qemu-binfmt will do this regardless of architec= ture, but cannot currently test this. Here's what I believe to be a minimum reproducible example for x86_64: ``` (operating-system ... (services (cons* (service qemu-binfmt-service-type (qemu-binfmt-configuration (platforms (lookup-qemu-platforms "x86_64")))) ...) ...) ``` Good luck, Juli