help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Shepherd after `guix home reconfigure`


From: Hilton Chain
Subject: Re: Problem with Shepherd after `guix home reconfigure`
Date: Wed, 23 Aug 2023 11:19:49 +0800

Hi Tanguy,

On Wed, 23 Aug 2023 00:56:41 +0800,
Tanguy LE CARROUR wrote:
>
[...]
> > > ```
> > > $ guix home reconfigure
> > > # […]
> > > Loading /gnu/store/zbfyaxxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf.
> > > herd: error: exception caught while executing 'load' on service 'root':
> > > In procedure fport_write: Input/output error
> > > ```
> > >
> > > I've just tried something that, as weird as it sounds, I had never done 
> > > before:
> > > `herd stop mcron`! And… it just hangs forever!? I guess it not the
> > > expected behaviour?! 🤔
> > > I `ctrl+c`-ed it and, now, `herd status` also hangs forever!? 😞
> > > I'll see if everything goes back to normal after the next reboot…
> >
> > I don't know much about Shepherd but rebooting seems to be the only
> > solution when it hangs...
>
> I now have a slightly different error message:
>
> ```
> $ guix home reconfigure
> # […]
> SSLoading /gnu/store/zbfyaxxigns5lqyxhxzxhm92w54ns1cz-shepherd.conf.
> herd: error: exception caught while executing 'load' on service 'root':
> In procedure fport_write: Broken pipe
> ```


Seems to be an issue in Shepherd itself, it hung during loading the
configuration.


> ```
> # herd status
> Started:
>  + root
> Starting:
>  ^ mcron
>  ^ mpd
> Stopped:
>  - tor
>  - transmission
> ```
>
> I usually have:
>
> ```
> # herd status
> Started:
>  + mcron
>  + mpd
>  + root
> Stopped:
>  - tor
>  - transmission
> ```
>
> Even though `mpd` is reported as "starting" it actually works.
> `herd stop mcron` still hangs forever, but `herd status` keeps on
> working and reporting "starting" services.
>
> Thoughts? 🤔


From my own experience, such issue can be "solved" by rebooting (to
spawn new Shepherd daemons).  I don't know how to debug Shepherd and
there's no enough information for me to find the real cause.

So maybe sending a Shepherd bug report to bug-guix@gnu.org ?

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]