Re: watchdog triggered auto-rollback

2024-05-29 Thread Attila Lendvai
> > i'm afraid that's not the case currently: > > > > %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the > > initrd (?)) > > https://issues.guix.gnu.org/71211 > > > Interesting. Is this a recent bug? When I was trying to bring up > Guix on the VisionFive 2 I was being drop

Re: watchdog triggered auto-rollback

2024-05-29 Thread Richard Sent
> i'm afraid that's not the case currently: > > %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the > initrd (?)) > https://issues.guix.gnu.org/71211 Interesting. Is this a recent bug? When I was trying to bring up Guix on the VisionFive 2 I was being dropped into a Guile

Re: watchdog triggered auto-rollback

2024-05-28 Thread Attila Lendvai
> I believe that if the initrd fails during startup it will abort into an > interactive Guile REPL. This might hurt GRUB's ability to detect > something went wrong since the kernel would still be running. i'm afraid that's not the case currently: %guile-static-stripped crashes with a sigsegv (i.

Re: watchdog triggered auto-rollback

2024-05-27 Thread Richard Sent
Nathan Dehnel writes: > GRUB: https://www.gnu.org/software/grub/manual/grub/html_node/fallback.html > GRUB supports falling back to another boot entry if the machine fails > to boot. This could be integrated with guix so GRUB falls back to a > previous guix system generation. This covers the case

Re: watchdog triggered auto-rollback

2024-05-25 Thread Richard Sent
raingl...@riseup.net writes: > Would others find this useful? Where in the stack would this be solved? > Could we, for example, catch an issue in the init system and still > perform a rollback? Or if not a full rollback, then at least a reboot > into the previous config? (And if that is also b