ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpd9kt_kjn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:1 Thursday 07 July 2022 20:10:13 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:16 Thursday 07 July 2022 20:10:14 +0000 (0:00:01.100) 0:00:01.114 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:25 Thursday 07 July 2022 20:10:16 +0000 (0:00:01.438) 0:00:02.552 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } STDERR: useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Creating mailbox file: File exists TASK [Add some mapping] ******************************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:29 Thursday 07 July 2022 20:10:17 +0000 (0:00:00.818) 0:00:03.371 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:02.006859", "end": "2022-07-07 16:10:19.107373", "rc": 0, "start": "2022-07-07 16:10:17.100514" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:34 Thursday 07 July 2022 20:10:19 +0000 (0:00:02.503) 0:00:05.874 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 548, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:40 Thursday 07 July 2022 20:10:20 +0000 (0:00:00.503) 0:00:06.378 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "385caf4e178c9a1dfcdaac71738934c735201480", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "293160d55f3a26d5bc687154d028eb47", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 547, "src": "/root/.ansible/tmp/ansible-tmp-1657224620.236748-199105-128324371517556/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:45 Thursday 07 July 2022 20:10:20 +0000 (0:00:00.813) 0:00:07.192 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.003373", "end": "2022-07-07 16:10:20.802336", "rc": 0, "start": "2022-07-07 16:10:20.798963" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:49 Thursday 07 July 2022 20:10:21 +0000 (0:00:00.370) 0:00:07.563 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "findmnt -n -t selinuxfs --output=target", "delta": "0:00:00.004738", "end": "2022-07-07 16:10:21.160730", "rc": 0, "start": "2022-07-07 16:10:21.155992" } STDOUT: /sys/fs/selinux TASK [Umount /sys/fs/selinux to emulate SELinux disabled system # noqa 303] *** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:53 Thursday 07 July 2022 20:10:21 +0000 (0:00:00.356) 0:00:07.919 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.013571", "end": "2022-07-07 16:10:21.537395", "rc": 0, "start": "2022-07-07 16:10:21.523824" } TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:60 Thursday 07 July 2022 20:10:22 +0000 (0:00:00.375) 0:00:08.295 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 07 July 2022 20:10:22 +0000 (0:00:00.085) 0:00:08.381 ********* included: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:10:22 +0000 (0:00:00.031) 0:00:08.413 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 07 July 2022 20:10:22 +0000 (0:00:00.039) 0:00:08.452 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Thursday 07 July 2022 20:10:22 +0000 (0:00:00.026) 0:00:08.478 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Thursday 07 July 2022 20:10:23 +0000 (0:00:01.305) 0:00:09.784 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Thursday 07 July 2022 20:10:24 +0000 (0:00:00.786) 0:00:10.570 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 07 July 2022 20:10:25 +0000 (0:00:01.312) 0:00:11.882 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Thursday 07 July 2022 20:10:25 +0000 (0:00:00.022) 0:00:11.905 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": true, "state": "enforcing" } MSG: Config SELinux state changed from 'disabled' to 'enforcing' TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.752) 0:00:12.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.047) 0:00:12.705 ********* fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false } MSG: Reboot is required to apply changes. Re-execute the role after boot. TASK [examine the selinux_reboot_required variable] **************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:63 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.034) 0:00:12.740 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [check that the role has failed and set the correct variable] ************* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:67 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.028) 0:00:12.768 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mount /sys/fs/selinux back to system] ************************************ task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:72 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.032) 0:00:12.801 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.004736", "end": "2022-07-07 16:10:26.417953", "rc": 0, "start": "2022-07-07 16:10:26.413217" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:76 Thursday 07 July 2022 20:10:26 +0000 (0:00:00.375) 0:00:13.176 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.011971", "end": "2022-07-07 16:10:26.792275", "rc": 0, "start": "2022-07-07 16:10:26.780304" } TASK [Gather facts again] ****************************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:79 Thursday 07 July 2022 20:10:27 +0000 (0:00:00.378) 0:00:13.555 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [Check SELinux config mode] *********************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:81 Thursday 07 July 2022 20:10:28 +0000 (0:00:00.796) 0:00:14.351 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:90 Thursday 07 July 2022 20:10:28 +0000 (0:00:00.032) 0:00:14.384 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 548, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:97 Thursday 07 July 2022 20:10:28 +0000 (0:00:00.373) 0:00:14.758 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:102 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.488) 0:00:15.246 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:108 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.674) 0:00:15.920 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.038) 0:00:15.959 ********* included: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.031) 0:00:15.990 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.033) 0:00:16.024 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Thursday 07 July 2022 20:10:29 +0000 (0:00:00.023) 0:00:16.048 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Thursday 07 July 2022 20:10:31 +0000 (0:00:01.402) 0:00:17.450 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Thursday 07 July 2022 20:10:32 +0000 (0:00:00.804) 0:00:18.254 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 07 July 2022 20:10:33 +0000 (0:00:01.345) 0:00:19.599 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": false, "state": "enforcing" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Thursday 07 July 2022 20:10:33 +0000 (0:00:00.487) 0:00:20.087 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Thursday 07 July 2022 20:10:33 +0000 (0:00:00.019) 0:00:20.107 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Thursday 07 July 2022 20:10:33 +0000 (0:00:00.043) 0:00:20.150 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Thursday 07 July 2022 20:10:33 +0000 (0:00:00.018) 0:00:20.169 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Thursday 07 July 2022 20:10:33 +0000 (0:00:00.020) 0:00:20.189 ********* NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.784100", "end": "2022-07-07 16:10:35.584800", "rc": 0, "start": "2022-07-07 16:10:33.800700" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Thursday 07 July 2022 20:10:36 +0000 (0:00:02.163) 0:00:22.352 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.033) 0:00:22.385 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.030) 0:00:22.416 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.029) 0:00:22.446 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.032) 0:00:22.478 ********* TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.019) 0:00:22.498 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.019) 0:00:22.517 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.017) 0:00:22.535 ********* TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.020) 0:00:22.556 ********* TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.019) 0:00:22.576 ********* TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.018) 0:00:22.594 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgdcbxd": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled", "200": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "insights_client": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdbus": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.518) 0:00:23.112 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8-y.qcow2.snap RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Thursday 07 July 2022 20:10:36 +0000 (0:00:00.049) 0:00:23.161 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.126023", "end": "2022-07-07 16:10:36.937970", "rc": 0, "start": "2022-07-07 16:10:36.811947" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Thursday 07 July 2022 20:10:37 +0000 (0:00:00.535) 0:00:23.696 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.127362", "end": "2022-07-07 16:10:37.445407", "rc": 0, "start": "2022-07-07 16:10:37.318045" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=34 changed=9 unreachable=0 failed=0 skipped=19 rescued=1 ignored=0 Thursday 07 July 2022 20:10:38 +0000 (0:00:00.518) 0:00:24.215 ********* =============================================================================== Add some mapping -------------------------------------------------------- 2.50s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:29 -------------------------- linux-system-roles.selinux : Drop all local modifications --------------- 2.16s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 ----- Ensure SELinux tool semanage -------------------------------------------- 1.44s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:16 -------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.40s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Install SELinux tool semanage -------------- 1.35s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Install SELinux tool semanage -------------- 1.31s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.31s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:1 --------------------------- Add a Linux System Roles SELinux User ----------------------------------- 0.82s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:25 -------------------------- Upload testing /etc/selinux/config -------------------------------------- 0.81s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:40 -------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.80s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Gather facts again ------------------------------------------------------ 0.80s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:79 -------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.79s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 linux-system-roles.selinux : Set permanent SELinux state if disabled ---- 0.75s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 ----- Remove Linux System Roles SELinux User ---------------------------------- 0.67s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:102 ------------------------- linux-system-roles.selinux : Reload SELinux policy ---------------------- 0.54s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Reload SELinux policy ---------------------- 0.52s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Get SELinux modules facts ------------------ 0.52s /tmp/tmphfd29uq7/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 ---- Backup original /etc/selinux/config ------------------------------------- 0.50s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:34 -------------------------- Remove /etc/selinux/config backup --------------------------------------- 0.49s /tmp/tmphfd29uq7/tests/tests_selinux_disabled.yml:97 -------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpd9kt_kjn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:1 Thursday 07 July 2022 20:24:00 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:16 Thursday 07 July 2022 20:24:01 +0000 (0:00:01.104) 0:00:01.117 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:23 Thursday 07 July 2022 20:24:02 +0000 (0:00:01.408) 0:00:02.525 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } STDERR: useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Creating mailbox file: File exists TASK [Add some mapping] ******************************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:27 Thursday 07 July 2022 20:24:03 +0000 (0:00:00.797) 0:00:03.323 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:01.892208", "end": "2022-07-07 16:24:05.348727", "rc": 0, "start": "2022-07-07 16:24:03.456519" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:32 Thursday 07 July 2022 20:24:05 +0000 (0:00:02.365) 0:00:05.688 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 548, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:38 Thursday 07 July 2022 20:24:06 +0000 (0:00:00.502) 0:00:06.191 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "385caf4e178c9a1dfcdaac71738934c735201480", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "293160d55f3a26d5bc687154d028eb47", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 547, "src": "/root/.ansible/tmp/ansible-tmp-1657225446.2446268-209116-199805412113569/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:43 Thursday 07 July 2022 20:24:06 +0000 (0:00:00.799) 0:00:06.990 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.003799", "end": "2022-07-07 16:24:07.017822", "rc": 0, "start": "2022-07-07 16:24:07.014023" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:47 Thursday 07 July 2022 20:24:07 +0000 (0:00:00.359) 0:00:07.350 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "findmnt -n -t selinuxfs --output=target", "delta": "0:00:00.005133", "end": "2022-07-07 16:24:07.367264", "rc": 0, "start": "2022-07-07 16:24:07.362131" } STDOUT: /sys/fs/selinux TASK [Umount /sys/fs/selinux to emulate SELinux disabled system # noqa 303] *** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:51 Thursday 07 July 2022 20:24:07 +0000 (0:00:00.351) 0:00:07.702 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.013672", "end": "2022-07-07 16:24:07.738976", "rc": 0, "start": "2022-07-07 16:24:07.725304" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:57 Thursday 07 July 2022 20:24:08 +0000 (0:00:00.371) 0:00:08.073 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 07 July 2022 20:24:08 +0000 (0:00:00.087) 0:00:08.160 ********* included: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:24:08 +0000 (0:00:00.036) 0:00:08.197 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 07 July 2022 20:24:08 +0000 (0:00:00.034) 0:00:08.231 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Thursday 07 July 2022 20:24:08 +0000 (0:00:00.023) 0:00:08.255 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Thursday 07 July 2022 20:24:09 +0000 (0:00:01.270) 0:00:09.526 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Thursday 07 July 2022 20:24:10 +0000 (0:00:00.782) 0:00:10.309 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 07 July 2022 20:24:11 +0000 (0:00:01.289) 0:00:11.598 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Thursday 07 July 2022 20:24:11 +0000 (0:00:00.022) 0:00:11.620 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": true, "state": "enforcing" } MSG: Config SELinux state changed from 'disabled' to 'enforcing' TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.763) 0:00:12.383 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.046) 0:00:12.429 ********* fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false } MSG: Reboot is required to apply changes. Re-execute the role after boot. TASK [examine the selinux_reboot_required variable] **************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:60 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.030) 0:00:12.460 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [check that the role has failed and set the correct variable] ************* task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:64 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.026) 0:00:12.487 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mount /sys/fs/selinux back to system] ************************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:68 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.029) 0:00:12.516 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.003933", "end": "2022-07-07 16:24:12.541350", "rc": 0, "start": "2022-07-07 16:24:12.537417" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:72 Thursday 07 July 2022 20:24:12 +0000 (0:00:00.356) 0:00:12.873 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.013091", "end": "2022-07-07 16:24:12.895208", "rc": 0, "start": "2022-07-07 16:24:12.882117" } TASK [Gather facts again] ****************************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:75 Thursday 07 July 2022 20:24:13 +0000 (0:00:00.359) 0:00:13.232 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [Check SELinux config mode] *********************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:77 Thursday 07 July 2022 20:24:14 +0000 (0:00:00.804) 0:00:14.037 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:85 Thursday 07 July 2022 20:24:14 +0000 (0:00:00.029) 0:00:14.066 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 548, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:92 Thursday 07 July 2022 20:24:14 +0000 (0:00:00.360) 0:00:14.427 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:97 Thursday 07 July 2022 20:24:14 +0000 (0:00:00.474) 0:00:14.901 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:103 Thursday 07 July 2022 20:24:15 +0000 (0:00:00.636) 0:00:15.538 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 07 July 2022 20:24:15 +0000 (0:00:00.043) 0:00:15.582 ********* included: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:24:15 +0000 (0:00:00.031) 0:00:15.613 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 07 July 2022 20:24:15 +0000 (0:00:00.032) 0:00:15.646 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Thursday 07 July 2022 20:24:15 +0000 (0:00:00.025) 0:00:15.671 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Thursday 07 July 2022 20:24:16 +0000 (0:00:01.251) 0:00:16.923 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Thursday 07 July 2022 20:24:17 +0000 (0:00:00.779) 0:00:17.703 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 07 July 2022 20:24:18 +0000 (0:00:01.242) 0:00:18.945 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": false, "state": "enforcing" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Thursday 07 July 2022 20:24:19 +0000 (0:00:00.479) 0:00:19.425 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Thursday 07 July 2022 20:24:19 +0000 (0:00:00.021) 0:00:19.447 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Thursday 07 July 2022 20:24:19 +0000 (0:00:00.072) 0:00:19.520 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Thursday 07 July 2022 20:24:19 +0000 (0:00:00.019) 0:00:19.540 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Thursday 07 July 2022 20:24:19 +0000 (0:00:00.018) 0:00:19.559 ********* NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.668566", "end": "2022-07-07 16:24:21.263758", "rc": 0, "start": "2022-07-07 16:24:19.595192" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Thursday 07 July 2022 20:24:21 +0000 (0:00:02.043) 0:00:21.603 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.033) 0:00:21.636 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.033) 0:00:21.670 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.032) 0:00:21.702 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.031) 0:00:21.734 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.019) 0:00:21.753 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.018) 0:00:21.772 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.019) 0:00:21.791 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.018) 0:00:21.810 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.019) 0:00:21.830 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Thursday 07 July 2022 20:24:21 +0000 (0:00:00.019) 0:00:21.849 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgdcbxd": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled", "200": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "insights_client": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdbus": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Thursday 07 July 2022 20:24:22 +0000 (0:00:00.506) 0:00:22.356 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8-y.qcow2.snap RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Thursday 07 July 2022 20:24:22 +0000 (0:00:00.081) 0:00:22.437 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.114138", "end": "2022-07-07 16:24:22.579334", "rc": 0, "start": "2022-07-07 16:24:22.465196" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Thursday 07 July 2022 20:24:22 +0000 (0:00:00.471) 0:00:22.909 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.117027", "end": "2022-07-07 16:24:23.059233", "rc": 0, "start": "2022-07-07 16:24:22.942206" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=34 changed=9 unreachable=0 failed=0 skipped=19 rescued=1 ignored=0 Thursday 07 July 2022 20:24:23 +0000 (0:00:00.493) 0:00:23.402 ********* =============================================================================== Add some mapping -------------------------------------------------------- 2.37s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:27 ------------------ fedora.linux_system_roles.selinux : Drop all local modifications -------- 2.04s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Ensure SELinux tool semanage -------------------------------------------- 1.41s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:16 ------------------ fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.29s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.27s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.25s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.24s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:1 ------------------- Gather facts again ------------------------------------------------------ 0.80s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:75 ------------------ Upload testing /etc/selinux/config -------------------------------------- 0.80s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:38 ------------------ Add a Linux System Roles SELinux User ----------------------------------- 0.80s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:23 ------------------ fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.78s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.78s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled --- 0.76s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Remove Linux System Roles SELinux User ---------------------------------- 0.64s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:97 ------------------ fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 0.51s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Backup original /etc/selinux/config ------------------------------------- 0.50s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:32 ------------------ fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 0.49s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled --- 0.48s /tmp/tmpd9kt_kjn/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Remove /etc/selinux/config backup --------------------------------------- 0.47s /tmp/tmphecozlwe/tests/selinux/tests_selinux_disabled.yml:92 ------------------