DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
712 stars 250 forks source link

Judgehost docker container fails to start with latest docker versions. #2309

Closed spitzlei closed 7 months ago

spitzlei commented 7 months ago

Description of the problem

Since the update to docker 24.0.7 the judgehost container fails to start. No change in docker 25.0.0

judgehost-0-1  | [..] Setting up cgroups
judgehost-0-1  | mkdir: cannot create directory '/sys/fs/cgroup/cpuset/domjudge': Read-only file system
judgehost-0-1  | mkdir: cannot create directory '/sys/fs/cgroup/memory/domjudge': Read-only file system
judgehost-0-1  | chown: cannot access '/sys/fs/cgroup/*/domjudge': No such file or directory
judgehost-0-1  | bin/create_cgroups: 41: cannot create /sys/fs/cgroup/cpuset/domjudge/cpuset.cpus: Directory nonexistent
judgehost-0-1  | bin/create_cgroups: 42: cannot create /sys/fs/cgroup/cpuset/domjudge/cpuset.mems: Directory nonexistent
judgehost-0-1 exited with code 2

Your environment

Steps to reproduce

Expected behaviour

Judgehosts should run.

Actual behaviour

Container exits with message above.

eldering commented 7 months ago

Could you file this against https://github.com/DOMjudge/domjudge-packaging/issues which contains the docker packaging?

spitzlei commented 7 months ago

Could you file this against https://github.com/DOMjudge/domjudge-packaging/issues which contains the docker packaging?

Just did: https://github.com/DOMjudge/domjudge-packaging/issues/170