I’m new to LXC and hope you can help me with this little problem.
When I try to run:
sudo lxc-execute -n test -f /etc/lxc/default.conf -o ~/lxc-error.log – bash
I always get the same error:
lxc-execute test 20191130004700.164 ERROR utils - utils.c:safe_mount:1204 - No such file or directory - Failed to mount “/dev/pts/1” onto “/dev/console”
lxc-execute test 20191130004700.164 ERROR conf - conf.c:lxc_setup_dev_console:1746 - Failed to mount “/dev/pts/1” on “/dev/console”
lxc-execute test 20191130004700.164 ERROR conf - conf.c:lxc_setup:3623 - Failed to setup console
lxc-execute test 20191130004700.164 ERROR start - start.c:do_start:1300 - Failed to setup container “test”
lxc-execute test 20191130004700.165 ERROR sync - sync.c:__sync_wait:61 - An error occurred in another process (expected sequence number 5)
lxc-execute test 20191130004700.220 ERROR start - start.c:__lxc_start:2023 - Failed to spawn container “test”
lxc-execute test 20191130004700.243 ERROR lxc_execute - tools/lxc_execute.c:main:245 - Failed run an application inside container
My system is running Ubuntu 19.10 with LXC 3.0.4
Any help is appreciated.