From mboxrd@z Thu Jan  1 00:00:00 1970
From: Danny Milosavljevic <dannym@scratchpost.org>
Subject: bug#36942: Reconfigure broke GRUB
Date: Tue, 6 Aug 2019 23:53:22 +0200
Message-ID: <20190806235322.79ba57fe@scratchpost.org>
References: <20190806023517.uvf7ukp3qprsfvpv@cf0>
 <87tvauxvxo.fsf@sdf.lonestar.org> <87o912duoo.fsf@sdf.lonestar.org>
 <20190806214420.7c465ecc@scratchpost.org>
 <878ss6xeg4.fsf@sdf.lonestar.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/tb4ACGzRU7SQSMEcHxCDPqB"; 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]:46652)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv7P9-00025E-Mx
 for bug-guix@gnu.org; Tue, 06 Aug 2019 17:54:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv7P8-0003xJ-Q8
 for bug-guix@gnu.org; Tue, 06 Aug 2019 17:54:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:57338)
 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 1hv7P8-0003xB-MV
 for bug-guix@gnu.org; Tue, 06 Aug 2019 17:54:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hv7P8-0007wB-I4
 for bug-guix@gnu.org; Tue, 06 Aug 2019 17:54:02 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.36942.B36942.156512841430475@debbugs.gnu.org>
In-Reply-To: <878ss6xeg4.fsf@sdf.lonestar.org>
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: "Jakob L. Kreuze" <zerodaysfordays@sdf.lonestar.org>
Cc: 36942@debbugs.gnu.org

--Sig_/tb4ACGzRU7SQSMEcHxCDPqB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Jakob,

On Tue, 06 Aug 2019 15:48:43 -0400
zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) wrote:

> Danny Milosavljevic <dannym@scratchpost.org> writes:
>=20
> > 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/curren=
t-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. =20
>=20
> Was this fixed after applying #36947?

Yes.

> > The double slash looks very suspicious... =20
>=20
> 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 '/'.

Ah okay.

--Sig_/tb4ACGzRU7SQSMEcHxCDPqB
Content-Type: application/pgp-signature
Content-Description: Digitale Signatur von OpenPGP

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

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl1J9tIACgkQ5xo1VCww
uqUUsAf/ZZ8o8t6nyVfmrayN5SZhgbD6rCBLbrHqQhduDZxAwECewkjcqPBCSqtT
AI0zvDJF/VbXic6q9pgWfZdiDjT8FiCs3VNzqq0bmHthzOIBq0jxZNo1p0xIJZ7b
6qc7A7jVc9S37LDIh1cUGPDGhILVOww4aWcQXnfJINtb37oEq/dys+Z0yZywL07k
hHOWtUJuCQMzgfdaXoBLWXiezBG6Ildr/6te24yWLdUfmC5PvMn9XQ8Ul6Z2LAtt
iDHiUb36eWVtbHq0T8lXX6h6oyeqUzGE0/1C2jeLZV8oMk0hbYZGKekAnlZ1Ovrs
ET6+LQoATehXlALm6MmFIp189w5+HQ==
=L1M/
-----END PGP SIGNATURE-----

--Sig_/tb4ACGzRU7SQSMEcHxCDPqB--