test if systemd-sleep can create new file in /sys/power directory
Recent testing of the hybrid-sleep service on RHEL-8 revealed that
SELinux prevents the systemd-sleep process from creating the state
file in /sys/power/ directory.
I believe this action should be allowed, because the behavior is
expected, the scenario is supported and security is not violated.
Unfortunately, the TC cannot reproduce the scenario because it's
difficult to wake up the machine after invoking the hybrid-sleep
service.
The TC looks for appropriate policy rules and file context patterns.
The TC covers BZ#1968610.