Adding -s lxc.tty=1 -s lxc.console=/dev/console for interactive processes works for me:
sudo lxc-execute -n test /bin/bash -s lxc.rootfs=/ -s lxc.tty=1 -s lxc.console=/dev/console -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/986956 Title: document that lxc-execute with separate rootfs does not work with commands To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986956/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
