The officially official Devuan Forum!

You are not logged in.

#1 2026-05-12 05:45:29

yaser
Member
Registered: 2026-04-25
Posts: 5  

Docker: fsconfig fails and cgroup says unknown subsys

Hi,

newbie here!

I just installed docker.io on Devuan 6 sysvinit. doing sudo service docker restart gives:

Stopping Docker: docker.
mount: /sys/fs/cgroup/cpuset: fsconfig() failed: cgroup: Unknown subsys name 'cpuset'.
       dmesg(1) may have more information after failed mount system call.
mount: /sys/fs/cgroup/memory: fsconfig() failed: cgroup: Unknown subsys name 'memory'.
       dmesg(1) may have more information after failed mount system call.
Starting Docker: docker.

What step i missed? what version of cgroups  we are using?

Last edited by yaser (2026-05-12 05:46:12)

Offline

#2 2026-05-18 02:56:54

mark0x01
Member
Registered: 2020-06-21
Posts: 13  

Re: Docker: fsconfig fails and cgroup says unknown subsys

Encountered the same and then more problems, and even more after rebooting.

I used antix-docker-install.sh script to clean up and reinstall docker successfully, once I fixed a bug in it.

https://github.com/mr-addams/antix-docker-install

It has a bug, and non critical error.

In the script, change line 109 DOCKERD=/usr/bin/dockerd to DOCKERD=/usr/sbin/dockerd

and line 5 has the wrong script name.     echo "Run as root: sudo bash docker-full-install.sh"  should be antix-docker-install.sh

Last edited by mark0x01 (2026-05-18 02:58:40)

Offline

#3 Yesterday 23:38:35

mr-addams
Member
Registered: Yesterday
Posts: 1  

Re: Docker: fsconfig fails and cgroup says unknown subsys

@yaser — regarding your original issue with fsconfig and cgroup errors on Devuan: the script uses overlay2 + cgroupfs in daemon.json, which avoids the cgroup v2 problems. Try the updated version below.                                                                                                                                                                                                                                           

@mark0x01 — thanks for the thorough bug report! Here's the breakdown:                                                                                                                                                                             

Root cause: Two bugs in the script:                                                                                                                                                                                                               

1. Init script (line 109) had /usr/bin/dockerd hardcoded, but on Devuan the binary is at /usr/sbin/dockerd (Debian Policy requires system daemons in sbin/; Docker Inc puts them in bin/).
2. Error message (line 5) said docker-full-install.sh instead of antix-docker-install.sh.                                                                                                                                                         

What changed:                                                                                                                                                                                                                                     
- The init script (/etc/init.d/docker) now auto-detects dockerd via command -v → /usr/bin/dockerd → /usr/sbin/dockerd. This detection runs after Docker is already installed (step 11 in the script), so if dockerd is missing at that point — something really went wrong during install, and exit 1 is intentional for fail-fast diagnostics.                                                                                         
- Main script also uses pkill -f dockerd (no hardcoded path) for pre-install cleanup.
- Error message corrected to antix-docker-install.sh.
- Removed docker-model-plugin from default install (bloat for low-resource distros).                                                                                                                                                             
                                                               
Updated script:

wget https://raw.githubusercontent.com/mr-ad … install.sh                                                                                                                                               

Now works on antiX, Devuan, MX Linux and any Debian fork with sysVinit.

Thanks again — both bugs fixed upstream!

     — mr-addams

Last edited by mr-addams (Yesterday 23:42:40)

Offline

#4 Today 05:43:51

mark0x01
Member
Registered: 2020-06-21
Posts: 13  

Re: Docker: fsconfig fails and cgroup says unknown subsys

You are welcome.

Nice to be able to contribute a little back while the old brain is still functioning.

Offline

Board footer