google/gvisor

Failed to stop overwriting a running binary

Open

#1.005 aberto em 14 de out. de 2019

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (12.713 stars) (1.061 forks)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

Description

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

Guia do colaborador