From: Robert Vollmert <rob@vllmrt.net>
To: 36855@debbugs.gnu.org
Cc: guix-devel@gnu.org
Subject: Re: guix system switch-generation doesn't
Date: Tue, 6 Aug 2019 23:25:10 +0200 [thread overview]
Message-ID: <A3C3B87A-1B74-4983-A8EA-7281E3103567@vllmrt.net> (raw)
In-Reply-To: <7BE8190F-A8E9-454E-8F37-FBFE42FBDE10@vllmrt.net>
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 parent reply other threads:[~2019-08-06 21:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7BE8190F-A8E9-454E-8F37-FBFE42FBDE10@vllmrt.net>
2019-08-06 21:25 ` Robert Vollmert [this message]
2019-08-07 19:37 ` bug#36855: guix system switch-generation doesn't Christopher Lemmer Webber
2019-08-07 19:57 ` 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-26 10:07 ` Ludovic Courtès
2019-08-28 18:28 ` Jakob L. Kreuze
[not found] ` <874l241bq6.fsf__35802.4716888153$1566814098$gmane$org@gnu.org>
2019-08-26 18:51 ` Mark H Weaver
[not found] ` <87woezoj3p.fsf__10757.9769611888$1566845612$gmane$org@netris.org>
2019-08-28 0:34 ` Mark H Weaver
2019-08-28 18:33 ` Jakob L. Kreuze
[not found] ` <87y2zdnnrl.fsf__16000.9061962896$1567017269$gmane$org@sdf.lonestar.org>
2019-08-28 18:46 ` Mark H Weaver
2019-08-29 0:08 ` Jakob L. Kreuze
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=A3C3B87A-1B74-4983-A8EA-7281E3103567@vllmrt.net \
--to=rob@vllmrt.net \
--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 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).