[Bug 1425477] Re: After some time of LXC usage SSH fails with `openpty: Permission denied`

Arkadiy Kulev 1425477 at bugs.launchpad.net
Fri Mar 11 13:26:22 UTC 2016


I am having exactly the same problem (I tried installing a openvpn
server inside the LXC and needed to use autodev to setup TUN interface).
My host machine failed shortly after:

cat > /usr/share/lxc/config/common.conf.d/02-openvpn-auto-tun.conf << EOL
lxc.hook.autodev = /usr/share/lxc/hooks/openvpn-auto-tun
EOL

cat > /usr/share/lxc/hooks/openvpn-auto-tun << EOL
#!/bin/bash
cd ${LXC_ROOTFS_MOUNT}/dev
mkdir net
mknod net/tun c 10 200
chmod 0666 net/tun
EOL

chmod 755 /usr/share/lxc/hooks/openvpn-auto-tun

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1425477

Title:
  After some time of LXC usage SSH fails with `openpty: Permission
  denied`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1425477/+subscriptions



More information about the Ubuntu-server-bugs mailing list