[systemd-devel] soft-reboot and surviving it
Cristian Rodríguez
crrodriguez at opensuse.org
Fri Apr 19 23:35:08 UTC 2024
On Fri, Apr 19, 2024 at 6:17 AM Thorsten Kukuk <kukuk at suse.com> wrote:
>
> On Fri, Apr 19, 2024 at 11:48 AM Luca Boccassi <luca.boccassi at 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.
More information about the systemd-devel
mailing list