From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eDTDHK/8GmREQAEASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 14:03:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OPHIHK/8GmTk7QAA9RJhRA (envelope-from ) for ; Wed, 22 Mar 2023 14:03:43 +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 5083A2818C for ; Wed, 22 Mar 2023 14:03:43 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="k+HoRK/w"; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679490223; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=IKf4CaoD0z7CqaRPWGJDcgx+OQj0w4Wkv2YMtBLmmX0=; b=PX/WkKkWD1jcDbwuSflQrNwLL+D+xq+ld6aMTkqv7v9m4rWOj9ro5axmd6pA+MXrEbkzDc q8D2IU4e7r/7yYTsbPOOWFZZoQt3zF7DDPSdMnISOJ9OQ6hUki3Nuhs8h5dGiBXEXA4pMN jc2xfDHSeiBJcbtR8RSqcuDN29gxjIXeUZkqD9PG9X3s92bltoP+9+gribrWrHu19pQMZV nFUMqo/CVrV0dUdiVWHygK3l9UE369N+8pG6NQberJ+A+twtLoD0iv5TRvSV1suW9P7C8g THtXRrFLae8FmujKHUe/nHCY85mILRA6bGtysTrLcI1Y8/bJ3HK7tV3OcAGqUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679490223; a=rsa-sha256; cv=none; b=h9YwazXkf9YDsar4ME9gIZ+3F8jdxP3/Xa73WsvyifoUNjlxRzH96c2WRBAF6+TQJqAZns Xt/0gTKD6vAx6WP17cMwvwixBb9owNvQ8EtwvNrp7MfCwyvT+ETdl212CGdxIiha3vf7x4 ekIpsvwSm4BXTHGCTxUfkUaZ/zFM4PwIShQoOPSJDJz04OrS4OrGpOY5F9f0xnJiY/zPAU a8hflZxXgMLu3QhdO7Srthq5eh27ZnU3d9pP3aSYTKGGcvAYwahPmlu8RuGz/r5FbQF5yZ 41+3P+76q1+bSGwEAaRXgw0o72Cuwb3bFuN/XbiurQr3xO/H2u2GE0rhSRYTMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="k+HoRK/w"; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pey7P-0000CI-7W; Wed, 22 Mar 2023 09:03:07 -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 1pey7K-0000C4-Qf for bug-guix@gnu.org; Wed, 22 Mar 2023 09:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pey7K-0002zN-Hu for bug-guix@gnu.org; Wed, 22 Mar 2023 09:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pey7K-0005d4-C2 for bug-guix@gnu.org; Wed, 22 Mar 2023 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62379: /gnu/store/.links filling the hard drive on foreign distro Resent-From: Elias Kueny Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Mar 2023 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62379@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167949013421571 (code B ref -1); Wed, 22 Mar 2023 13:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2023 13:02:14 +0000 Received: from localhost ([127.0.0.1]:33811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pey6Y-0005bq-EC for submit@debbugs.gnu.org; Wed, 22 Mar 2023 09:02:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:34290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pey6W-0005bi-Np for submit@debbugs.gnu.org; Wed, 22 Mar 2023 09:02:13 -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 1pey6R-0008O2-Sv for bug-guix@gnu.org; Wed, 22 Mar 2023 09:02:10 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pey6O-0002aY-Oe for bug-guix@gnu.org; Wed, 22 Mar 2023 09:02:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4E293240147 for ; Wed, 22 Mar 2023 14:02:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679490121; bh=IKf4CaoD0z7CqaRPWGJDcgx+OQj0w4Wkv2YMtBLmmX0=; h=From:To:Subject:Date:From; b=k+HoRK/wIeVVE4L8RIvKNkU8GEBRQyDY8kZFogySlamFI6pLxypN4StRB+4qS6XdZ 6edoCOVE1oFIrNM3tIA8AD5tjFG3uoORnPipnpG/Nl7glnC4ePV6sOY1cUY8OSVG5y CDvisozQuv2cmsgRd89RrQ5pxD0FVbp2JaUnU/RawUro5VQL/KbnfPSSQJLuNPzGil +jacK4xGhx5inMEal1GZozwiTEgpG+Sp18kAJu/xEXeNJXxnvqOZ2sRYN6kUdl7xha nHj/JTuNhOv05xYSvDhQTzfqTzoqcB3MwmGtdXuJTLAdI1THeBp4TJPVeixTV6J3xV I3C05wMpwWhqQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PhTBw5LrSz6tmx for ; Wed, 22 Mar 2023 14:02:00 +0100 (CET) From: Elias Kueny Date: Wed, 22 Mar 2023 10:48:04 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.66; envelope-from=elias.kueny@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: X-Migadu-Scanner: scn0.migadu.com List-Post: X-Migadu-Queue-Id: 5083A2818C X-Spam-Score: 5.45 X-Migadu-Spam-Score: 5.45 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-TUID: JiPWNBi0uWsF Hello, I'm using guix over a foreign distro (Ubuntu 22.04). I initially installed guix from the Ubuntu repositories (version 1.3.0-4), and updated as user with guix pull (work computer: I don't have root access to run the installer script). The problem is the size of /gnu/store/.links: after garbage collection with "guix gc --delete-generations=1w", /gnu/store is 17.4 GB in total, and /gnu/store/.links is 14.5 GB (344120 items, ranging from 93 MB to 4.1 kB each). The garbage collector prints that "currently hard linking saves 3717.77 MiB". With a 40GB hard drive, the gnu store regularly fills up all the available space if I'm not careful. I found from an old issue (https://issues.guix.gnu.org/24937#1) that 10 millions links should need around 700 MB, so this sounds like a bug. After garbage collection, there are only 16 profiles left in /var/guix/profiles/per-user/ for my account: 2 for current-guix, 2 for guix-profile, and the rest for guix-home (where almost every program is installed), plus one guix shell profile I keep activated during gc to not uninstall it. I can't check for the root account, but I'm guessing it contains only the profile of the initial guix installation. There are no other users. I tried uninstalling the original guix from the Ubuntu repositories in case the issue is due to some interference between it and the current guix I pulled as user, but /var/guix/daemon-socket/socket was gone with it, so I couldn't try to run the garbage collection. Elias