On Fri, 23 Jul 2021, Michael Biebl wrote:

On Thu, 22 Jul 2021 21:09:33 +0200 Thomas Uhle 
<thomas.u...@mailbox.tu-dresden.de> wrote:

> Do you know whether this has already been fixed in a newer systemd version
> or whether this has already been dealt with upstream? I could not find
> anything with respect to this issue

There is https://github.com/systemd/systemd/issues/16896


It was closed wontfix.


Thanks a lot for the hint!

I had a look at the explanation and the corresponding commit, and I understand that it is not possible to have support on a per-mount basis for the ProtectProc setting if the running Linux kernel is older than version 5.8. But I have also learned that the old behaviour of systemd (before version 245) can be retained at least just by replacing "ProtectProc=invisible" with "ProtectProc=default" in the systemd service units in question (after copying these files to /etc/systemd/system/ of course). Then systemd does not try to mount /proc with option "hidepid=invisible" and, thus, there is also no error message in syslog any longer.

Best regards,

Thomas Uhle

Reply via email to