Skip to content

Commit

Permalink
podvm: unmount misc cgroup as its not handled by kata
Browse files Browse the repository at this point in the history
Ref issue:
kata-containers/kata-containers#4610

Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
  • Loading branch information
bpradipt committed Dec 6, 2022
1 parent 35d2eae commit eb299cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions podvm/files/etc/systemd/system/kata-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ After=network.target

[Service]
ExecStart=/usr/local/bin/kata-agent --config /etc/agent-config.toml
ExecStartPre=-umount /sys/fs/cgroup/misc
ExecStartPre=ip netns add podns
ExecStartPre=ip netns exec podns ip link set lo up
ExecStopPost=ip netns delete podns
Expand Down

0 comments on commit eb299cf

Please sign in to comment.