void-linux / void-linux/void-runit
proc hidepid=2 not working
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 245
- Forks
- 67
- Avg merge
- 2d
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the boot-time behavior using the /etc/fstab entry, then compare it with the successful mount -o remount /proc workaround and inspect the repository's runit init scripts. The fix is complete when hidepid=2 is applied after reboot without requiring /etc/rc.local, while top shows only the current user's processes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100