buildah: ERRO[0030] unable to write container terminal output: resource temporarily unavailable
Description
While installing packages via buildah run, the program appears to lock up. This error message is displayed in the terminal.
ERRO[0030] unable to write container terminal output: resource temporarily unavailable
It just stays on that error permanently until I ctrl+c the process. With the error on the screen the working container is up.
# buildah containers
CONTAINER ID BUILDER IMAGE ID IMAGE NAME CONTAINER NAME
1c9542922661 * 801894bc0e43 registry.fedoraproject.org/fedora:27 fedora-working-container
Steps to reproduce the issue:
buildah from registry.fedoraproject.org/fedora:27buildah run fedora-working-container -- dnf --assumeyes install bash-completion dnf-utils less procps-ng python2-rpm-macros python3-rpm-macros rpmdevtools rpmlint tree vim-enhanced wget
It does not happen every time, but rather about half of the times I try to reproduce it on my system.
Describe the results you received:
ERRO[0030] unable to write container terminal output: resource temporarily unavailable
Describe the results you expected: command to finish successfully
Output of rpm -q buildah or apt list buildah:
buildah-1.1-1.gitfbf46d3.fc27.x86_64
Output of buildah version:
Version: 1.1
Go Version: go1.9.6
Image Spec: 1.0.0
Runtime Spec: 1.0.0
CNI Spec: 0.3.1
libcni Version: v0.6.0
Git Commit: fbf46d3
Built: Sun Jun 10 16:30:19 2018
OS/Arch: linux/amd64
Output of cat /etc/*release:
Fedora release 27 (Twenty Seven)
NAME=Fedora
VERSION="27 (Twenty Seven)"
ID=fedora
VERSION_ID=27
PRETTY_NAME="Fedora 27 (Twenty Seven)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:27"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=27
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=27
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Fedora release 27 (Twenty Seven)
Fedora release 27 (Twenty Seven)
Output of uname -a:
Linux tassadar 4.16.14-200.fc27.x86_64 #1 SMP Tue Jun 5 16:30:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Output of cat /etc/containers/storage.conf:
# storage.conf is the configuration file for all tools
# that share the containers/storage libraries
# See man 5 containers-storage.conf for more information
# The "container storage" table contains all of the server options.
[storage]
# Default Storage Driver
driver = "overlay"
# Temporary storage location
runroot = "/var/run/containers/storage"
# Primary Read/Write location of container storage
graphroot = "/var/lib/containers/storage"
[storage.options]
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
# Must be comma separated list.
additionalimagestores = [
]
# Size is used to set a maximum size of the container image. Only supported by
# certain container storage drivers.
size = ""
# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
override_kernel_check = "true"
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (12 by maintainers)
@nalind added a fix for this, it will be in buildah 1.2 release. @carlwgeorge You could also try it from master if you want.