freeipa/ipatests/pytest_plugins/integration
Tibor Dudlák 5929d5d872 Use temporary pid file for chronyd -q task
chrony is causing an SELinux denial because of chronyd
was not spawned using systemd and the command creates
a pidfile for unconfined proccess in /var/run with SELinux label:
unconfined_u:object_r:var_run_t:s0
Following chronyd daemon enablement with systemd will fail
due to mismatched SELinux labels on chronyd pidfile.
chronyd pidfile should be labeled with the following label:
system_u:object_r:chronyd_var_run_t:s0
This also changes bindcmdaddress to not touch /var/run/chrony.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2018-05-02 16:44:54 -04:00
..
__init__.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
config.py Fix log capture when running pytests_multihosts commands 2017-11-06 16:22:18 +01:00
create_caless_pki.py test_caless: add SAN extension to other certs 2018-01-17 12:52:16 +01:00
create_external_ca.py tests: move CA related modules to pytest_plugins 2018-01-09 10:17:01 +01:00
env_config.py Fixing test_testconfig with proper asserts 2018-01-09 08:03:49 +01:00
host.py Move hosts module to ipatests.pytest_plugins.integration.hosts 2017-03-22 13:42:04 +01:00
tasks.py Use temporary pid file for chronyd -q task 2018-05-02 16:44:54 -04:00