Skip to content

Commit

Permalink
Add '-o devices' to cgroup mount workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Apr 21, 2022
1 parent 065e379 commit a6f6f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startdockerd
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ if test "$BUILD_ROOT" != '/' ; then
export DOCKER_RAMDISK=true
elif ! test -e /sys/fs/cgroup/unified -o -e /sys/fs/cgroup/cpu.stat ; then
# workaround for kernel-obs-build bsc#1198484
mount -t cgroup cgroup /sys/fs/cgroup
mount -t cgroup cgroup /sys/fs/cgroup -o devices
fi

# setup mounts
Expand Down

0 comments on commit a6f6f3a

Please sign in to comment.