Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proc hidepid=2 not working #73

Open
egrain opened this issue Mar 17, 2021 · 2 comments
Open

proc hidepid=2 not working #73

egrain opened this issue Mar 17, 2021 · 2 comments

Comments

@egrain
Copy link

egrain commented Mar 17, 2021

I have this in /etc/fstab
proc /proc proc nosuid,nodev,noexec,hidepid=2 0 0

after rebooting I still see everything with top though.
when I do
mount -o remount /proc
top shows me only what I have going on.

in #voidlinux I was given this link, so I report.

Workaround:
putting the "mount -o remount /proc" line in /etc/rc.local

thanks for your time.

@h4xor666
Copy link

h4xor666 commented Aug 6, 2021

I have the same issue. Unfortunately, the workaround is not working for me. If I try the workaround, it fails to mount the drive successfully, which may have something to do with the LUKS partitioning or something. In any case, I don't think it should need the workaround to work.

@Risto-Stevcev
Copy link

I remounted and set hidepid=2 in rc.local and it works for me. I'm also using LUKS:

mount -o remount,rw,nosuid,nodev,noexec,relatime,hidepid=2 /proc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants