On Fri, Apr 19, 2024 at 6:17 AM Thorsten Kukuk <kukuk@xxxxxxxx> wrote: > > On Fri, Apr 19, 2024 at 11:48 AM Luca Boccassi <luca.boccassi@xxxxxxxxx> 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.