[systemd-devel] systemctl, unclear error msg/warning, "Refusing to accept PID outside of service control group..."
rop
rop049 at gmail.com
Thu Oct 27 20:46:38 UTC 2022
When doing systemctl-status on an old application, we are now seeing this
error/warning:
"systemd[1]: Refusing to accept PID outside of service control group,
acquired through unsafe symlink chain"
I tested to remove a symlink in the chain, but then got this instead:
"New main PID xxxxx does not belong to service, and PID file is not
owned by root. Refusing."
And when trying to examine the pid-file, it wasn't even created.
In spite of these errors/warnings, it seems the application is still
working...
So I am not sure when this error started appearing,
but I suspect it has started after some RHEL OS-upgrade in the last year(s).
googling didn't turn up much, so far....
Where can I find an explanation of these messages?
What exactly is deemed "unsafe"?
And what to do about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221027/9a4ab798/attachment.htm>
More information about the systemd-devel
mailing list