google/gvisor

Failed to stop overwriting a running binary

Open

#1,005 建立於 2019年10月14日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Go (1,061 fork)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

倉庫指標

Star
 (12,713 star)
PR 合併指標
 (平均合併 4天 22小時) (30 天內合併 184 個 PR)

描述

runsc result:

$ stress -c 1 &
$ which stress
/usr/bin/stress
$ cp /bin/ls /usr/bin/stress
[1]+  Bus error               stress -c 1

Expected result in vanilla Linux:

$ stress -c 1 &
$ which stress
/usr/bin/stress
$ cp /bin/ls /usr/bin/stress
cp: cannot create regular file '/usr/bin/stress': Text file busy

貢獻者指南