sebanc / brioche

An alternative to Crostini / Crouton for devices running brunch
GNU General Public License v3.0
77 stars 8 forks source link

sudo: lxc-attach: command not found #19

Open suoko opened 3 years ago

suoko commented 3 years ago

How to go on ?

Which distro do you want to use ? ("ubuntu", "mint", "kali", "debian", "archlinux" and "fedora" variants are currently available)
ubuntu
sudo: lxc-create: command not found
sudo: lxc-start: command not found
sudo: lxc-attach: command not found
Input the password for user suoko:
sudo: lxc-attach: command not found
sudo: lxc-stop: command not found
Container created, you can start using it.
Note: Brioche does not install a desktop by default, install the desktop of your choice.
steinano commented 3 years ago

same here

steinano commented 3 years ago

Need to install this first: https://github.com/sebanc/brunch-toolchain

135e2 commented 2 years ago

lxc-start arch 20211111145333.196 ERROR cgfsng - cgroups/cgfsng.c:cgroup_tree_create:771 - File exists - Creating the final cgroup 12(lxc.monitor.arch) failed lxc-start arch 20211111145333.196 ERROR cgfsng - cgroups/cgfsng.c:cgroup_tree_create:831 - File exists - Failed to create monitor cgroup 12(lxc.monitor.arch) lxc-start arch 20211111145333.196 ERROR cgfsng - cgroups/cgfsng.c:cgroup_tree_create:771 - File exists - Creating the final cgroup 12(lxc.monitor.arch-1) failed lxc-start arch 20211111145333.196 ERROR cgfsng - cgroups/cgfsng.c:cgroup_tree_create:831 - File exists - Failed to create monitor cgroup 12(lxc.monitor.arch-1) lxc-start arch 20211111145333.205 ERROR utils - utils.c:safe_mount:1198 - Too many levels of symbolic links - Failed to mount "none" onto "/usr/local/lib64/lxc/rootfs/dev" lxc-start arch 20211111145333.205 ERROR conf - conf.c:mount_autodev:1222 - Too many levels of symbolic links - Failed to mount tmpfs on "/usr/local/lib64/lxc/rootfs" lxc-start arch 20211111145333.205 ERROR conf - conf.c:lxc_setup:3628 - Failed to mount "/dev" lxc-start arch 20211111145333.205 ERROR start - start.c:do_start:1265 - Failed to setup container "arch" lxc-start arch 20211111145333.206 ERROR sync - sync.c:sync_wait:36 - An error occurred in another process (expected sequence number 5) lxc-start arch 20211111145333.206 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:868 - Received container state "ABORTING" instead of "RUNNING" lxc-start arch 20211111145333.206 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start lxc-start arch 20211111145333.206 ERROR lxc_start - tools/lxc_start.c:main:311 - To get more details, run the container in foreground mode lxc-start arch 20211111145333.206 ERROR lxc_start - tools/lxc_start.c:main:313 - Additional information can be obtained by setting the --logfile and --logpriority options lxc-start arch 20211111145333.207 ERROR start - start.c:__lxc_start:2073 - Failed to spawn container "arch"

^ Log grabbed by simply running sudo lxc-start -n arch --logfile lxc.log The problem was also reproduced on my Samsung Chromebook Plus V2(Linux localhost 5.4.151-16906-g86cbb761e8c4), seems like a cgroup/symlink related issue.

Edit: brioche worked fine on my brunch-ified notebook.