unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Castillo <castilma@uni-bremen.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 29662@debbugs.gnu.org
Subject: bug#29662: 'guix gc' as user makes system unbootable
Date: Mon, 18 Dec 2017 15:46:06 +0100	[thread overview]
Message-ID: <006d1841-686f-340a-539f-174281d55541@uni-bremen.de> (raw)
In-Reply-To: <878te0t8dc.fsf@gnu.org>

Hi,

On 18.12.2017 15:31, Ludovic Courtès wrote:
> Under what circumstances did you have a system without
> /var/guix/gcroots/bootcfg?
> 

I cannot tell. I had some fs errors and run e2fsck several times. Maybe
that removed the link? But since then, I had done several reconfigures.
I'd expect those to recreate it again.

>> # guix system switch-generation 14
>> substitute: updating list of substitutes from
>> 'https://berlin.guixsd.org'... 100.0%
>> substitute: updating list of substitutes from
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> The following derivation will be built:
>>    /gnu/store/31bxx2nwp3lxzdkcy8bmybabfl1pi0af-grub.cfg.drv
>> Von Generation »10« zu »14« gewechselt
>> $ diff /var/guix/gcroots/bootcfg /boot/grub/grub.cfg
>> ## no-output, grub.cfg has still the same content->
>> /var/guix/gcroots/bootcfg changed
>> # guix system reconfigure confs/config.scm
>> ## mentions expected grub error
>> $ diff /var/guix/gcroots/bootcfg /boot/grub/grub.cfg
>> see diff [2]
>>
>> it does not seem to update /var/guix/gcroots/bootcfg.
>> and bootcfg somehow lists the generation number in the default entry.
> 
> Are you saying that ‘guix system switch-generation’ does not update the
> target of the /var/guix/gcroots/bootcfg symlink?  (From a quick look at
> the code it seems to update it.)

No, if you read it again, you see that 'switch-generation' updates it
correctly. 'reconfigure' doesn't seem to update it!

Martin

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

  reply	other threads:[~2017-12-18 14:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 17:21 bug#29662: 'guix gc' as user makes system unbootable Quiliro Ordonez Baca
2017-12-11 21:14 ` Ricardo Wurmus
2017-12-11 21:26   ` Quiliro Ordonez Baca
2017-12-11 21:40     ` Ricardo Wurmus
2017-12-11 22:03       ` Quiliro Ordonez Baca
2017-12-20 14:49         ` Ricardo Wurmus
2017-12-21 21:06     ` Quiliro Ordonez Baca
2017-12-17 22:23 ` Martin Castillo
2017-12-18  9:54   ` Ludovic Courtès
2017-12-18 14:18     ` Martin Castillo
2017-12-18 14:31       ` Ludovic Courtès
2017-12-18 14:46         ` Martin Castillo [this message]
2018-01-08 14:34           ` Ludovic Courtès
2018-01-08 18:37             ` Martin Castillo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=006d1841-686f-340a-539f-174281d55541@uni-bremen.de \
    --to=castilma@uni-bremen.de \
    --cc=29662@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).