From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YHqCJYwoE2ZZRAAA62LTzQ:P1 (envelope-from ) for ; Mon, 08 Apr 2024 01:13:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YHqCJYwoE2ZZRAAA62LTzQ (envelope-from ) for ; Mon, 08 Apr 2024 01:13:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NmYf3yav; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712531596; 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-to: 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=oHd3MPVklptj72hVRxg3Ruzv0PqYll9KRKcC+qV1mR4=; b=ZF4IkLjC+PzOysW+7SIyfm6q0n46MSJU+4HebUoygxryPuzxYK8bunVvCTOpPirQ6UJ1Zg fTkZuJyel0xhPy2bClKrjTGhV0JYCG8p77+5ogZvv4YFJUqhlDZzJ1D6fS24lgjjUqZbMS MReqH3mZEXZSdeCaSthEGPZuIMETwTYuOqY61/jApFYBi/ThxB8MJdKA/YMVaAbINj+sRV SnEgc2YMN0wQv5MpLQPmVfFaw+B5lCUIe+fLn48R5U5JHuQbhmoz9zsdmiEDggDWHzLznM uXVeCo8E1Veei8mCwW4aK2ba7nilyhNC6S44NzraAZGj0rd30W3WJp8NHm2flQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712531596; a=rsa-sha256; cv=none; b=CQNGay0I8fv5kiQNMVpRPKCvHSRIYVAjWcspg2A6XRkO3lhoDRdeiBCwUu2M7Fdrv+rzoY SXGHqhRxWap82qt+6PyAkJPORcG0mmXW0y0RnbDj584E8m4hxpAmvmhtHDjgcZ5o+qJGGm aAHflVuTLLyQ/0BAck/etDh8Aq88PqeyfcUIPZo/sLGK62hAA+ZsvYEUk1mY8Y8IC99C4v 9OfcrhVSfnlhM1ntvbAgcyuHCcASdKpHAAyrb3bmpx1WWwx2ZMEVjEYi8JZmrC0KcA9a92 H5e9I4JnVKp6C7Sp3HT6qCCoals2mQG1d7zpYiYjO6vdwjgG5Pjlqe0Ul0CplA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NmYf3yav; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 376876987D for ; Mon, 8 Apr 2024 01:13:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtbh6-0003Wm-ST; Sun, 07 Apr 2024 19:13:00 -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 1rtbh3-0003WL-1e for bug-guix@gnu.org; Sun, 07 Apr 2024 19:12:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtbh2-0003dK-Pl for bug-guix@gnu.org; Sun, 07 Apr 2024 19:12:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtbh9-0008GG-Px for bug-guix@gnu.org; Sun, 07 Apr 2024 19:13:03 -0400 Subject: bug#69401: /etc/guix/machines.scm symlink can be garbage collected Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 07 Apr 2024 23:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 69401 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 69401-done@debbugs.gnu.org Mail-Followup-To: 69401@debbugs.gnu.org, ludo@gnu.org, efraim@flashner.co.il Received: via spool by 69401-done@debbugs.gnu.org id=D69401.171253152131435 (code D ref 69401); Sun, 07 Apr 2024 23:13:03 +0000 Received: (at 69401-done) by debbugs.gnu.org; 7 Apr 2024 23:12:01 +0000 Received: from localhost ([127.0.0.1]:44973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtbg9-0008At-DW for submit@debbugs.gnu.org; Sun, 07 Apr 2024 19:12:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtbg7-0008AA-Na for 69401-done@debbugs.gnu.org; Sun, 07 Apr 2024 19:12:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtbfu-0003To-U1; Sun, 07 Apr 2024 19:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=oHd3MPVklptj72hVRxg3Ruzv0PqYll9KRKcC+qV1mR4=; b=NmYf3yavjxtPHkqbXgv6 ulGJUm3WK0AqIKGjlRgxR32TeXDXI48CcbAwozgWfZBjr1Dh8Au+M12+i3E3121tsu5ngWrJC6o/D ZNKu3OUQ0B7Cvpp8en8iBqaglXdMUyZWS7k8NzrEPjEXeMulpiLnte2CDHyy28pBt2XC2tzi7fgvS 1OEVj6CUGyiY4AtqEY+oUHDLwoYh1twEqJl7G47u9QqbfoGRfXgphhdVUtGjkBiCH+1H0ILlcwSUQ 5+Treg37mJRDUHyIiA5ZJg3CWREk5OjMj8cMcI0pqQ81g0jFyNEtRKF3sWInIn63SjQLEo+H1wu5o RwhqjSfLqQ+7XQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87y19qo506.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 06 Apr 2024 18:00:41 +0200") References: <871q7ku72c.fsf@gnu.org> <87y19qo506.fsf@gnu.org> Date: Mon, 08 Apr 2024 01:11:43 +0200 Message-ID: <878r1oojio.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.07 X-Spam-Score: -7.07 X-Migadu-Queue-Id: 376876987D X-Migadu-Scanner: mx13.migadu.com X-TUID: VP3AQl+/Krw2 Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> root@hydra-guix-108 ~# guix gc -R $(readlink -f /run/current-system) |gr= ep machines.scm >> /gnu/store/xg26iis3ydik6zxqk24cyk7h9zli1d25-machines.scm >> root@hydra-guix-108 ~# ls -l /etc/guix/machines.scm >> lrwxrwxrwx 1 root root 56 Mar 7 11:53 /etc/guix/machines.scm -> /gnu/st= ore/1171q4xhph07ll3mlzlg7igcwg3c98i1-machines.scm > > Turns out that both files are identical, but: > > =E2=80=A2 /gnu/store/1171q4xhph07ll3mlzlg7igcwg3c98i1-machines.scm is b= uilt > with > /gnu/store/g8p09w6r78hhkl2rv1747pcp9zbk6fxv-guile-3.0.9/bin/guile > (=E2=80=98guile-final=E2=80=99 ungrafted); > > =E2=80=A2 /gnu/store/xg26iis3ydik6zxqk24cyk7h9zli1d25-machines.scm is b= uilt > with > /gnu/store/g49b4v7dff8xwfi7wpi8pps1ixhld3n7-guile-3.0.9/bin/guile > (=E2=80=98guile-final=E2=80=99 grafted). > > As it turns out, (used for =E2=80=9Cmachines.scm=E2=80=9D) = uses > =E2=80=98gexp->file=E2=80=99, which, unlike =E2=80=98gexp->script=E2=80= =99, does not default to > (default-guile). That probably explains the difference. I believe this is fixed by b30b838d5055e36be19d030db28838fec4474d98. Ludo=E2=80=99.