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

Use remove_dir instead of remove_dir_all because youki doesn't have permission to delete contents in cgroup directory. #165

Merged
merged 1 commit into from
Jul 28, 2021

Commits on Jul 28, 2021

  1. Use remove_dir instead of remove_dir_all because youki doesn't ha…

    …ve permission to delete contents in cgroup directory.
    
    https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
    > A cgroup which doesn’t have any children or live processes can be destroyed by removing the directory. Note that a cgroup which doesn’t have any children and is associated only with zombie processes is considered empty and can be removed:
    > rmdir $CGROUP_NAME
    utam0k committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    4f3bbc1 View commit details
    Browse the repository at this point in the history