freeipa/ipatests/pytest_plugins
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
..
integration Use temporary pid file for chronyd -q task 2018-05-02 16:44:54 -04:00
__init__.py Declarative tests: Switch to pytest 2014-11-21 12:14:44 +01:00
additional_config.py Pretty-print structures in assert_deepequal 2016-09-30 09:55:58 +02:00
beakerlib.py Have all the scripts run in python 3 by default 2018-02-15 18:43:12 +01:00
declarative.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
nose_compat.py Compatibility with pytest 3.4 2018-04-30 14:13:40 +02:00