[systemd-devel] systemctl, unclear error msg/warning, "Refusing to accept PID outside of service control group..."

Michal Koutný mkoutny at suse.com
Thu Nov 3 18:41:14 UTC 2022


Hi.

On Thu, Oct 27, 2022 at 10:46:38PM +0200, rop <rop049 at gmail.com> wrote:
>    "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.

That'd suggest that the service has misconfigured PIDFile= path (not
pointint to where the daemon actually writes its pid).

> Where can I find an explanation of these messages?
> 
> What exactly is deemed "unsafe"?

Perhaps,
https://github.com/systemd/systemd/issues/8085#issuecomment-363008993

> And what to do about it?

Update the application/its unit file :-p

Michal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221103/b864d34e/attachment.sig>


More information about the systemd-devel mailing list