google/gvisor

Failed to stop overwriting a running binary

开放

#1,005 创建于 2019年10月14日

 (3 条评论) (0 个反应) (0 位负责人)Go (1,061 个派生)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

仓库指标

星标
 (12,713 个星标)
PR 合并指标
 (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

贡献者指南