google/gvisor

Failed to stop overwriting a running binary

オープン

#1,005 opened on 2019/10/14

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Go (1,061 件のフォーク)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

Repository metrics

Stars
 (12,713 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド