bug#53580: shepherd's architecture

2023-06-08 Thread Attila Lendvai
> Sorry to be direct: is there a concrete bug you’re reporting here? i didn't pay careful enough attention to report something specific, but one thing that pops to mind: when i'm working on my service code, which is `guix pull`ed in from my channel, then after a reconfigure i seem to have to r

bug#53580: shepherd's architecture

2023-06-08 Thread Csepp
Ludovic Courtès writes: > Hi Attila, > > Attila Lendvai skribis: > >> [forked from: bug#53580: /var/run/shepherd/socket is missing on an otherwise >> functional system] >> >>> So I think we’re mostly okay now. The one thing we could do is load >>> the whole config file in a separate fiber, an

bug#53580: shepherd's architecture

2023-06-06 Thread Ludovic Courtès
Hi Attila, Attila Lendvai skribis: > [forked from: bug#53580: /var/run/shepherd/socket is missing on an otherwise > functional system] > >> So I think we’re mostly okay now. The one thing we could do is load >> the whole config file in a separate fiber, and maybe it’s fine to keep >> going even

bug#53580: shepherd's architecture

2023-05-29 Thread Felix Lechner via Bug reports for GNU Guix
Hi Brian, On Mon, May 29, 2023 at 8:02 AM Brian Cully via Development of GNU Guix and the GNU System distribution. wrote: > > Erlang has had hot code reloading for decades Thank you for that pointer! I also had Erlang on my mind while reading Attila's message. > Lisp Flavoured Erlang exists if

bug#53580: shepherd's architecture

2023-05-29 Thread Brian Cully via Bug reports for GNU Guix
Attila Lendvai writes: it doesn't seem to be an insurmontable task to make sure that guile can safely unlink a module from its heap, check if there are any references into the module to be dropped, and then reload this module from disk. the already runing fibers would keep the required co

bug#53580: shepherd's architecture

2023-05-28 Thread Attila Lendvai
[resending to include the guix-devel list. apologies for everyone who receives this mail twice!] -- [forked from: bug#53580: /var/run/shepherd/socket is missing on an otherwise functional system] > So I think we’re mostly okay now. The one thing we could do is load > the whole config file

bug#53580: shepherd's architecture

2023-05-27 Thread Attila Lendvai
[forked from: bug#53580: /var/run/shepherd/socket is missing on an otherwise functional system] > So I think we’re mostly okay now. The one thing we could do is load > the whole config file in a separate fiber, and maybe it’s fine to keep > going even when there’s an error during config file eval