Unable to re-mount /proc in Proxmox 3 containers?

Jan 26, 2011
82
2
6
Recently I discovered that the default /proc mount inside CentOS containers running under Proxmox 3.1 were mounted insecurely:

# mount|grep " /proc"
proc on /proc type proc (rw,relatime)

Under older versions of Proxmox, I was able to correct this by running:

mount -o remount,nosuid,noexec /proc

However, when running under Proxmox 3.1, the above returns:

mount: mount failed

Anyone here aware of a fix for this?

Thanks,

Curtis
 
I got distracted for a bit and am finally getting back to this.

Are you saying that lxc.mount.auto can be used in an openvz configuration file? In my googling, I'm only seeing examples of it being used in lxc container configs.

There must be some way to mount /proc in a secure way in OpenVZ.

Curtis
 

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!