From mboxrd@z Thu Jan  1 00:00:00 1970
From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze)
Subject: bug#36942: Reconfigure broke GRUB
Date: Tue, 06 Aug 2019 15:48:43 -0400
Message-ID: <878ss6xeg4.fsf@sdf.lonestar.org>
References: <20190806023517.uvf7ukp3qprsfvpv@cf0>
 <87tvauxvxo.fsf@sdf.lonestar.org> <87o912duoo.fsf@sdf.lonestar.org>
 <20190806214420.7c465ecc@scratchpost.org>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:470:142:3::10]:58544)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv5W3-0008Ge-FA
 for bug-guix@gnu.org; Tue, 06 Aug 2019 15:53:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv5W2-0004fx-IZ
 for bug-guix@gnu.org; Tue, 06 Aug 2019 15:53:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:57232)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hv5W2-0004ft-FJ
 for bug-guix@gnu.org; Tue, 06 Aug 2019 15:53:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv5W2-0004ZO-BE
 for bug-guix@gnu.org; Tue, 06 Aug 2019 15:53:02 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.36942.B36942.156512112517493@debbugs.gnu.org>
In-Reply-To: <20190806214420.7c465ecc@scratchpost.org> (Danny Milosavljevic's
 message of "Tue, 6 Aug 2019 21:44:20 +0200")
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 36942@debbugs.gnu.org

--=-=-=
Content-Type: text/plain

Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> writes:

> Hi,
>
> I've examined /var/guix/gcroots without #36947 and I get:
>
> lrwxrwxrwx 1 root root   18 24. Jul 11:32 profiles -> /var/guix/profiles
> lrwxrwxrwx 1 root root   19 24. Jul 11:32 current-system -> /run/current-system
> lrwxrwxrwx 1 root root   18 24. Jul 11:32 booted-system -> /run/booted-system
> lrwxrwxrwx 1 root root   26 29. Jul 22:26 bootcfg -> //var/guix/gcroots/bootcfg
>
> So I guess I'm one "guix gc" away from also destroying my
> installation.

Was this fixed after applying #36947?

> The double slash looks very suspicious...

Any reason in particular? The second slash is there because
'%gc-roots-directory' has a leading slash, and that gets appended to
'target', which in this case is '/'.

Regards,
Jakob

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1J2ZsACgkQ9Qb9Fp2P
2VpXZA//bcbJgOXA+3lSaO4PW1zBWYjwh3HU9QEl1CLz2NJRgMbeatoa9q0zVRbx
xKYFhPakekDwjtGqmbWUdfTkvvvSzlkTE+KTfSKM9L+k8deqtKbEdEOUuS3ovK78
z0R1BitMHSSZjxq1R3AxxfjLC0Iwh+dNpkn87409rld1dXWleClMeUq3ACjfumJo
EU0Svfr75MI1X9o6+0xMMGhxuiFpLJM5qM9//8DhWFyITlsQu+6595niMt1U+Cip
fBAlqFtoZiVcqCRFypCWnbFvGNw49UbqV5c6vdpFAATbkJHUv4NnonCytzOAh65J
SP1OwcdxijHca3qORwMjEhGXsS2dxIfXglkzh0HGCObUk5vBywPEH/AwYKagODD5
y9d7XHGOx/Yh4sgeMTa7Ii02JEx8DdjmeHgZEjg3oUOI2yXVwP+j6Nfts6p0or5+
EEvS0aOR46dLiOlloTC212GIPrPyTMpmoeGpT/By2HfO/TuzKGXxrL9IxF5jehlG
Xm/ZH/Zhedn36eI/d4/tK9P9g/bRcO+TPPhYYTnddk1dIRHZwkXWLvV+OJrcKr5k
PQIIsaWIwcFY5MpHSC77Icoq/V06QczP2qND59F3eukkiYOnZDkKXqFAMHUFe04Q
rRf4RBYWALWTz3QHJ5Q1It+ZdeMFESRok7ciFcJqG8ouM87ePlc=
=LltY
-----END PGP SIGNATURE-----
--=-=-=--