From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OEVRBI8rb2D2KwEAgWs5BA (envelope-from ) for ; Thu, 08 Apr 2021 18:13:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KGO9OY4rb2CWEAAA1q6Kng (envelope-from ) for ; Thu, 08 Apr 2021 16:13:02 +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 79F4BEEDF for ; Thu, 8 Apr 2021 18:13:02 +0200 (CEST) Received: from localhost ([::1]:42120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUXHB-0000Qb-90 for larch@yhetil.org; Thu, 08 Apr 2021 12:13:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUX3T-0002Pu-QI for help-guix@gnu.org; Thu, 08 Apr 2021 11:58:51 -0400 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]:39703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUX3R-0006WO-UH for help-guix@gnu.org; Thu, 08 Apr 2021 11:58:51 -0400 Received: by mail-il1-x134.google.com with SMTP id b17so2215044ilh.6 for ; Thu, 08 Apr 2021 08:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=n2xW8+1TTLxWbYEUqJqQBoYjQHbYTVxqUYvVfVHBNl8=; b=qqIBG39wQ/2o+uKYewhn2iU7wtsyTyfdD/cI02gkmATzBh9736KJ+IOk5xfXdm0uWI El4Ox6GXeEC9sr+ISYU1pXDOZFPJIR498G3HfHj+Wz2Y/Bs9WyYDblKPnRy47ODpBtvv 2IHp9zENkPQMorrJsF9gymmgM5/gCj+6+8g8BVTEd4qY/BJYjgeJH7cTFIjX53X9b/kz hf75HduV7QRF29HRXBByIwVI2qhxxtlCkuh8C+0lP04zh4UmInIqeAXgmWk3Q/dfHLsy 6BPM8DBI6Q1llfrq2xlDf8f6S3/yP3eFUbJLHD8Ge1nOIxHxtn+6FHkbfKWk+Gg+Mvqt 4Gmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=n2xW8+1TTLxWbYEUqJqQBoYjQHbYTVxqUYvVfVHBNl8=; b=t/J0jIp7Gx0ign2JUpTWMojippTFcKC+qvW8QOyg7v7E84veI4z7GBq+Wmo54V9Jq/ WdmlrxhXwxNpSd1UlPooE+RZT4OnAE+vT/9XRXy0pI3aNeTltorgUxek9Gj0uCce+S8M kRizYAn0+xa+WUr67fWyFfGYMJfTJwYXBU6iDxL8hgEIJwQ7V0C3V0Sy7Ybm7/O2xh9o RHCd5h6Q0ooldZftNdpx18zhPJDGMCgPit3ZvYPYYknoLGIAoZizf3mVZOYmj1GYBqr8 yLCZT5HLKJsyifgFSvCzOn+kvK++WTx+jfacOSMgG6gPflzZLLhLHWpafJ0wOn8Zca0o Xa8Q== X-Gm-Message-State: AOAM533uEfSlDe7h9HzZmxIY20ws4lVKMSc4fVerAu60g7nRpIi6ZS+u T7aQef/O3dYW19dox40w7uhKbGoHhSLjHRTC4OM+cu8Jwx0= X-Google-Smtp-Source: ABdhPJzbi6T3W4gRp44JHhflpmS9J2+3MAkVNyxEjSaR3WsTK1/KKL2TpKZ9yqap9f9NPg2uhuN+m5f3hRfEMVoA950= X-Received: by 2002:a92:ca4b:: with SMTP id q11mr7467995ilo.272.1617897527762; Thu, 08 Apr 2021 08:58:47 -0700 (PDT) MIME-Version: 1.0 From: Vladilen Kozin Date: Thu, 8 Apr 2021 16:58:35 +0100 Message-ID: Subject: How to debug failed boot after successful reconfigure? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=vladilen.kozin@gmail.com; helo=mail-il1-x134.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 08 Apr 2021 12:12:39 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617898382; 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=n2xW8+1TTLxWbYEUqJqQBoYjQHbYTVxqUYvVfVHBNl8=; b=fkf50WveH0SzysEX7gMNXS6kVSTlqo32mfdVVI6Rlhxf0Hm5ZN+B9MjfsQlklyXocFHByj 4GY3OVKG0nCf0raou0gYhsa5I+YxiRbbejq7JIzxB+/5WA+73g+Cqboz3jrPTazgLrTPx+ iOIVmVnaXy9LDEoF588BSC7Lx3hljlCpWxgJwvKoqacmTxNIdmdQlkJRRiy8JsHJVO1lDr zJve4AZ7AHxzz0jdR3h+XaVV9+qcUmvUxc/D/my0YVvRF1uLS0mXdOyDXKVDwXa/n4Daj0 RbFcoRKRwBKACdfNQEGkNyvI0zViCrJcCv5itiekQrSfkP4yHz5z7BRX4qp9XA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617898382; a=rsa-sha256; cv=none; b=TjNVDWLTz9mW/RWwkBpWaWS4g8MuTpKEe5d0Imu89KINnej7N4bPzhieW1SDZ2WwTiBYy0 4Qj59oecQDlxkMIC7a5Uvi7zeD9goOoPCyYeUDgJnDOxLgEgk3HZGv7TBytmxM622qt0GH qUXazg3OEgRTkpgLCPtLtfTjq5lxWqPQVLxkzWInMOmXVFx/VBGRYux10EfDolYPukZdqy 6iWj4Ofa5jIo05Ck+kkEsMN8PcLoYhH32sLsVryVVlK573TLHt9zYl5mLuF+xCZUzxmKAE ymzmEQKV3NMmGRyCMKQ/P8xBn297TnZCp26bykHAyDPLLuAOpAdNrX64WNU/+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qqIBG39w; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qqIBG39w; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 79F4BEEDF X-Spam-Score: -2.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: +a1qMmSjCxhc Hi list. I'm trying to wrap my head around running guix. While question in subj is general it was prompted by a real failure, so really I am interested both in "general approach" as well as solving the actual problem I ran into. having updated with `guix pull` I run `sudo guix system reconfigure config.scm` which succeeds. I reboot and the boot fails attempting to mount the new file-systems I've introduced in that config. This being guix I reboot into older generation. However, now I am unsure how to debug what'd happened. E.g. I would like to: - look at failed dmesg or equivalent log, - look at files that reconfigure produced in /etc, e.g. /etc/fstab IIUC when I boot even from an older generation, the failed one will be marked as "current" (that is the newest reconfigured) but everything in /etc appears to belong to the older generation - hardly surprising. Following link shown by `guix system describe` in my case /var/guix/profiles/system-2-link I don't see e.g. /etc/fstab I'm interested in. Where are those files? So, the questions above (maybe others I should've asked?) amount to my asking, how to debug the failure. My specific case was adding these files-systems to my os declaration: (file-system (mount-point "/mnt/tempb") (device (file-system-label "tempb")) (type "ext4") #;(flags '(no-atime)) (options "defaults,noatime,discard,user") (create-mount-point? #t)) At boot time I got multiple errors from mount unable to figure the options supplied. This in itself is puzzling seeing how I did check /etc/fstab after reconfigure and was able to manually mount as per that generated /etc/fstab without issue. One note is that I think the (create-mount-point? #t) had not been honored, but I did create those mount points manually. Dunno, might be a bug in guix proper. But that's minor. Thanks -- Best regards Vlad Kozin