diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-07-27 19:37:08 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-27 19:38:35 -0700 |
commit | 4d076ec152b0b0a4ac47ce664962c3dd04afe7ae (patch) | |
tree | 579bb6dc4241fc57bd0da7eb085786cacf3cba5f /pkg/abi/linux/splice.go | |
parent | 18c246359663ae7e424f94225f11f87cc63eccd9 (diff) |
Fix for gvisor-builder image.
As it happens
gvisor/tools/bazel.mk:88
useradd --uid $(UID) --non-unique --no-create-home \
adds the user-id to /var/log/lastlog which happens to be a sparse file except
Go's tar support can't handle sparse files so it actually tries to allocate
the file to seek to the end causing the VM to run out of disk space.
See:
https://github.com/moby/moby/issues/5419#issuecomment-193876183
The fix is to pass -l to useradd to prevent it from trying to add to lastlog.
Fixes #3397
PiperOrigin-RevId: 323492591
Diffstat (limited to 'pkg/abi/linux/splice.go')
0 files changed, 0 insertions, 0 deletions