Process hiding in LXC (hidepid proc mount option)

it seems like this is broken either generally or in our specific combination of AppArmor userspace + kernel.. adding FS specific options to a mount rule should work according to the doc, but the parser chokes on it.
 
Hi @fabian
Thanks for your feedback. Definitely looks like something is broken here. Are you aware of anybody working on it or are you going to look into it by yourself in more detail?

filing an issue on our bugzilla and testing with e.g. a stock Ubuntu 17.10 or 18.04 would be helpful - if it is broken there as well we can take it upstream.
 
Hi Community

I have exactly the same problem with hidepid. I am running on kernel 4.15.17-3-pve and it is still not supported.

I also always get:
$ mount -o remount,hidepid=2 /proc
mount: cannot remount proc read-write, is write-protected

Does anyone has a hint on this topic? Because it is a big security issue for me.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!