debian-forge-composer/test/data/manifests
Tomas Hozza bce603586e image-info: changes related to reading SELinux labels unknown to host
When `image-info` inspects ostree images, the `/usr/etc` is bind-mounted
to `/etc`. This results in conflicting SELinux policy specification for
these files and makes the outcome dependent on the `setfiles` build.
All the files in `/etc` have mismatch in the expected vs. actual SELinux
context.

Exclude `/etc` from the check of SELinux ctx mismatches in case the
analysed tree is from an ostree-based image.

Sort the list returned `read_selinux_ctx_mismatch()` based on the item's
`filename` key, to make the result consistent across runs.

`image-info` can not read SELinux labels from the images, which are not
known to the host. This makes the report content depend on the host
environment. As a temporary workaround, relabel the image-info script with
osbuild_exec_t label to allow it to read unknown SELinux labels.

Modify documentation in `test/README.md` to explain the issue with
`image-info` and unknown SELinux labels.

Modify the `generate-all-test-cases` to relabel `image-info` before
generating test cases.

Modify the `image_tests.sh` to relabel `image-info` before running image
test cases.

Add 'tar' image for 'rhel-8' on 's390x' back to the matrix of generated
test cases, as it was removed by mistake. Regenerate the image test
case. Remove 'tar' image from 'rhel-84' on 's390x' from the matrix of
generated test cases, as it is not supported.

Regenerate all affected image test cases.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-06-22 13:25:59 +03:00
..
centos_8-aarch64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-openstack-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-qcow2-customize.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
centos_8-x86_64-vhd-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
centos_8-x86_64-vmdk-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-aarch64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-fedora_iot_commit-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
fedora_33-x86_64-fedora_iot_commit_debug-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
fedora_33-x86_64-openstack-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-qcow2-customize.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-vhd-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
fedora_33-x86_64-vmdk-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-aarch64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-aarch64-openstack-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-aarch64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-aarch64-rhel_edge_commit-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-aarch64-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-ppc64le-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-ppc64le-tar-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-s390x-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-s390x-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-x86_64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-x86_64-openstack-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-x86_64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-x86_64-qcow2-customize.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-x86_64-rhel_edge_commit-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-x86_64-rhel_edge_commit_rt-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-x86_64-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_8-x86_64-vhd-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_8-x86_64-vmdk-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-aarch64-ami-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-aarch64-openstack-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-aarch64-qcow2-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-aarch64-rhel_edge_commit-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-aarch64-rhel_edge_container-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-aarch64-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-ppc64le-qcow2-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-ppc64le-tar-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-s390x-qcow2-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-x86_64-ami-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-openstack-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-qcow2-customize.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-rhel_edge_commit-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-x86_64-rhel_edge_commit_rt-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-x86_64-rhel_edge_container-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-tar-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_84-x86_64-vhd-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_84-x86_64-vmdk-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_90-aarch64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00
rhel_90-ppc64le-qcow2-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_90-s390x-qcow2-boot.json image-info: changes related to reading SELinux labels unknown to host 2021-06-22 13:25:59 +03:00
rhel_90-x86_64-qcow2-boot.json Extend information gathered by image-info tool 2021-06-09 18:23:00 +02:00