# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:2 Thursday 25 July 2024 13:03:25 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Ensure SELinux test packages] ******************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:16 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.856) 0:00:00.868 ********* included: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml for sut TASK [Ensure ansible_facts used by tests] ************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:14 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.012) 0:00:00.880 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:20 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.017) 0:00:00.897 ********* TASK [linux-system-roles.selinux : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:5 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.029) 0:00:00.927 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.selinux : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:10 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.189) 0:00:01.116 ********* ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [linux-system-roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:17 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.019) 0:00:01.136 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.selinux : Set flag if transactional-update exists] **** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:22 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.140) 0:00:01.277 ********* ok: [sut] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 Thursday 25 July 2024 13:03:26 +0000 (0:00:00.020) 0:00:01.297 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:36 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.845) 0:00:02.142 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:48 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.159 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:61 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.177 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:80 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.018) 0:00:02.195 ********* skipping: [sut] => {} TASK [linux-system-roles.selinux : Reboot transactional update systems] ******** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:85 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.213 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Fail if reboot is needed and not set] ******* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:90 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.230 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Refresh facts] ****************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.247 ********* ok: [sut] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:25 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.357) 0:00:02.605 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:33 Thursday 25 July 2024 13:03:27 +0000 (0:00:00.017) 0:00:02.623 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: util-linux TASK [Set is_el6 flag] ********************************************************* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:47 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.394) 0:00:03.018 ********* ok: [sut] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:56 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.020) 0:00:03.039 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - port] ****************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:61 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.017) 0:00:03.056 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - login] ***************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:66 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.016) 0:00:03.073 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - fcontext] ************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:71 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.016) 0:00:03.089 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts used above] ************************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:76 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.016) 0:00:03.106 ********* ok: [sut] => { "ansible_facts": { "ansible_facts": { "all_ipv4_addresses": [ "10.31.40.88" ], "all_ipv6_addresses": [ "fe80::c41:beff:feee:f47b" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.2.amazon", "cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "date_time": { "date": "2024-07-25", "day": "25", "epoch": "1721912606", "hour": "13", "iso8601": "2024-07-25T13:03:26Z", "iso8601_basic": "20240725T130326145435", "iso8601_basic_short": "20240725T130326", "iso8601_micro": "2024-07-25T13:03:26.145435Z", "minute": "03", "month": "07", "second": "26", "time": "13:03:26", "tz": "UTC", "tz_offset": "+0000", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "30", "year": "2024" }, "default_ipv4": { "address": "10.31.40.88", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:41:be:ee:f4:7b", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.40.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_release": "Core", "distribution_version": "7.9", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com", "testing-farm" ] }, "domain": "testing-farm.us-east-1.aws.redhat.com", "effective_group_id": 0, "effective_user_id": 0, "env": { "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "MAIL": "/var/mail/root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "2", "SSH_CLIENT": "10.29.163.175 34072 22", "SSH_CONNECTION": "10.29.163.175 34072 10.31.40.88 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.40.88", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0" }, "ipv6": [ { "address": "fe80::c41:beff:feee:f47b", "prefix": "64", "scope": "link" } ], "macaddress": "0e:41:be:ee:f4:7b", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "7de8b92c-2019-4624-b49e-24a7110ef970.testing-farm.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "7de8b92c-2019-4624-b49e-24a7110ef970", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.119.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "on", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "5cc192fd31d14ad98f39f62141ef83ae", "memfree_mb": 98, "memory_mb": { "nocache": { "free": 3345, "used": 255 }, "real": { "free": 98, "total": 3600, "used": 3502 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3600, "module_setup": true, "mounts": [ { "block_available": 59537568, "block_size": 4096, "block_total": 64490860, "block_used": 4953292, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16318968, "inode_total": 16384000, "inode_used": 65032, "mount": "/", "options": "rw,seclabel,relatime,data=ordered", "size_available": 243865878528, "size_total": 264154562560, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } ], "nodename": "7de8b92c-2019-4624-b49e-24a7110ef970.testing-farm", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec25e1de-7b0b-7d34-2cd6-835ffc624fa7", "product_uuid": "EC25E1DE-7B0B-7D34-2CD6-835FFC624FA7", "product_version": "4.2.amazon", "python": { "executable": "/usr/bin/python", "has_sslcontext": true, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep" ], "system_capabilities_enforced": "True", "system_vendor": "Xen", "uptime_seconds": 1305, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_type": "xen" } }, "changed": false } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:23 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.026) 0:00:03.133 ********* changed: [sut] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1000, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Add some mapping] ******************************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:27 Thursday 25 July 2024 13:03:28 +0000 (0:00:00.407) 0:00:03.540 ********* ok: [sut] => { "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:05.876296", "end": "2024-07-25 13:03:34.903925", "rc": 0, "start": "2024-07-25 13:03:29.027629" } TASK [Backup original /etc/selinux/config] ************************************* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:32 Thursday 25 July 2024 13:03:34 +0000 (0:00:06.081) 0:00:09.622 ********* changed: [sut] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 542, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:38 Thursday 25 July 2024 13:03:35 +0000 (0:00:00.295) 0:00:09.918 ********* changed: [sut] => { "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-1721912615.2480347-14207-198277480424744/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:43 Thursday 25 July 2024 13:03:35 +0000 (0:00:00.397) 0:00:10.316 ********* ok: [sut] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.013234", "end": "2024-07-25 13:03:35.743932", "rc": 0, "start": "2024-07-25 13:03:35.730698" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:47 Thursday 25 July 2024 13:03:35 +0000 (0:00:00.142) 0:00:10.458 ********* ok: [sut] => { "changed": false, "cmd": [ "findmnt", "-n", "-t", "selinuxfs", "--output=target" ], "delta": "0:00:00.004481", "end": "2024-07-25 13:03:35.869667", "rc": 0, "start": "2024-07-25 13:03:35.865186" } STDOUT: /sys/fs/selinux TASK [Umount selinux mountpoint to emulate SELinux disabled system /sys/fs/selinux] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:51 Thursday 25 July 2024 13:03:35 +0000 (0:00:00.134) 0:00:10.593 ********* ok: [sut] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.010867", "end": "2024-07-25 13:03:36.016014", "rc": 0, "start": "2024-07-25 13:03:36.005147" } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:59 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.137) 0:00:10.731 ********* TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.019) 0:00:10.750 ********* included: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for sut TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.013) 0:00:10.764 ********* ok: [sut] TASK [linux-system-roles.selinux : Ensure SELinux packages] ******************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.219) 0:00:10.983 ********* included: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml for sut TASK [linux-system-roles.selinux : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:5 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.013) 0:00:10.996 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:10 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.009) 0:00:11.006 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:17 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.008) 0:00:11.014 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set flag if transactional-update exists] **** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:22 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.008) 0:00:11.022 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.008) 0:00:11.030 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:36 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.380) 0:00:11.411 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:48 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.009) 0:00:11.420 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:61 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.009) 0:00:11.430 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:80 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.009) 0:00:11.439 ********* skipping: [sut] => {} TASK [linux-system-roles.selinux : Reboot transactional update systems] ******** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:85 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.008) 0:00:11.448 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Fail if reboot is needed and not set] ******* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:90 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.008) 0:00:11.456 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Refresh facts] ****************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 Thursday 25 July 2024 13:03:36 +0000 (0:00:00.009) 0:00:11.465 ********* ok: [sut] TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.364) 0:00:11.830 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:14 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.009) 0:00:11.840 ********* changed: [sut] => { "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: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:22 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.320) 0:00:12.161 ********* ok: [sut] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:28 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.010) 0:00:12.172 ********* fatal: [sut]: 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: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:63 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.008) 0:00:12.180 ********* ok: [sut] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [Check that the role has failed and set the correct variable] ************* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:67 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.007) 0:00:12.187 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Mount selinux mountpoint back to system /sys/fs/selinux] ***************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:72 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.011) 0:00:12.199 ********* ok: [sut] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.005581", "end": "2024-07-25 13:03:37.615306", "rc": 0, "start": "2024-07-25 13:03:37.609725" } TASK [Switch back to enforcing] ************************************************ task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:79 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.130) 0:00:12.330 ********* ok: [sut] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.010679", "end": "2024-07-25 13:03:37.744021", "rc": 0, "start": "2024-07-25 13:03:37.733342" } TASK [Gather facts again] ****************************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:82 Thursday 25 July 2024 13:03:37 +0000 (0:00:00.131) 0:00:12.462 ********* ok: [sut] TASK [Check SELinux config mode] *********************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:84 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.372) 0:00:12.834 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:93 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.010) 0:00:12.845 ********* changed: [sut] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 542, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:100 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.201) 0:00:13.046 ********* changed: [sut] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:105 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.199) 0:00:13.246 ********* changed: [sut] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [Include role to purge everything] **************************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:111 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.322) 0:00:13.568 ********* TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.017) 0:00:13.586 ********* included: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for sut TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 25 July 2024 13:03:38 +0000 (0:00:00.011) 0:00:13.598 ********* ok: [sut] TASK [linux-system-roles.selinux : Ensure SELinux packages] ******************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.216) 0:00:13.814 ********* included: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml for sut TASK [linux-system-roles.selinux : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:5 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.013) 0:00:13.828 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:10 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:13.838 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:17 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:13.847 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set flag if transactional-update exists] **** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:22 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.008) 0:00:13.855 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:13.864 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:36 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.374) 0:00:14.239 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:48 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:14.248 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:61 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:14.258 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:80 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:14.267 ********* skipping: [sut] => {} TASK [linux-system-roles.selinux : Reboot transactional update systems] ******** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:85 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:14.277 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Fail if reboot is needed and not set] ******* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:90 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.008) 0:00:14.285 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Refresh facts] ****************************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.009) 0:00:14.294 ********* ok: [sut] TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 25 July 2024 13:03:39 +0000 (0:00:00.406) 0:00:14.701 ********* ok: [sut] => { "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: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:14 Thursday 25 July 2024 13:03:40 +0000 (0:00:00.180) 0:00:14.881 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:22 Thursday 25 July 2024 13:03:40 +0000 (0:00:00.009) 0:00:14.891 ********* ok: [sut] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:28 Thursday 25 July 2024 13:03:40 +0000 (0:00:00.010) 0:00:14.901 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:33 Thursday 25 July 2024 13:03:40 +0000 (0:00:00.007) 0:00:14.909 ********* skipping: [sut] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:38 Thursday 25 July 2024 13:03:40 +0000 (0:00:00.008) 0:00:14.917 ********* NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for sut NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for sut NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for sut changed: [sut] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.720056", "end": "2024-07-25 13:03:41.045857", "rc": 0, "start": "2024-07-25 13:03:40.325801" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:46 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.844) 0:00:15.762 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.009) 0:00:15.771 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:56 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.009) 0:00:15.781 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:61 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.789 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.798 ********* TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:78 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.806 ********* TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:91 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.814 ********* TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:103 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.822 ********* TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:116 Thursday 25 July 2024 13:03:41 +0000 (0:00:00.008) 0:00:15.831 ********* ok: [sut] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [linux-system-roles.selinux : Load SELinux modules] *********************** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:119 Thursday 25 July 2024 13:03:44 +0000 (0:00:03.208) 0:00:19.039 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:134 Thursday 25 July 2024 13:03:44 +0000 (0:00:00.016) 0:00:19.056 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:142 Thursday 25 July 2024 13:03:44 +0000 (0:00:00.014) 0:00:19.071 ********* RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 Thursday 25 July 2024 13:03:44 +0000 (0:00:00.007) 0:00:19.079 ********* changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.692938", "end": "2024-07-25 13:03:46.186021", "rc": 0, "start": "2024-07-25 13:03:44.493083" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 Thursday 25 July 2024 13:03:46 +0000 (0:00:01.822) 0:00:20.901 ********* changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.677111", "end": "2024-07-25 13:03:47.997438", "rc": 0, "start": "2024-07-25 13:03:46.320327" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 Thursday 25 July 2024 13:03:48 +0000 (0:00:01.811) 0:00:22.712 ********* changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.693812", "end": "2024-07-25 13:03:49.825682", "rc": 0, "start": "2024-07-25 13:03:48.131870" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=46 changed=11 unreachable=0 failed=0 skipped=47 rescued=1 ignored=0 Thursday 25 July 2024 13:03:49 +0000 (0:00:01.828) 0:00:24.541 ********* =============================================================================== Add some mapping -------------------------------------------------------- 6.08s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:27 ------------ linux-system-roles.selinux : Get SELinux modules facts ------------------ 3.21s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:116 linux-system-roles.selinux : Reload SELinux policy ---------------------- 1.83s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 linux-system-roles.selinux : Reload SELinux policy ---------------------- 1.82s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 linux-system-roles.selinux : Reload SELinux policy ---------------------- 1.81s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:2 ------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.85s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 linux-system-roles.selinux : Drop all local modifications --------------- 0.84s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:38 Add a Linux System Roles SELinux User ----------------------------------- 0.41s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:23 ------------ linux-system-roles.selinux : Refresh facts ------------------------------ 0.41s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 Upload testing /etc/selinux/config -------------------------------------- 0.40s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:38 ------------ Ensure findmnt ---------------------------------------------------------- 0.39s /WORKDIR/git-weekly-cis5o15g9b/tests/set_selinux_variables.yml:33 ------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.38s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.37s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:26 Gather facts again ------------------------------------------------------ 0.37s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:82 ------------ linux-system-roles.selinux : Refresh facts ------------------------------ 0.36s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 linux-system-roles.selinux : Refresh facts ------------------------------ 0.36s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/ensure_selinux_packages.yml:97 Remove Linux System Roles SELinux User ---------------------------------- 0.32s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:105 ----------- linux-system-roles.selinux : Set permanent SELinux state if disabled ---- 0.32s /WORKDIR/git-weekly-cis5o15g9b/tests/roles/linux-system-roles.selinux/tasks/main.yml:14 Backup original /etc/selinux/config ------------------------------------- 0.30s /WORKDIR/git-weekly-cis5o15g9b/tests/tests_selinux_disabled.yml:32 ------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Reboot is required to set SELinux state to 'enforcing' [WARNING]: Consider using the mount module rather than running 'mount'. If you need to use command because mount is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---