[systemd-devel] soft-reboot and surviving it
Luca Boccassi
luca.boccassi at gmail.com
Fri May 31 14:10:33 UTC 2024
On Wed, 8 May 2024 at 14:22, Thorsten Kukuk <kukuk at suse.com> wrote:
>
> Hi,
>
> attached is a better reproducer for the "broken pipe" problem, if
> applications write to stderr. This time without buffered glibc
> streams.
> If writing to stderr (fd 2) fails, the error get's logged via
> sd_journal_print().
This happens because journald is stopped, and so the open sockets are
lost. It can be reproduced even without softreboot, by simply stopping
journald (not restarting, as the fd store is used in that case). I
think we need to enable persistent fd store for journald. It fixes the
issue in both cases for me.
More information about the systemd-devel
mailing list