[systemd-devel] Antw: [EXT] I/O error on "systemctl kill -s HUP rsyslog.service"

Lennart Poettering lennart at poettering.net
Thu Aug 13 09:07:58 UTC 2020


On Do, 13.08.20 09:17, Harald Dunkel (harald.dunkel at aixigo.com) wrote:

> On 8/13/20 9:05 AM, Andrei Borzenkov wrote:
> >
> > systemd should really clearly log this (invalid PID and and in which
> > cgroup it was). Returning generic error message without any indication
> > what caused this error is not useful at all.
>
> Do you think it would be reasonable to silently ignore the PID = 0
> in cg_read_pid() and maybe others?

No! It's a bug. Not in systemd, but LXC. But generating errors in such
a borked setup is *good*, not bad, and certainly nothing to hide.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list