/proc hidepid setting ignored at boot
by The_Dark_Passenger from LinuxQuestions.org on (#4R9XH)
Hello,
I am trying to set the hidepid value to 2 for /proc at boot. This is how the proc entry appears in my /etc/fstab.
Code:proc /proc proc defaults,hidepid=2 0 0However, it is not set at boot, and instead it just uses the default mount options. Remounting /proc with hidepid=2 works. It just won't set at boot. I have also tried setting rw,relatime,hidepid=2 instead of defaults, but that doesn't work either.
Running most up to date Slackware64 -current with 4.19.75 generic kernel.
Any help would be appreciated as to why this isn't occurring at boot.
Thanks!


I am trying to set the hidepid value to 2 for /proc at boot. This is how the proc entry appears in my /etc/fstab.
Code:proc /proc proc defaults,hidepid=2 0 0However, it is not set at boot, and instead it just uses the default mount options. Remounting /proc with hidepid=2 works. It just won't set at boot. I have also tried setting rw,relatime,hidepid=2 instead of defaults, but that doesn't work either.
Running most up to date Slackware64 -current with 4.19.75 generic kernel.
Any help would be appreciated as to why this isn't occurring at boot.
Thanks!