imthenachoman / How-To-Secure-A-Linux-Server

An evolving how-to guide for securing a Linux server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hidepid=2 unsupported by systemd

nlgranger opened this issue · comments

Sadly, systemd seems to assume /proc is mounted with hidepid set to its default value in order to function properly.
See:

Considering the widespread use of systemd nowadays, I suppose you might want to add a notice for its user.

Will do. Just started a new job so a little behind with updates but will get to it soon. Thanks!

So it seems to be working fine on my machine but I will add a note. Thanks!

Has it broken anything for you? I just redid my server and so far haven't had any issues with hidepid. Wondering if they fixed the bug?

Has it broken anything for you? I just redid my server and so far haven't had any issues with hidepid. Wondering if they fixed the bug?

It broke something for me, my pi-hole FTL stop working if I mount /proc with hidepid

Here's a nifty explanation from the Red Hat Customer Portal on why mounting /proc on hidepid=2 isn't a great idea in RHEL 7+. They do mention that eventually it may become an option.

https://access.redhat.com/solutions/6704531