I am trying to start an Ubuntu container for my device, I have set all the requirements for “lxc” to work in my kernel:
— Namespaces —
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
newuidmap is not installed
newgidmap is not installed
Network namespace: enabled
— Control groups —
Cgroups: enabled
Cgroup v1 mount points:
/dev/blkio
/dev/cpuctl
/dev/cpuset
/dev/memcg
/dev/stune
/dev/freezer
/sys/fs/cgroup/blkio
/sys/fs/cgroup/cpu
/sys/fs/cgroup/cpuacct
/sys/fs/cgroup/cpuset
/sys/fs/cgroup/devices
/sys/fs/cgroup/freezer
/sys/fs/cgroup/memory
/sys/fs/cgroup/blkio
/sys/fs/cgroup/cpu
/sys/fs/cgroup/cpuacct
/sys/fs/cgroup/cpuset
/sys/fs/cgroup/devices
/sys/fs/cgroup/freezer
/sys/fs/cgroup/memory
/sys/fs/cgroup/pids
/sys/fs/cgroup/systemd
Cgroup v2 mount points:
/sys/fs/cgroup
Cgroup v1 clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
— Misc —
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, not loaded
CONFIG_NF_NAT_IPV4: enabled, not loaded
CONFIG_NF_NAT_IPV6: enabled, not loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded
— Checkpoint/Restore —
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities:
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /data/data/com.termux/files/usr/bin/lxc-checkconfig
But when I start I get this:
lxc-start: chapi: /home/builder/.termux-build/lxc/src/src/lxc/cgroups/cgfsng.c: cg_hybrid_init: 2577 Failed parsing mountpoint from "17470 17468 0:27 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime master:22 - cgroup2 none rw (forget about this)
"
lxc-start: chapi: /home/builder/.termux-build/lxc/src/src/lxc/sync.c: __sync_wait: 62 An error occurred in another process (expected sequence number 7)
lxc-start: chapi: /home/builder/.termux-build/lxc/src/src/lxc/start.c: __lxc_start: 1972 Failed to spawn container “chapi”
lxc-start: chapi: /home/builder/.termux-build/lxc/src/src/lxc/tools/lxc_start.c: main: 330 The container failed to start
lxc-start: chapi: /home/builder/.termux-build/lxc/src/src/lxc/tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options
Here is the review of what is happening:
Failure to start LXC ubuntu container · GitHub (Permissive or forced SeLinux cannot start container)
I’m new to this, if you would be kind, could you help me with this problem?
Kernel of my device I am using:
GitHub - Sota4Ever/android_kernel_samsung_exynos990: Trying to put halium-13 on Samsung Galaxy device S20 Fe | Lineage-21 is used by user doomvrr (It’s me)