I am sorry if this bug is assigned to a wrong component. Description of problem: /usr/bin/rhts-backup and /usr/bin/rhts-restore detects selinux by presence of /selinux directory. This is not true on RHEL7 and therefore these functions doesn't backup the context. As the result, restored directories/files gets wrong context. This has been already fixed in beakerlib (bug 800906) using selinuxenabled && SELINUX=true || SELINUX=false but we have several old tests that are still using these functions and it is hard to fix them all. please fix ASAP, RHEL7 tier tests are failing on AVC denials and it is hard to review so many failing tests. Version-Release number of selected component (if applicable): rhts-test-env-4.48-1.el7.noarch
Any progress on this?
Seems that there is no will to fix this simple but annoying bug.
Karel - target release for this fix is too far away, lets try to workaround using funny test as first task and force rewrite the backup/restore files. /CoreOS/examples/rhts_tutorial/psklenar/funny-test
Will try and pull this into 0.9.0 but need to verify this against all releases.
thanks! we are ready to help with testing; using "selinuxenabled" is low risk as it is used by beakerlib and TPS as standard way to detect SELinux state, also on older RHEL releases.
http://gerrit.beaker-project.org/#/c/1148/
This is fixed in rhts-test-env-4.49-1 which is currently deployed on stage: https://beaker-stage.engineering.redhat.com/
Beaker 0.9.0 has been released.