Convert OpenVZ to LXC (unprivileged) Bind Mount Issue

Shaun

Renowned Member
Mar 10, 2016
12
2
68
59
I have converted several existing Ubuntu 14.04 OpenVZ containers to LXC (privileged) including bind mounts without any issues.

I am now trying to convert these privileged LXC containers to unprivileged ones, including their bind mounts and have run into an issue in that the mapping for the bind mounts works correctly including their uid:gid mappings but the users local files mappings get set to nobody:nogroup.

If I create a new ubuntu 14.04 unprivileged LXC container using the recent Ubuntu 14.04 LXC template, everything works as expected.

In both cases the running containers are fully patched.

Is there something that I need to install/enable in the 'old' converted templates to get this to work correctly.

I don't really want to rebuild the containers from scratch if I can help it...
 

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!