
Hi, With the current Ubuntu LTS as both host and guest for LXC I'm missing /dev/net/tun inside the LXCs. I found some people on the internet mumbling about creating /var/lib/lxc/$NAME/autodev as a shell script that does the appropriate mknod, but this doesn't seem to do anything for me. For the time being I've "fixed" it with a bodged openvpn init script inside the LXCs (that just adds the mknod call) but I wondered if anyone here knew what the proper way to fix this on LXCs is? Please note, this is a separate issue to needing to add the permission to the LXC config. I'm already doing that, and the dev node wouldn't work at all if I hadn't. (But works fine once I do) Cheers, Toby -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world

Looks like it was just needing lxc.autodev=1 to be added to the config, and away we went! On 30 July 2014 11:04, Toby Corkindale <toby@dryft.net> wrote:
Hi, With the current Ubuntu LTS as both host and guest for LXC I'm missing /dev/net/tun inside the LXCs. I found some people on the internet mumbling about creating /var/lib/lxc/$NAME/autodev as a shell script that does the appropriate mknod, but this doesn't seem to do anything for me. For the time being I've "fixed" it with a bodged openvpn init script inside the LXCs (that just adds the mknod call) but I wondered if anyone here knew what the proper way to fix this on LXCs is?
Please note, this is a separate issue to needing to add the permission to the LXC config. I'm already doing that, and the dev node wouldn't work at all if I hadn't. (But works fine once I do)
Cheers, Toby
-- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world
-- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world
participants (1)
-
Toby Corkindale