-
Notifications
You must be signed in to change notification settings - Fork 880
Closed
containers/storage
#657Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PR
Description
Description
Steps to reproduce the issue:
- Sign a file using evmctl
- Include a copy of the file in a buildah image. For example, a Dockerfile with "COPY mycmd.sh /myapp, where mycmd.sh is signed.
- build the image using buildah. For example, "buildah bud -t myapp ."
- Find the layer directory where the mycmd.sh file is added to the image and execute "getfattr -n security.ima mycmd.sh"
- Note that the security.ima extended attribute is not present on the copy of the file.
Describe the results you received:
No such attribute from getfattr on the file
Describe the results you expected:
Should have returned a security.ima=<signature>
Output of rpm -q buildah or apt list buildah:
buildah/bionic,now 1.10.1-1~ubuntu18.04~ppa1 amd64 [installed]
Output of buildah version:
Version: 1.10.1
Go Version: go1.10.4
Image Spec: 1.0.1
Runtime Spec: 1.0.1-dev
CNI Spec: 0.4.0
libcni Version:
Git Commit:
Built: Thu Aug 8 16:29:48 2019
OS/Arch: linux/amd64
Output of podman version if reporting a podman build issue:
(paste your output here)
Output of cat /etc/*release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Output of uname -a:
Linux jhewett-ubuntu-18 4.15.18-jh-ima-v1 #10 SMP Wed Aug 14 17:08:22 EDT 2019 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 (currently overlay, zfs, vfs, btrfs)
size = ""
# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
override_kernel_check = "true"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PR