kata-containers: "Text file busy" error when kata-deploy runs on existing kata-deploy deployment

Description of problem

“Text file busy” errors when running kata-deploy on a system where kata containers are already running

Expected result

Files are replaced - maybe cp -f or cp --remove-destination?

Actual result

From logs:

copying kata artifacts onto host
cp: cannot create regular file '/opt/kata/bin/qemu-system-x86_64': Text file busy
cp: cannot create regular file '/opt/kata/libexec/kata-containers/kata-shim': Text file busy
cp: cannot create regular file '/opt/kata/libexec/kata-containers/kata-proxy': Text file busy

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 23 (13 by maintainers)

Most upvoted comments

👍 its late here now, but will do this in the morning. Cheers for your help!

@egernst - could you tal at this. I think calling install rather than cp would resolve the immediate issue?