Skip to content

Commit

Permalink
cgroupfs-mount: workaround for cgroupfs-umount
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jan 7, 2024
1 parent e14e3dc commit bffefa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cgroupfs-mount/.md5sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
863aea46a564608cce7de1930714b633 cgroupfs-mount-1.4.tar.gz
6a3fb73e65b2d86ad4a7de2a7677b9fc rc.cgroupfs-mount
8a545ae490fe4d62bfe4b29b2e3edf2b rc.cgroupfs-mount
5 changes: 5 additions & 0 deletions cgroupfs-mount/rc.cgroupfs-mount
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ start)
;;
stop)
/usr/sbin/cgroupfs-umount
# XXX: cgroupfs-umount(8) umounts all /sys/fs/cgroup/<group> and not
# /sys/fs/cgroup itself.
if /bin/mountpoint -q /sys/fs/cgroup; then
umount /sys/fs/cgroup
fi
;;
restart)
if /bin/mountpoint -q /sys/fs/cgroup; then
Expand Down

0 comments on commit bffefa5

Please sign in to comment.