From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cPzhJPhxEWYwhgAA62LTzQ:P1 (envelope-from ) for ; Sat, 06 Apr 2024 18:02:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cPzhJPhxEWYwhgAA62LTzQ (envelope-from ) for ; Sat, 06 Apr 2024 18:02:00 +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=k7yLQVfE; 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=1712419320; a=rsa-sha256; cv=none; b=o7K2KlvTCUua1td3OSWt6QK+TdBFVVDWQGHJ5l/RrLYnyVHfL7LjPdEr2DDHPhgysfM5i3 0yUDPmcWd1iB+k0yJopOGBu6wP/z1w5YIc54bwUOf5PZmMu9OAi6PubQbMcMa6tw4ALKF8 xEdmGyueb4rtkIrx7O59ZJMph9Datk4OW74VUpUxD07GlFsqeKzMZcDFyYrmqB7ERt4VP+ E1x5TQPQKbzArw1U1fxef/dkQzWwsLDKGopkLkzWNQvDwWrOkOgHZGwy4EjkC5qwCO9AZl 9PjVznAF6Q1MnJy5r11x+cQy63yEeyuKDf6L7XDH2CH/mokFAEIsv8q8j0Zl/A== 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=k7yLQVfE; 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=1712419320; 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-cc: 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=QBoCiGuB4JV/kWj0I7Bb/v15YYVbsZtpI5ITH2wPKJE=; b=Eu6COsnW+dmJXeugmCXRtVyBnJhwf2eLwDLXObEAgLi/+mgeN/AUNtPMszmnvSgta0oo9P 32ACsSepFCGTAax4+bbbwxAMLFGo5c/bdBWFad3OSCjc1rpR5xeBv7bZmxzIEsxO7l9anP kNlG5fZlA4Li8hrY3bRqS5GMalOvQAKDowF5Me/CLkCa5gvlyBQGzwyvOJ8mKBEPEMtVGf kKZJmr32+rV0PK0cbKYHItKhGakSYGeJVqHo5VFVRLMotRYN/7GKwFqe/EaSbX+5fubpIp lkM1jFdBsV2Rm9NHCpuNmBFL6k1rzScLjyq2ZS3gw3SFioQIT/yVHrLals5RGQ== 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 5F151AD03 for ; Sat, 6 Apr 2024 18:02:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt8TS-0003RM-5B; Sat, 06 Apr 2024 12:00:58 -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 1rt8TQ-0003Nv-MK for bug-guix@gnu.org; Sat, 06 Apr 2024 12:00:56 -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 1rt8TQ-0007qt-DY for bug-guix@gnu.org; Sat, 06 Apr 2024 12:00:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt8TW-0006pM-KF for bug-guix@gnu.org; Sat, 06 Apr 2024 12:01:02 -0400 X-Loop: help-debbugs@gnu.org 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-CC: bug-guix@gnu.org Resent-Date: Sat, 06 Apr 2024 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69401 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 69401@debbugs.gnu.org Received: via spool by 69401-submit@debbugs.gnu.org id=B69401.171241926126230 (code B ref 69401); Sat, 06 Apr 2024 16:01:02 +0000 Received: (at 69401) by debbugs.gnu.org; 6 Apr 2024 16:01:01 +0000 Received: from localhost ([127.0.0.1]:40780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt8TR-0006ob-Dd for submit@debbugs.gnu.org; Sat, 06 Apr 2024 12:01:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt8TP-0006o5-P5 for 69401@debbugs.gnu.org; Sat, 06 Apr 2024 12:00:56 -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 1rt8TD-0007oe-U2; Sat, 06 Apr 2024 12:00:44 -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=QBoCiGuB4JV/kWj0I7Bb/v15YYVbsZtpI5ITH2wPKJE=; b=k7yLQVfE7GETlu4c3CpI rs1mRpCWkOFWzfF3Ak18ybkDM7CV5oSh2/Xn7mZEHd0PxgJ8y4WTHBjUDCWI65PDPRtiTn9hpuPW4 5Zg653I4gRz0WiwibBHckZZZUX6gvoyvA8IqOxbzbPWNDjUVX0tWmabuSFv717V+wYDVpeBc/srUI GDIU+ZtFYzcu8hnZG7B3p3lMUx4mZNfGUhBFIYkCVlRNyiQdlXNAGcAAzDLGCKckpH09+EdchpiiY vScxrikqUX3D5jb9E6rfWLi8UzjSPCxSaWw/u/jxOb9FrUb6B5AwJQlyFO4D8acN7PqcKe8POml8Y U0O/eqpO/EndRA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <871q7ku72c.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 04 Apr 2024 23:55:07 +0200") References: <871q7ku72c.fsf@gnu.org> Date: Sat, 06 Apr 2024 18:00:41 +0200 Message-ID: <87y19qo506.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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.06 X-Migadu-Queue-Id: 5F151AD03 X-Migadu-Spam-Score: -7.06 X-Migadu-Scanner: mx10.migadu.com X-TUID: ynmPAdnHMpTt Ludovic Court=C3=A8s skribis: > root@hydra-guix-108 ~# guix gc -R $(readlink -f /run/current-system) |gre= p 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/sto= re/1171q4xhph07ll3mlzlg7igcwg3c98i1-machines.scm Turns out that both files are identical, but: =E2=80=A2 /gnu/store/1171q4xhph07ll3mlzlg7igcwg3c98i1-machines.scm is bui= lt 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 bui= lt 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) us= es =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. Ludo=E2=80=99.