google/gvisor

Failed to stop overwriting a running binary

Aperta

#1005 aperta il 14 ott 2019

 (2 commenti) (0 reazioni) (0 assegnatari)Go (1061 fork)batch import
area: compatibilityarea: filesystemgood first issuepriority: p2type: bug

Metriche repository

Star
 (12.713 stelle)
Metriche merge PR
 (Merge medio 4g 22h) (184 PR mergiate in 30 g)

Descrizione

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

Guida contributor