On Sat, 20 Apr 2024 at 01:45, Cristian Rodríguez
<crrodrig...@opensuse.org> wrote:
>
> On Fri, Apr 19, 2024 at 6:17 AM Thorsten Kukuk <ku...@suse.com> wrote:
> >
> > On Fri, Apr 19, 2024 at 11:48 AM Luca Boccassi <luca.bocca...@gmail.com> 
> > wrote:
> >
> > > However, logging should work out of the box as long as the journal is
> > > used, what problem are you seeing exactly?
> >
> > Starting around the shutdown and new start of systemd-journald during
> > soft-reboot, all writes to stderr will result in an error (or create
> > SIGPIPE if this is not disabled).
>
> ugh. That's bad.. Did you identify what component does not set MSG_NOSIGNAL ?
> afaik nothing should ever be closing a running program's stderr and
> anything that happens after is undefined .
> Posix says one may only close it after the last atexit() handler is run.

Haven't seen that issue with my programs. Do you have a reproducer?

Reply via email to