Hi,
I'm trying to have a small OpenVPN client in a LXC container in Proxmox. I created two privileged LXC containers, one is Alpine Linux and one is Debian 9. I added "lxc.cgroup.devices.allow = c 10:200 rwm" to the .conf file of both containers.
Once the container has started I run "mkdir -p /dev/net" and then "mknod -m 666 /dev/net/tun c 10 200" but mknod fails in the Alpine Container with the error "mknod: /dev/net/tun: Operation not permitted", while in Debian it correctly creates the file.
I double checked the LXC .conf file and both have the correct cgroup directives. Is there anything special that has to be done in Alpine Linux to run the mknod command? I even tried with "lxc.cgroup.devices.allow: a" but still the same result.
At the end of the day I'd rather have OpenVPN in the Alpine Linux container rather than the Debian one, that's why I'm trying to make it work on the Alpine Linux one.
I'm trying to have a small OpenVPN client in a LXC container in Proxmox. I created two privileged LXC containers, one is Alpine Linux and one is Debian 9. I added "lxc.cgroup.devices.allow = c 10:200 rwm" to the .conf file of both containers.
Once the container has started I run "mkdir -p /dev/net" and then "mknod -m 666 /dev/net/tun c 10 200" but mknod fails in the Alpine Container with the error "mknod: /dev/net/tun: Operation not permitted", while in Debian it correctly creates the file.
I double checked the LXC .conf file and both have the correct cgroup directives. Is there anything special that has to be done in Alpine Linux to run the mknod command? I even tried with "lxc.cgroup.devices.allow: a" but still the same result.
At the end of the day I'd rather have OpenVPN in the Alpine Linux container rather than the Debian one, that's why I'm trying to make it work on the Alpine Linux one.