google/gvisor

Failed to stop overwriting a running binary

Offen

#1.005 geöffnet am 14.10.2019

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.061 Forks)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

Repository-Metriken

Stars
 (12.713 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide