From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: About /var/guix/profiles and guix pull generations Date: Sat, 08 Dec 2018 20:35:34 -0800 Message-ID: <87wooj1fmx.fsf@gmail.com> References: <878t10xpam.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVqp3-0007Im-C0 for help-guix@gnu.org; Sat, 08 Dec 2018 23:36:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVqp0-0005T8-7S for help-guix@gnu.org; Sat, 08 Dec 2018 23:36:05 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:32893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVqp0-0005St-1J for help-guix@gnu.org; Sat, 08 Dec 2018 23:36:02 -0500 Received: by mail-pf1-x431.google.com with SMTP id c123so3800027pfb.0 for ; Sat, 08 Dec 2018 20:36:01 -0800 (PST) In-Reply-To: <878t10xpam.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sat, 08 Dec 2018 11:53:37 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > I wonder if we should not document this more. Maybe have "guix" display > extensive information about the profiles in /var/guix/profiles? > When the guix store runs low on disk space, Guix currently suggests to > run "guix gc" and all. I think we should suggest the above command and > to check for other GC rotos in /var/guix/profiles. I think if Guix has germane things to say, it might as well say them. Maybe you could submit a patch? Note that in addition to the profiles found in /var/guix/profiles, there are other GC roots to consider. For example, if you create a profile via "guix package -i coreutils -p /tmp/profile", you'll find a symlink in /var/guix/gcroots/auto/ which points to it. Presumably, a user would keep track of the profiles they have installed. However, it can get confusing, so if Guix can help point things out, that might be useful. > Finally, do I need /var/guix/profiles/per-user/root at all? Is it safe to > remove? Does anything use the software installed in it? If not, then you can probably get rid of it. I don't think the root profile is "special"; I think it's just like any other user's profile. But if you don't know whether it's being used, then perhaps it's safest just to leave it be. This is especially true if, for example, there is no software installed in the profile. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlwMm5YACgkQ3UCaFdgi Rp2LMw/+LmUK6gHO+g39ZoL8SkegIuK8NFH+5ixuaqBmAy2MKTuszS92a4hNjqen D0MepghLfoRPMF7sv4LRQGWU8/w2HZKoNq3ix6aoG4w6NnfeeW9lemsVaTu3Qwvi BNYk50WeAgU+2V68AkfDpxiNfz0/NE8RrVLKhoAgjsh24EPFQQDg+5EW1+92HvSf sq6LBz9ZuUa1VgWeHz0ykG4iSozBqg0ipylJdfRISff0X9DsNw1Y3bEJdumnGfN1 rmKLl/42GVfR14ndT/dFJn4s1DNNYZSygdPsj5j5GNj6Nn3JaEAXsAlj1Z2qXjSw Z2DI84wnI+saEmklTikK4TnPRmDJYA2LiQl+Ey5vWhH6bo5RRzcnd3DpLbjnct9R fusJY9JIWhFCiAKSAdXRmQEqgoy7mIbN93qSlLa21JJ6hI374t4637RByT5Hgbex p6RiP5RMAh1u57/zxqfNFM/Hvu/o7o7p9eoOnrgA7LE9GHK503L9mI0QNV/E8nkH 9FkffS96w9PlgCa8RGolmvpxAftSc4hTMyM6Afca40JFWbTx4EGb/Cp1YnhSeiEw 50P2iuINjHt+c9yadQfiQwHPt6BtqevkNDm79BBCavay7mKzazYkCs4uj7GGr3dF yaxRGB43IlaKrDx08kJdD8X/651xfL4ZK0YJHBSqvZ7AbTwnscs= =bEQl -----END PGP SIGNATURE----- --=-=-=--