From: Christopher Lemmer Webber <cwebber@dustycloud.org>
To: 36855@debbugs.gnu.org
Cc: guix-devel@gnu.org
Subject: bug#36855: guix system switch-generation doesn't
Date: Wed, 07 Aug 2019 15:37:56 -0400 [thread overview]
Message-ID: <87zhkkojfv.fsf@dustycloud.org> (raw)
In-Reply-To: <A3C3B87A-1B74-4983-A8EA-7281E3103567@vllmrt.net>
Could you look at bug #36878 and commit 1db6f137d... as of latest
master, is this fixed?
Robert Vollmert writes:
> Could we get some input on this bug?
>
> Maybe I’m misunderstanding something, but it seems that a core guix
> feature (atomic rollbacks) doesn’t work…
>
>> On 30. Jul 2019, at 12:00, Robert Vollmert <rob@vllmrt.net> wrote:
>>
>> What I see:
>>
>> 1. edit ~/pzprnode/pzprnode
>>
>> rob@garp ~/pzprnode$ git diff
>> diff --git a/pzprnode b/pzprnode
>> index 612e6a8..d8ef0ea 100755
>> --- a/pzprnode
>> +++ b/pzprnode
>> @@ -190,5 +190,6 @@ const server = http.createServer((req, res) => {
>> });
>>
>> server.listen(port, hostname, () => {
>> + console.log("updated version");
>> console.log(`Server running at http://${hostname}:${port}/`);
>> });
>>
>> 2. sudo guix system reconfigure -L ~/garp-config ~/garp-config/config.scm
>> 3. sudo herd restart pzprnode
>> 4. less /var/log/messages
>>
>> Jul 30 11:46:57 localhost shepherd[1]: Service pzprnode has been stopped.
>> Jul 30 11:46:57 localhost shepherd[1]: Service pzprnode has been started.
>> Jul 30 11:46:58 localhost pzprnode[4954]: updated version
>> Jul 30 11:46:58 localhost pzprnode[4954]: Server running at http://127.0.0.1:3456/
>>
>> 5. sudo guix system list-generations
>>
>> Generation 151 Jul 30 2019 10:37:06
>> file name: /var/guix/profiles/system-151-link
>> canonical file name: /gnu/store/jis33accsfpa068aps0a9mrycmjzfm4m-system
>> label: GNU with Linux-Libre 5.2.1
>> bootloader: grub
>> root device: label: "guix-root"
>> kernel: /gnu/store/fp6wsvn10h1is0wkz8l2sbzjmjbzi7vr-linux-libre-5.2.1/bzImage
>> Generation 152 Jul 30 2019 11:43:13 (current)
>> file name: /var/guix/profiles/system-152-link
>> canonical file name: /gnu/store/3z3wmaj0399kihqc372y91nzcjxc1myl-system
>> label: GNU with Linux-Libre 5.2.1
>> bootloader: grub
>> root device: label: "guix-root"
>> kernel: /gnu/store/fp6wsvn10h1is0wkz8l2sbzjmjbzi7vr-linux-libre-5.2.1/bzImage
>>
>> 6. sudo guix system switch-generation 151
>>
>> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
>> The following derivation will be built:
>> /gnu/store/qvxbl3gm6406dbbkm8jigmpc8zi42lfw-grub.cfg.drv
>> building /gnu/store/qvxbl3gm6406dbbkm8jigmpc8zi42lfw-grub.cfg.drv...
>> switched from generation 152 to 151
>>
>> 7. sudo herd restart pzprnode
>> 8. less /var/log/messages
>>
>> Jul 30 11:48:02 localhost shepherd[1]: Service pzprnode has been stopped.
>> Jul 30 11:48:02 localhost shepherd[1]: Service pzprnode has been started.
>> Jul 30 11:48:03 localhost pzprnode[4994]: updated version
>> Jul 30 11:48:03 localhost pzprnode[4994]: Server running at http://127.0.0.1:3456/
>>
>> The line with “updated version” should not be there.
>>
>> Presumably, this is due to switch-generations not calling upgrade-shepherd-services.
>>
next prev parent reply other threads:[~2019-08-07 19:38 UTC|newest]
Thread overview: 26+ 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
2019-08-06 21:25 ` Robert Vollmert
2019-08-07 19:37 ` Christopher Lemmer Webber [this message]
2019-08-07 19:57 ` bug#36855: " Jakob L. Kreuze
2019-08-08 16:40 ` Chris Marusich
2019-08-08 17:03 ` Robert Vollmert
2019-08-09 7:35 ` Chris Marusich
2019-08-09 7:35 ` Chris Marusich
2019-08-08 17:03 ` Robert Vollmert
2019-08-26 10:07 ` Ludovic Courtès
2019-08-26 18:51 ` Mark H Weaver
2019-08-26 18:51 ` Mark H Weaver
2019-08-28 0:34 ` Mark H Weaver
2019-08-28 18:33 ` Jakob L. Kreuze
2019-08-28 18:46 ` Mark H Weaver
2019-08-29 0:08 ` Jakob L. Kreuze
2019-08-28 18:46 ` Mark H Weaver
2019-08-28 18:33 ` Jakob L. Kreuze
2019-08-26 10:07 ` Ludovic Courtès
2019-08-28 18:28 ` Jakob L. Kreuze
2019-08-08 16:40 ` Chris Marusich
2019-08-07 19:57 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zhkkojfv.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=36855@debbugs.gnu.org \
--cc=guix-devel@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.