From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, 36855@debbugs.gnu.org
Subject: bug#36855: guix system switch-generation doesn't
Date: Tue, 27 Aug 2019 20:34:10 -0400 [thread overview]
Message-ID: <87tva2m8ki.fsf@netris.org> (raw)
In-Reply-To: <87woezoj3p.fsf__10757.9769611888$1566845612$gmane$org@netris.org> (Mark H. Weaver's message of "Mon, 26 Aug 2019 14:51:27 -0400")
Hello again,
Mark H Weaver <mhw@netris.org> writes:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Jakob, now that we generate scripts for the effectful bits of system
>> reconfiguration (one of these bits being service upgrades), couldn’t we
>> take it one step further and store those scripts in the “system”
>> derivation so we can run them eventually, notably upon
>> ‘switch-generation’?
>
> As a bonus, this approach might solve another issue I've observed: on my
> Guix system, where I build everything locally, several derivations are
> built *during* activation. Based on the terminal output, I get the
> impression that the system is compiling things while the system in an
> intermediate state, when some of the activation steps have been done,
> but not all of them.
>
> As I recall, the derivations built during activation are limited to
> compiled modules for Guile, but it still sometimes takes on the order of
> a minute or two on my laptop to complete the "activating system" steps.
> This seems suboptimal.
>
> The next time I update my system, I'll try to remember to keep a
> transcript of this, so that I can be more specific.
Here's a transcript:
--8<---------------cut here---------------start------------->8---
activating system...
building /gnu/store/fbp6bbxw9cf617fmk57sddrz7zfsfw5p-module-import-compiled.drv...
building /gnu/store/wfi6hnr9ggal0s1d32xx5wbl5k5wqlvx-switch-to-system.scm.drv...
making '/gnu/store/mjzk53ia3bajn08lscpyzz5apcw3r70g-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/l7r1has973n26hfqrs6vxbi94xzgh360-etc...
building /gnu/store/h2fqcxv3xx14lkdhyphm3lawkayw7sdl-module-import-compiled.drv...
building /gnu/store/dar9smjyxmri6v6cchnmp5mpyiimyx64-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '/dev/sda'
building /gnu/store/vkk3h5p799lfpmf6msdhrzlq0wqvk3zq-module-import-compiled.drv...
building /gnu/store/hn8sr8p13gg2mf379xawscabckp03fkb-upgrade-shepherd-services.scm.drv...
shepherd: Evaluating user expression (let* ((services (map primitive-load (?))) # ?) ?).
guix system: warning: only 3.9% of free space available on /gnu/store
hint: Consider deleting old profile generations and collecting garbage, along these lines:
guix gc --delete-generations=1m
--8<---------------cut here---------------end--------------->8---
Mark
next prev parent reply other threads:[~2019-08-28 0:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 10:00 bug#36855: guix system switch-generation doesn't Robert Vollmert
2019-07-30 16:16 ` Jakob L. Kreuze
2019-08-06 21:21 ` Robert Vollmert
2019-08-06 21:25 ` Robert Vollmert
[not found] ` <A3C3B87A-1B74-4983-A8EA-7281E3103567@vllmrt.net>
2019-08-07 19:37 ` Christopher Lemmer Webber
2019-08-07 19:57 ` Jakob L. Kreuze
[not found] ` <877e7on3zd.fsf@sdf.lonestar.org>
2019-08-08 16:40 ` Chris Marusich
[not found] ` <87h86ry5j5.fsf@gmail.com>
2019-08-08 17:03 ` Robert Vollmert
[not found] ` <51A8B412-1AE3-4464-8146-DE8B19B7C4DF@vllmrt.net>
2019-08-09 7:35 ` Chris Marusich
2019-08-26 10:07 ` Ludovic Courtès
2019-08-26 18:51 ` Mark H Weaver
2019-08-28 0:34 ` Mark H Weaver [this message]
2019-08-28 18:33 ` Jakob L. Kreuze
2019-08-28 18:46 ` Mark H Weaver
[not found] ` <875zmhm8jo.fsf@netris.org>
2019-08-29 0:08 ` Jakob L. Kreuze
[not found] ` <874l241bq6.fsf@gnu.org>
2019-08-28 18:28 ` Jakob L. Kreuze
2021-03-09 7:01 ` bug#36855: bug#37596: 'guix system switch-generation' does not reload Shepherd services Brice Waegeneire
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=87tva2m8ki.fsf@netris.org \
--to=mhw@netris.org \
--cc=36855@debbugs.gnu.org \
--cc=guix-devel@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).