Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: cpuset.cpus: no such file or directory: unknown while using docker in chroot #20921

Closed
aikooo7 opened this issue Jul 20, 2024 · 1 comment
Labels

Comments

@aikooo7
Copy link

aikooo7 commented Jul 20, 2024

Problem description

While trying to use docker in chroot I get the message:

docker: Error response from daemon: failed to create task for container: failed
to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: open /sys/fs/cgroup/cpuset/docker/cpuset.cpus: no such file or directory: unknown.

The kernel is properly compile and I have root, and docker works almost well in termux

Maybe this patch could fix my issue but it is outdated to my kernel

What steps will reproduce the bug?

  1. Do everything until you get root.
  2. Compile kernel.
  3. Install linux deploy and configure it to use debian oldstable.
  4. Run a container as you would in a normal debian machine.

What is the expected behavior?

Container start.

System information

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=7054
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.accum.se/mirror/termux.dev/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://mirror.accum.se/mirror/termux.dev/termux-root root stable
Updatable packages:
containerd/root 1.6.21-3 aarch64 [upgradable from: 1.6.21-1]
libnl/stable 3.10.0 aarch64 [upgradable from: 3.9.0]
liborc/stable 0.4.39 aarch64 [upgradable from: 0.4.38]
termux-tools/stable 1.43.1 all [upgradable from: 1.42.4]
termux-tools version:
1.42.4
Android version:
14
Kernel build information:
Linux localhost 4.19.315-perf+ #2 SMP PREEMPT Thu Jul 18 22:46:57 WEST 2024 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
M2012K11AG
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
@aikooo7 aikooo7 added bug report Something is not working properly untriaged labels Jul 20, 2024
@aikooo7
Copy link
Author

aikooo7 commented Jul 20, 2024

Issue not related with termux, sorry for opening the issue.

@aikooo7 aikooo7 closed this as completed Jul 20, 2024
@Biswa96 Biswa96 added invalid and removed bug report Something is not working properly untriaged labels Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants