[pve-devel] [PATCH 1/5] vm_start : attach loop devices for non rootfs mountpoint

Dietmar Maurer dietmar at proxmox.com
Tue Aug 18 06:32:20 CEST 2015


> I Think I can solve lxc.cgroup.devices.allow, by simply writing
>  /sys/fs/cgroup/devices/lxc/VMID/devices.list 
> in hook.
> 
> So, I can move the activate part to pre_start hook.

AFAIK we write the LXC conf file at create time, and when we do 'pct start'.
So there is no real need to rewrite it again in pre-start hook?




More information about the pve-devel mailing list