From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kFe5J9bIEGQBWgEASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 20:19:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OGrhJtbIEGRS6QAAG6o9tA (envelope-from ) for ; Tue, 14 Mar 2023 20:19:50 +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 1D8751B131 for ; Tue, 14 Mar 2023 20:19:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcAB5-0008Rl-BB; Tue, 14 Mar 2023 15:19:19 -0400 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 1pcAB3-0008RX-SW for help-guix@gnu.org; Tue, 14 Mar 2023 15:19:17 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcAB1-0002rB-GO for help-guix@gnu.org; Tue, 14 Mar 2023 15:19:17 -0400 Received: by mail-wm1-x32e.google.com with SMTP id c8-20020a05600c0ac800b003ed2f97a63eso1035340wmr.3 for ; Tue, 14 Mar 2023 12:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; t=1678821553; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=pAiPAfYmGLxtKY7zEF5pw5hPgIZ1fPqjb2qavQ+/lco=; b=Ux6n7I0+1DcmtFQo/HPNgqaXLTz+AZyfZy36uzlATu2OlLn475j5MeB2Bd9YIiEWGp JO0JflFrizExMPut7yEgT69Sbqc3c2BmD95n4njbSFqIZsC9ENjica6vyd6CsGz2lb92 PBmNrsZa9x0rAwP16q/wUVBd90RV/6jDUHwflwotJqFhMvwDQA7d+49bI6PBLCYGgQrY mPgeZJSrCC0Hh6MoVLLUWiVK0E+LrxlBdNIkerPzneYrE/hwDb1po5eX5VGGlodJl4f1 hqVDBKr43hrMZB0BEcOXBJFX9Qdr9kxalKq+4uoECzUQ0NtcFn34zVpG9eoZEiC72mDs BseQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678821553; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pAiPAfYmGLxtKY7zEF5pw5hPgIZ1fPqjb2qavQ+/lco=; b=X6Ww+Xzt28zn/oBi0TjKrKGBm6bRiFnXXkS9voM2f9eiAbVwCLHVuyOWLvkIRjmaYe /m7qQG4vs4jFumwNcNVI5ojLkNU3gsv/Jo4p7Ycj/kv3k1nk/iERS9oOjNB6IvOwm8T7 8xQEyTaOnF5sKUSKYXiGI6CPvfQoHiuyrKAWFLB0mimTXtMFjXhpbxTRx/835P29IRH9 +Az5aglc1UohwlNTJPLy3MEFYRcDQ2bg4vlgcTfUf/7FgUVdNJZa8pW+/QFSVShZOFJH u148Mx45zwX3RQAv+sZM3WeXQz2yHri+1xD0RHD53DALaMgDXD8NCkdq3fQeNTEgULFj tkhA== X-Gm-Message-State: AO0yUKX/qmAZwsd/RkRyVeT1zIwnPCz2Zy0x6NKMpdaNLvB323/jFZP8 8nW2dop871my3PDBcQRBSruMcM9vh8m5xhBVGMU= X-Google-Smtp-Source: AK7set//NZvloEBPsCMvlm7dtBwzJk4yJJewo1XN8lD5nKT7kCFqS7PLdZeP+FFhS3UFL7+/PFwpMw== X-Received: by 2002:a05:600c:5120:b0:3ed:2a42:77c with SMTP id o32-20020a05600c512000b003ed2a42077cmr4982833wms.8.1678821552821; Tue, 14 Mar 2023 12:19:12 -0700 (PDT) Received: from bombaclaat ([2a01:598:a0fa:495a:cfb8:e81:3255:f839]) by smtp.gmail.com with ESMTPSA id t10-20020a1c770a000000b003e9ded91c27sm3783842wmi.4.2023.03.14.12.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 12:19:12 -0700 (PDT) References: <867cvv2m5y.fsf@burningswell.com> <86356j2krm.fsf@burningswell.com> <87mt4rw1fn.fsf@nckx> <86sfec39nm.fsf@burningswell.com> User-agent: mu4e 1.8.13; emacs 29.0.60 From: Roman Scherer To: Felix Lechner Cc: Tobias Geerinckx-Rice , help-guix@gnu.org Subject: Re: Too many levels of symbolic links Date: Tue, 14 Mar 2023 20:16:52 +0100 In-reply-to: Message-ID: <86o7ov6t01.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::32e; envelope-from=roman.scherer@burningswell.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=Ux6n7I0+; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678821590; a=rsa-sha256; cv=none; b=EfovucTikvSdT//eCwT9zI/c4F2BNIg7qeuFfITF3BWJq/aYhWY9t5M9vUFesstN98OkHU wyf49vKuQYjAJIFORVqXQU9KLbrTZy8O02uqI9Kj0gjrMDnrFmV4vGbuG06NqpyhcV5Ws+ dXiPCGa0SE5iJZSHzFks6XBkrRaAUhGSuGBClF1qwMwQiMdTDIwEolVPo1aqc9vcbFjK1K LcqeE2Ll3+RCLj+2u6JjBQP5DoavKYNBVjL/kV1fJzb3BtG08VJg5JUmm46ZyhlsaAl3dv 1R2Fk+/tnuAa807azocOHEhyFwRlvTMO/uQ4eCSixaDg9f9LWIQTVx1ZIxwcxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678821590; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pAiPAfYmGLxtKY7zEF5pw5hPgIZ1fPqjb2qavQ+/lco=; b=ZbzcksQP5HEHVtZk81EA/5TeWaTXi3r0iCXVXxt6cM2P1r7lux7SgtanUc0YYevv8NHS4P 4mH5jans+aYukt8NF2yLukYoBKdVjszlobfbD1Xqyyx+3KXrh1Qy7RDJNsFgeWVikgsssT +rtY2zigj9cPnbvHKmWDpV+7lAHS/MXqIapangvRdivDS8v3vl8L3zWORppaGkEeR8+/PG KCJPSLV2ABBlB1OD0E6VOXymnriyn/692CIG4jX4YpdSrv/YCxwQlBcjw7CmF6eOku4Ec1 VNE+KDI146bcS/VlpU3VP8Rv2KECVQD12bcwAC3jXNghhUZNYNJ7MsEC4Ll+aA== X-Migadu-Spam-Score: -7.94 X-Spam-Score: -7.94 X-Migadu-Queue-Id: 1D8751B131 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=Ux6n7I0+; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: 3rq3YGsSy5R1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Felix, I'm back on track! I found what triggered this horrible problem :) At some point I added the qemu-binfmt-service-type to my system. I copied a snipped from the manual and finally "adjusted" it to this: ``` (define %qemu-service (service qemu-binfmt-service-type (qemu-binfmt-configuration (platforms (lookup-qemu-platforms "aarch64" "x86_64"))))) ``` I don't know much about quem and I thought, well let's choose the "aarch64" and "x86_64" qemu platforms on which I run Guix, and maybe re-use this service on multiple machines. My Guix system runs on the aarch64 architecture. It turns out that having "aarch64" in lookup-qemu-platforms causes the "Too many levels of symbolic links" error. As soon as I remove it, everything is good again. Now, maybe it does not even makes sense to add "aarch64" to that list, but I think it should not fail that catastrophical. I still don't know which symlink was causing this issue, though. That's where I am. Just happy that I survived my first serious Guix crash. :) Thanks for your help so far, Roman Felix Lechner writes: > Hi Roman, > > On Fri, Mar 10, 2023 at 7:32=E2=80=AFAM Roman Scherer > wrote: >> >> Right now I rolled back to generation 53, which is still >> working. > > Great! > >> Is it correct to look for the problematic files in the directory to >> which system-54-link links to? > > Yes, probably. Unfortunately, profiles are large bundles of symbolic > links, so finding the offending cycle may not be easy. > >> Generation 54 is the broken one, which does boot up, but >> logging in fails with the too many levels of symbolic link issue. > > Since the issue occurs at login, there may also be a bad interaction > with your user profile. What if you log in as another user? > >> I run the problematic commands from that directory and they seem to run >> from the non-broken system > > My prime list of suspects include something like a system-wide Bash > profile (or whichever shell you use). > >> I'm thinking of re-installing my system completely. > > Please don't do that. It is not necessary. > > Instead, you can delete generation 54 and try again. Make sure to > 'guix pull' before reconfiguring again. > >> Do I have any other option, even an unsupported one? > > Please post the config.scm for your generation 53, plus a diff to > generation 54. You find copies via 'guix system describe'. It may also > be helpful to attach your home.scm, if you use Guix Home. > > Together with the changes in Guix since the commit on which generation > 53 is based, we will find the issue. The process is more or less > deterministic. > > Please keep up hope. All needed software is already installed. Guix > has extraordinary ways to recover=E2=80=94even though they can be hard to > figure out. > > Kind regards > Felix --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmQQyK4fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmXgNB/0S5D/5P7Dx1MEX mZM1QE+/7673bQjDpRWWiRezSqIWhIclKcJEUKXJBTRASMDqKwvoLfqDp6Zg+H0m FuHejawNS8tGEZqc7GzjSwWa541lGQGjRbjBoWxN/7cu4fYUQEPH/UdF8WZwsaDc sxTCEF4dOeGCyO5P3QoSBAKMqF4h7kK4TbjohXbeEGxIzWvEX73/owSDv9sD0OC8 Iumkz0q2UUa1XbsSojvwnY//gfsWwfh4M7yxB2wQU0i8GLdV8Oe0zYWb9ryZftUu xqLWUZ4TOqGm0AIKM3k/mb6rQkKBvflLCgjG8i0bGmQN8cy0FzZp5nU8ZyE1SFYd +6XojTPl =rTcU -----END PGP SIGNATURE----- --=-=-=--