From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ELIOIItrT2bULAEAe85BDQ:P1 (envelope-from ) for ; Thu, 23 May 2024 18:15:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ELIOIItrT2bULAEAe85BDQ (envelope-from ) for ; Thu, 23 May 2024 18:15:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=jK1Qf3IW; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716480897; a=rsa-sha256; cv=none; b=chrQL/Lxet5TJ06nurQzuIiFVH5DRU7y+76fB2nHhN35nTwg1f5nR6W9xBGgo5A/h27SXi oRap3LuD1kz6JSu3n2hkQeR5LGYKMh3VWA1u44von9WFCEJvYZwrOHmgCeUkkDNeFt0vi4 bL+ZgEeI5vIXmy8xBEnnGZzlMs5+1XyGEIwn54ZdeQfoptMMPAjU88MuuWlZM6NmvRolKZ dQSorcGdN+nHHcFHlJLIYi2Iy0U6QLdQ+/PXaupHbReS4rjKNjguFaDkYE/nBraNNyK7lg y+Votn7T1W5AJFm7fdEDj/ZWD6TFti03pUn6WkAPqGCbro7uz0v41k+ZCnH5Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=jK1Qf3IW; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716480897; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qIAmTeadomRrket2z8iM1pV4ZeP0NCWt07flXdKapLw=; b=kQm7gfaSx0gwQl37BIVDfdPzpWxumy1cSMs4zN5I7/wWqAsrRV4iMpcdK2InvtySmNraaw DIIvfg9oXi3PQlgspMUBZKpJqfywFCo4NkN6TMaWlZ9JrkIEz6As9x6BVdMM7rEayEJfeJ 7gFLCL9YFHFlXSPf8MCfAUJ8F0s/CELcMw/0DN5MDXLyZc48zIs9qg3+Sn8MfXo41P8xm7 nX+FkqL16F0yyV/6zwes6nnSLM38X80TJ8AtCH4p73CrfzTmIp/VMj9jGNEfvzlG7SByj3 xI0vxefT6Nr7W5m2uGdbdwj+4Rt8aXfnNSYGepszy0HCgq/oTjWBvu2ExvL0pg== 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 A036A35508 for ; Thu, 23 May 2024 18:14:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAB5K-0003V8-EQ; Thu, 23 May 2024 12:14:30 -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 1sAB5J-0003Tx-Bs for help-guix@gnu.org; Thu, 23 May 2024 12:14:29 -0400 Received: from mail-108-mta239.mxroute.com ([136.175.108.239]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAB5H-00021d-2t for help-guix@gnu.org; Thu, 23 May 2024 12:14:28 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta239.mxroute.com (ZoneMTA) with ESMTPSA id 18fa63b6249000efce.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Thu, 23 May 2024 16:14:20 +0000 X-Zone-Loop: f4dc5341d54eac3ebf21b58c37f9709beecb6230ec74 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qIAmTeadomRrket2z8iM1pV4ZeP0NCWt07flXdKapLw=; b=jK1Qf3IWPSO4vFQ51d21aRl9fw V+dc6Iq2iOf3UnkD0xe0Dd34khSHGecF5Ef3MFZNFl2djX8pKdeAJCpClDcOGqt0LN46kMdUddL7+ M7LRvwm939hz20FiWApmdM0qZ/RwjDD4rt3c/rhICT9Boe6CH0a41ZovDBU7kCt/p2S0keGWsAna8 O37x7xFL4hAVMu5npxv2aEPVye6PHieUuFoZ+AVFKIr5AzxYEgURgDY9DNfRS9bqZhjpNM7z4iro5 q4cB3msYAWWNPJpil5JXBGvyoUTpzLKU25ttr7XrymBMPWoom/jZ95K41i1fonZd95zsD21t6gMhy AQZ4xKsQ==; From: Richard Sent To: help-guix@gnu.org Subject: System image boots but fails to start essential shepherd services Date: Thu, 23 May 2024 12:14:11 -0400 Message-ID: <87wmnkv73g.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.239; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta239.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 X-Migadu-Queue-Id: A036A35508 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.36 X-Spam-Score: -6.36 X-TUID: THNgl27nLfWj Hi Guix! I'm trying to generate a system image for an Arm SBC, flash the image to an SD card, and run Guix on that SD card. The image does boot with the help of an onboard UEFI bootloader, but Shepherd fails to start any services. I generated my image with this command: --8<---------------cut here---------------start------------->8--- guix system image -L . rsent/machines/lan/caustic.scm --system=aarch64-linux --8<---------------cut here---------------end--------------->8--- This is a minified version of the contents of caustic.scm: --8<---------------cut here---------------start------------->8--- (define-public caustic-system (operating-system ;; lan-minimal-system provides a few additional services on top of %desktop-services (inherit lan-minimal-system) (kernel (customize-linux #:name "linux-libre-arm64-generic-guix" #:linux linux-libre-arm64-generic ;; Enable QEMU support. Realistically this won't ;; be emulating anything, but enable it anyway ;; because lan-minimal-system uses QEMU and ;; won't boot without it due to the ;; file-system/proc/sys/fs/binfmt_misc shepherd ;; requirement. #:configs '("CONFIG_BINFMT_MISC=m"))) (initrd-modules '()) ;Not needed with arm64-generic. Most of ;%default-initrd-modules are built in. (file-systems (cons* (file-system (mount-point "/boot/efi") (device (file-system-label "boot")) (type "vfat")) (file-system (device (file-system-label root-label)) (mount-point "/") (type "ext4")) %base-file-systems)))) (define caustic-image-type (image-type (name 'caustic-efi) (constructor (lambda (os) (image (inherit efi-disk-image) (operating-system os) (platform aarch64-linux) (volatile-root? #f)))))) (define caustic-efi-image (image (inherit (os+platform->image caustic-system aarch64-linux #:type caustic-image-type)) (name 'caustic-efi-image))) caustic-efi-image --8<---------------cut here---------------end--------------->8--- I see many messages printed to the console like this (the specific file being executed changes, but otherwise it's the same). --8<---------------cut here---------------start------------->8--- [ 15.009930] shepherd[1]: exec of "/gnu/store/zbsi8bm1vx2c2kpl7jrygdhylgvh6ny3-inetutils-2.3/libexec/syslogd" failed: Too many levels of symbolic links --8<---------------cut here---------------end--------------->8--- Before eventually Shepherd gives up: --8<---------------cut here---------------start------------->8--- [ 46.107131] shepherd[1]: The following services could not be started in the background: guix-daemon ssh-daemon avahi-daemon ntpd NetworkManager xorg-server wpa-supplicant upower-daemon pam term-console elogind dbus-system nscd syslogd console-font-tty6 console-fon [ 46.107629] t-tty5 console-font-tty4 console-font-tty3 console-font-tty2 console-font-tty1. --8<---------------cut here---------------end--------------->8--- Has anyone encountered this issue before? What could be causing this? -- Take it easy, Richard Sent Making my computer weirder one commit at a time.