* System can no longer be reconfigured
@ 2024-04-18 17:14 Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-04-19 20:17 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2024-04-18 17:14 UTC (permalink / raw)
To: guix-devel
Hi,
I can no longer reconfigure a system with any of these methods:
1. "guix deploy" which I use almost exclusively
2. "guix system reconfigure" after a recent pull
3. "./pre-inst-env guix system reconfigure" with a recent Git checkout.
Guix hangs during the system activation step. Any ideas?
Kind regards
Felix
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System can no longer be reconfigured
2024-04-18 17:14 System can no longer be reconfigured Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2024-04-19 20:17 ` Ludovic Courtès
2024-04-21 15:54 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2024-04-19 20:17 UTC (permalink / raw)
To: Felix Lechner via Development of GNU Guix and the GNU System distribution.
Cc: Felix Lechner
Hi,
Felix Lechner via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> skribis:
> I can no longer reconfigure a system with any of these methods:
>
> 1. "guix deploy" which I use almost exclusively
> 2. "guix system reconfigure" after a recent pull
> 3. "./pre-inst-env guix system reconfigure" with a recent Git checkout.
>
> Guix hangs during the system activation step. Any ideas?
Is it not hanging during Shepherd service upgrade? (I think you
mentioned that elsewhere.)
If that is the case, (1) that is not preventing upgrade from happening
since that’s the very last step (it just means you’ll have to reboot),
and (2) it’s a shepherd-related bug for which perhaps there are clues in
/var/log/messages?
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System can no longer be reconfigured
2024-04-19 20:17 ` Ludovic Courtès
@ 2024-04-21 15:54 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-04-21 16:15 ` John Kehayias
0 siblings, 1 reply; 4+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2024-04-21 15:54 UTC (permalink / raw)
To: Ludovic Courtès,
Felix Lechner via Development of GNU Guix and the GNU System distribution.
Hi Ludo'
On Fri, Apr 19 2024, Ludovic Courtès wrote:
> Is it not hanging during Shepherd service upgrade?
Yes, thank you! It was hanging during the Shepherd system upgrade due
to an invalid calendar-event specification. In a service that uses both
#:days-of-month as well as #:days-of-week, I got confused because the
count starts with one in one, and with zero in the other. [1]
Thank you for your kind pointer in another forum! The issue is now
solved.
On this occasion, please allow me to mention for everyone's benefit that
your support level for the Shepherd is very generous---especially when
the complaints involve repeated user errors by the people bothering you.
> If that is the case, (1) that is not preventing upgrade from happening
> since that’s the very last step (it just means you’ll have to reboot),
Yes, but 'reboot' and 'halt' also stop working, which meant that I
issued 'sync' a few times and then, crossing my fingers, pressed the
reset button a few hundreds of a second later. I wish there were a way
to force a reboot.
> (2) it’s a shepherd-related bug for which perhaps there are clues in
> /var/log/messages?
Thank you for that pointer, too. I'm still learning about where to look
for error messages, whose destination is not always obvious to me.
Kind regards
Felix
[1] https://codeberg.org/lechner/system-config/commit/8639339dbd3ad4c51ceba239bf4aadc56223fb4a
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: System can no longer be reconfigured
2024-04-21 15:54 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2024-04-21 16:15 ` John Kehayias
0 siblings, 0 replies; 4+ messages in thread
From: John Kehayias @ 2024-04-21 16:15 UTC (permalink / raw)
To: Felix Lechner via "Development of GNU Guix and the GNU System distribution."
Cc: Ludovic Courtès, Felix Lechner
Dear Felix et al,
On Sun, Apr 21, 2024 at 08:54 AM, Felix Lechner via \"Development of GNU Guix and the GNU System distribution.\" wrote:
> Hi Ludo'
>
> On Fri, Apr 19 2024, Ludovic Courtès wrote:
>
>> Is it not hanging during Shepherd service upgrade?
>
> Yes, thank you! It was hanging during the Shepherd system upgrade due
> to an invalid calendar-event specification. In a service that uses both
> #:days-of-month as well as #:days-of-week, I got confused because the
> count starts with one in one, and with zero in the other. [1]
>
> Thank you for your kind pointer in another forum! The issue is now
> solved.
>
> On this occasion, please allow me to mention for everyone's benefit that
> your support level for the Shepherd is very generous---especially when
> the complaints involve repeated user errors by the people bothering you.
>
>> If that is the case, (1) that is not preventing upgrade from happening
>> since that’s the very last step (it just means you’ll have to reboot),
>
> Yes, but 'reboot' and 'halt' also stop working, which meant that I
> issued 'sync' a few times and then, crossing my fingers, pressed the
> reset button a few hundreds of a second later. I wish there were a way
> to force a reboot.
>
Not sure if this is what you did, but for anyone else that didn't know
this (like me, for many years!) there is the Magic SysRq Key to talk
directly to the kernel:
<https://en.wikipedia.org/wiki/Magic_SysRq_key>
I always remember "BUSIER" backwards as the sequence to push to safely
stop everything, sync disks, and reboot, without needing to use the
power button. Or the mnemonics: "raising elephants is so utterly
boring" or "reboot even if system utterly broken." Hopefully rarely
needed, but really handy when it is.
(I wrote a whole basic guide to killing things and these last keys:
<https://boilingsteam.com/kill-magic/>)
>> (2) it’s a shepherd-related bug for which perhaps there are clues in
>> /var/log/messages?
>
> Thank you for that pointer, too. I'm still learning about where to look
> for error messages, whose destination is not always obvious to me.
>
> Kind regards
> Felix
>
> [1]
> <https://codeberg.org/lechner/system-config/commit/8639339dbd3ad4c51ceba239bf4aadc56223fb4a>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-21 16:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 17:14 System can no longer be reconfigured Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-04-19 20:17 ` Ludovic Courtès
2024-04-21 15:54 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-04-21 16:15 ` John Kehayias
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.