Lxd 4.0.1 nagio-nrpe-server running certain check in unprivileged container

PrivateTmp=true may be doing something funny in this case.

You could try putting a unit override (systemctl edit nagios-nrpe-server) with something like:

[Service]
PrivateTmp=false

Then do systemctl daemon-reload and systemctl restart nagios-nrpe-server to apply it and see if that fixes things for you.

1 Like