I’m trying to run Android x86 on Ubuntu with LXD. After running:
lxc start anx
the container won’t start and I can’t find any boot log for the container. The /var/log/lxd/anx/lxc.log only has:
lxc 20171128022043.438 WARN lxc_cgfsng - cgroups/cgfsng.c:chown_cgroup_wrapper:1496 - Error chmoding /sys/fs/cgroup/unified//lxc/anx: No such file or directory
lxc 20171128022043.438 WARN lxc_cgfsng - cgroups/cgfsng.c:chown_cgroup_wrapper:1523 - Error chmoding /sys/fs/cgroup/unified//lxc/anx: No such file or directory
Is this container started but fail to execute init or just fail to start? If the former, where can I find the init boot log to /dev/console when the container is not started?
Thanks for your advice. I’ve set the init_cmd, the container start but stuck at some point. Is there some way to log the /dev/console output when container boot (execute init) or make it output to host /dev/console directly?