Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scap-security-guide.spec'], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '31c6424ea89f4c03a5892f5acafd2416', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scap-security-guide.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/scap-security-guide-0.1.36-9.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/scap-security-guide.spec"], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '87b8c24c38e8416786222cc6512ca25d', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/scap-security-guide.spec"] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PZvutI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scap-security-guide-0.1.36 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/scap-security-guide-0.1.36.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd scap-security-guide-0.1.36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (scap-security-guide-0.1.33-update-upstream-manual-page.patch):' Patch #1 (scap-security-guide-0.1.33-update-upstream-manual-page.patch): + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.33-update-upstream-manual-page.patch + /usr/bin/patch -p1 -b --suffix .man_page_update --fuzz=0 patching file docs/scap-security-guide.8 Hunk #1 succeeded at 255 (offset -46 lines). + echo 'Patch #2 (scap-security-guide-0.1.37-add-disa-stig-rule-id.patch):' Patch #2 (scap-security-guide-0.1.37-add-disa-stig-rule-id.patch): + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-add-disa-stig-rule-id.patch + /usr/bin/patch -p1 -b --suffix .add_disa_stig_rule_id --fuzz=0 patching file cmake/SSGCommon.cmake patching file shared/utils/add_stig_references.py + chmod u+x shared/utils/add_stig_references.py + mkdir build + echo 'Patch #3 (scap-security-guide-0.1.37-disable-check-libexec_ownership.patch):' Patch #3 (scap-security-guide-0.1.37-disable-check-libexec_ownership.patch): + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-disable-check-libexec_ownership.patch + /usr/bin/patch -p1 -b --suffix .libexec_ownership --fuzz=0 patching file shared/checks/oval/file_ownership_library_dirs.xml Patch #4 (scap-security-guide-0.1.37-fix-title.patch): + echo 'Patch #4 (scap-security-guide-0.1.37-fix-title.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-fix-title.patch + /usr/bin/patch -p1 -b --suffix .title --fuzz=0 patching file rhel6/profiles/stig-rhel6-disa.xml Patch #5 (scap-security-guide-0.1.37-Deprecate-RhostsRSAAuthentication.patch): + echo 'Patch #5 (scap-security-guide-0.1.37-Deprecate-RhostsRSAAuthentication.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-Deprecate-RhostsRSAAuthentication.patch + /usr/bin/patch -p1 -b --suffix .RhostsRSAAuthentication --fuzz=0 patching file shared/checks/oval/sshd_disable_rhosts_rsa.xml patching file shared/xccdf/services/ssh.xml Patch #6 (scap-security-guide-0.1.37-fix-umask_for_daemons.patch): + echo 'Patch #6 (scap-security-guide-0.1.37-fix-umask_for_daemons.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-fix-umask_for_daemons.patch + /usr/bin/patch -p1 -b --suffix .umask_for_daemons --fuzz=0 patching file shared/checks/oval/umask_for_daemons.xml Patch #7 (scap-security-guide-0.1.37-fix-sshd_required-unset.patch): + echo 'Patch #7 (scap-security-guide-0.1.37-fix-sshd_required-unset.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-fix-sshd_required-unset.patch + /usr/bin/patch -p1 -b --suffix .sshd_required_unset --fuzz=0 patching file shared/checks/oval/sshd_not_required_or_unset.xml patching file shared/checks/oval/sshd_required_or_unset.xml patching file rhel7/checks/oval/sshd_disable_compression.xml patching file rhel7/checks/oval/sshd_disable_gssapi_auth.xml patching file rhel7/checks/oval/sshd_disable_kerb_auth.xml patching file rhel7/checks/oval/sshd_enable_strictmodes.xml patching file rhel7/checks/oval/sshd_use_approved_macs.xml patching file rhel7/checks/oval/sshd_use_priv_separation.xml patching file shared/checks/oval/disable_host_auth.xml patching file shared/checks/oval/sshd_allow_only_protocol2.xml patching file shared/checks/oval/sshd_disable_empty_passwords.xml patching file shared/checks/oval/sshd_disable_rhosts.xml patching file shared/checks/oval/sshd_disable_rhosts_rsa.xml patching file shared/checks/oval/sshd_disable_root_login.xml patching file shared/checks/oval/sshd_disable_user_known_hosts.xml patching file shared/checks/oval/sshd_do_not_permit_user_env.xml patching file shared/checks/oval/sshd_enable_warning_banner.xml patching file shared/checks/oval/sshd_enable_x11_forwarding.xml patching file shared/checks/oval/sshd_print_last_log.xml patching file shared/checks/oval/sshd_set_idle_timeout.xml patching file shared/checks/oval/sshd_set_keepalive.xml patching file shared/checks/oval/sshd_use_approved_ciphers.xml patching file shared/checks/oval/sshd_use_approved_macs.xml patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_use_approved_ciphers/correct_scrambled.pass.sh patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_use_priv_separation/correct_value.pass.sh patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_disable_kerb_auth/comment.fail.sh patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_disable_kerb_auth/comment.pass.sh patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_disable_kerb_auth/line_not_there.pass.sh (renamed from tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_disable_kerb_auth/line_not_there.fail.sh) patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_enable_strictmodes/comment.pass.sh (renamed from tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_enable_strictmodes/comment.fail.sh) patching file tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_enable_strictmodes/line_not_there.pass.sh (renamed from tests/data/group_services/group_ssh/group_ssh_server/rule_sshd_enable_strictmodes/line_not_there.fail.sh) Patch #8 (scap-security-guide-0.1.37-fix-missing-bash-remediation-include.patch): + echo 'Patch #8 (scap-security-guide-0.1.37-fix-missing-bash-remediation-include.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-fix-missing-bash-remediation-include.patch + /usr/bin/patch -p1 -b --suffix .bash_remediation_include --fuzz=0 patching file shared/bash_remediation_functions/rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh patching file shared/fixes/bash/disable_ctrlaltdel_burstaction.sh Patch #9 (scap-security-guide-0.1.37-fix-srg-table-empty-column.path): + echo 'Patch #9 (scap-security-guide-0.1.37-fix-srg-table-empty-column.path):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.37-fix-srg-table-empty-column.path + /usr/bin/patch -p1 -b --suffix .srg_table_column_empty --fuzz=0 patching file shared/transforms/shared_table-srgmap.xslt + echo 'Patch #10 (scap-security-guide-0.1.38-fix-reference-to-pam-config-manual.patch):' Patch #10 (scap-security-guide-0.1.38-fix-reference-to-pam-config-manual.patch): + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.38-fix-reference-to-pam-config-manual.patch + /usr/bin/patch -p1 -b --suffix .reference_pam_config --fuzz=0 patching file shared/xccdf/system/accounts/pam.xml Patch #11 (scap-security-guide-0.1.38-aide-scan-email-notification.patch): + echo 'Patch #11 (scap-security-guide-0.1.38-aide-scan-email-notification.patch):' + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.38-aide-scan-email-notification.patch + /usr/bin/patch -p1 -b --suffix .aide_email_notification --fuzz=0 patching file shared/checks/oval/aide_scan_notification.xml patching file shared/checks/oval/aide_scan_notification.xml + echo 'Patch #12 (scap-security-guide-0.1.39-fix-failing-rules-for-PCI-DSS-DISA-UGSCB.patch):' Patch #12 (scap-security-guide-0.1.39-fix-failing-rules-for-PCI-DSS-DISA-UGSCB.patch): + /usr/bin/cat /builddir/build/SOURCES/scap-security-guide-0.1.39-fix-failing-rules-for-PCI-DSS-DISA-UGSCB.patch + /usr/bin/patch -p1 -b --suffix .fix_failing_rules --fuzz=0 patching file shared/fixes/bash/audit_rules_kernel_module_loading_delete.sh patching file shared/fixes/bash/audit_rules_kernel_module_loading_init.sh patching file shared/fixes/bash/audit_rules_kernel_module_loading_delete.sh patching file shared/fixes/bash/audit_rules_kernel_module_loading_init.sh patching file shared/fixes/bash/auditd_data_retention_space_left.sh patching file shared/templates/create_audit_rules_login_events.py patching file shared/templates/csv/audit_rules_login_events.csv patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/cron_daily_configured.pass.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_conf_configured.pass.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_conf_weekly.fail.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_no_config.fail.sh patching file shared/checks/oval/ensure_logrotate_activated.xml patching file shared/fixes/bash/ensure_logrotate_activated.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_conf_weekly.fail.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_no_config.fail.sh patching file shared/checks/oval/ensure_logrotate_activated.xml patching file shared/fixes/bash/ensure_logrotate_activated.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_conf_weekly.fail.sh patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_configured.pass.sh (renamed from tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/cron_daily_configured.pass.sh) patching file tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_no_cron_daily.fail.sh (renamed from tests/data/group_system/group_logging/group_log_rotation/rule_ensure_logrotate_activated/logrotate_conf_configured.pass.sh) patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_login_events/rule_audit_rules_login_events/default.fail.sh patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_login_events/rule_audit_rules_login_events/default.pass.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left_action/action_email.pass.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left_action/action_not_there.fail.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left/space_left.pass.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left/space_left_not_enough.fail.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left/space_left_not_there.fail.sh patching file shared/fixes/bash/auditd_data_retention_space_left.sh patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/default.fail.sh patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/own_key.rules patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/privileged.rules patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/remove_all_rules.d.fail.sh patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/rules_configured.pass.sh patching file tests/data/group_system/group_auditing/group_auditd_configure_rules/group_audit_privileged_commands/rule_audit_rules_privileged_commands/rules_with_own_key.pass.sh patching file shared/bash_remediation_functions/perform_audit_rules_privileged_commands_remediation.sh Hunk #1 succeeded at 80 (offset 2 lines). Hunk #2 succeeded at 107 (offset 2 lines). Hunk #3 succeeded at 163 (offset 2 lines). patching file shared/fixes/bash/auditd_data_retention_space_left.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left/space_left.pass.sh patching file tests/data/group_system/group_auditing/group_auditd_data_retention/rule_auditd_data_retention_space_left/space_left_not_enough.fail.sh patching file shared/fixes/bash/auditd_data_retention_space_left.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_disabling_ipv6/rule_network_ipv6_disable_rpc/default.fail.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_disabling_ipv6/rule_network_ipv6_disable_rpc/rpc_disabled.pass.sh patching file shared/fixes/bash/network_ipv6_disable_rpc.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_configuring_ipv6/rule_network_ipv6_privacy_extensions/default.fail.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_configuring_ipv6/rule_network_ipv6_privacy_extensions/ipv6_privacy_enabled.pass.sh patching file shared/fixes/bash/network_ipv6_privacy_extensions.sh patching file shared/fixes/bash/network_ipv6_disable_rpc.sh patching file shared/fixes/bash/network_ipv6_privacy_extensions.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_configuring_ipv6/rule_network_ipv6_privacy_extensions/ipv6_privacy_enabled.pass.sh patching file shared/fixes/bash/network_ipv6_disable_rpc.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_disabling_ipv6/rule_network_ipv6_disable_rpc/rpc_disabled.pass.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_disabling_ipv6/rule_network_ipv6_disable_rpc/default.fail.sh patching file tests/data/group_system/group_network/group_network-ipv6/group_disabling_ipv6/rule_network_ipv6_disable_rpc/rpc_disabled.pass.sh patching file rhel7/profiles/C2S.xml Hunk #1 succeeded at 338 (offset -3 lines). patching file rhel7/profiles/ospp-rhel7.xml patching file rhel7/profiles/rht-ccp.xml patching file shared/xccdf/system/network/ipv6.xml patching file debian8/checks/oval/partition_for_home.xml patching file debian8/checks/oval/partition_for_srv.xml patching file debian8/checks/oval/partition_for_tmp.xml patching file debian8/checks/oval/partition_for_var.xml patching file debian8/checks/oval/partition_for_var_log.xml patching file debian8/checks/oval/partition_for_var_log_audit.xml patching file debian8/templates/csv/mount_options.csv patching file debian8/templates/csv/mounts.csv patching file docs/manual/developer_guide.adoc Hunk #1 succeeded at 680 (offset -70 lines). Hunk #2 succeeded at 752 (offset -70 lines). Hunk #3 succeeded at 818 (offset -70 lines). patching file rhel6/templates/csv/mount_options.csv patching file rhel7/templates/csv/mount_options.csv patching file rhel7/templates/csv/mounts.csv patching file shared/checks/oval/partition_for_home.xml patching file shared/checks/oval/partition_for_tmp.xml patching file shared/checks/oval/partition_for_var.xml patching file shared/checks/oval/partition_for_var_log.xml patching file shared/checks/oval/partition_for_var_log_audit.xml patching file shared/checks/oval/partition_for_var_tmp.xml patching file shared/templates/create_mount_options.py patching file shared/templates/create_mounts.py patching file shared/templates/template_ANACONDA_mount patching file shared/templates/template_OVAL_mount patching file shared/utils/generate-from-templates.py patching file sle12/templates/csv/mount_options.csv patching file ubuntu14/checks/oval/partition_for_home.xml patching file ubuntu14/checks/oval/partition_for_srv.xml patching file ubuntu14/checks/oval/partition_for_tmp.xml patching file ubuntu14/checks/oval/partition_for_var.xml patching file ubuntu14/checks/oval/partition_for_var_log.xml patching file ubuntu14/checks/oval/partition_for_var_log_audit.xml patching file ubuntu14/templates/csv/mount_options.csv patching file ubuntu14/templates/csv/mounts.csv patching file ubuntu16/checks/oval/partition_for_home.xml patching file ubuntu16/checks/oval/partition_for_srv.xml patching file ubuntu16/checks/oval/partition_for_tmp.xml patching file ubuntu16/checks/oval/partition_for_var.xml patching file ubuntu16/checks/oval/partition_for_var_log.xml patching file ubuntu16/checks/oval/partition_for_var_log_audit.xml patching file ubuntu16/templates/csv/mount_options.csv patching file ubuntu16/templates/csv/mounts.csv patching file tests/data/group_services/group_ldap/group_openldap_client/rule_ldap_client_start_tls/ldap_auth_and_start_tls.pass.sh patching file tests/data/group_services/group_ldap/group_openldap_client/rule_ldap_client_start_tls/not_using_ldap.fail.sh patching file tests/data/group_services/group_ldap/group_openldap_client/rule_ldap_client_start_tls/tls_not_starting.fail.sh patching file shared/fixes/bash/ldap_client_start_tls.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/services_pam_missing.fail.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/services_pam_wrong_section.fail.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/sssd_pam_services.pass.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/wrong_sssd.conf patching file shared/checks/oval/sssd_enable_pam_services.xml patching file shared/fixes/bash/sssd_enable_pam_services.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/services_pam_missing.fail.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/services_pam_wrong_section.fail.sh patching file tests/data/group_services/group_sssd/rule_sssd_enable_pam_services/sssd_pam_services.pass.sh patching file fedora/templates/csv/mount_options.csv patching file fedora/templates/template_BASH_mount_options patching file rhel6/templates/csv/mount_options.csv patching file rhel6/templates/template_BASH_mount_options patching file rhel7/fixes/bash/mount_option_tmp_nodev.sh patching file rhel7/fixes/bash/mount_option_tmp_noexec.sh patching file rhel7/fixes/bash/mount_option_tmp_nosuid.sh patching file rhel7/templates/csv/mount_options.csv patching file rhel7/templates/template_BASH_mount_options patching file shared/bash_remediation_functions/ensure_mount_option_in_fstab.sh patching file shared/templates/create_mount_options.py patching file shared/templates/template_BASH_mount_option patching file wrlinux/templates/csv/mount_options.csv patching file wrlinux/templates/template_BASH_mount_options patching file rhel6/fixes/bash/mount_option_dev_shm_nodev.sh patching file rhel6/fixes/bash/mount_option_dev_shm_noexec.sh patching file rhel6/fixes/bash/mount_option_dev_shm_nosuid.sh patching file shared/fixes/bash/mount_option_nodev_removable_partitions.sh patching file shared/fixes/bash/mount_option_noexec_removable_partitions.sh patching file shared/fixes/bash/mount_option_nosuid_removable_partitions.sh patching file shared/fixes/bash/mount_option_var_tmp_bind.sh patching file shared/fixes/bash/mount_option_noexec_removable_partitions.sh patching file shared/fixes/bash/mount_option_nosuid_removable_partitions.sh patching file shared/templates/create_mount_options.py patching file shared/templates/csv/mount_options.csv patching file shared/templates/template_ANACONDA_mount_option (renamed from shared/templates/template_ANACONDA_mount_options) patching file shared/templates/template_ANSIBLE_mount_option (renamed from shared/templates/template_ANSIBLE_mount_options) patching file shared/templates/template_ANSIBLE_mount_option_var patching file shared/templates/template_BASH_mount_option_var (renamed from shared/fixes/bash/mount_option_nodev_removable_partitions.sh) patching file shared/checks/oval/mount_option_noexec_remote_filesystems.xml patching file shared/checks/oval/mount_option_nosuid_remote_filesystems.xml patching file shared/templates/create_mount_options.py patching file shared/templates/template_OVAL_mount_option (renamed from shared/templates/template_OVAL_mount_options) patching file shared/templates/template_OVAL_mount_option_removable_partitions (renamed from shared/checks/oval/mount_option_nodev_removable_partitions.xml) patching file shared/bash_remediation_functions/service_command.sh patching file shared/templates/csv/audit_rules_login_events.csv patching file debian8/templates/csv/mount_options.csv patching file fedora/templates/csv/mount_options.csv patching file fedora/templates/template_BASH_mount_options patching file rhel6/templates/csv/mount_options.csv patching file rhel6/templates/template_BASH_mount_options patching file rhel7/templates/csv/mount_options.csv patching file rhel7/templates/template_BASH_mount_options patching file shared/bash_remediation_functions/ensure_mount_option_in_fstab.sh patching file shared/checks/oval/mount_option_nodev_nonroot_local_partitions.xml patching file shared/checks/oval/mount_option_nodev_remote_filesystems.xml patching file shared/checks/oval/mount_option_noexec_removable_partitions.xml patching file shared/checks/oval/mount_option_nosuid_removable_partitions.xml patching file shared/checks/oval/mount_option_smb_client_signing.xml patching file shared/checks/oval/mount_option_var_tmp_bind.xml patching file shared/templates/csv/mount_options.csv patching file shared/templates/template_BASH_mount_option patching file shared/templates/template_BASH_mount_option_var can't find file to patch at input line 4287 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/shared/templates/template_OVAL_mount_option_removable_partitions b/shared/templates/template_OVAL_mount_option_removable_partitions |index a6f4b247b9..1d30f3d939 100644 |--- a/shared/templates/template_OVAL_mount_option_removable_partitions |+++ b/shared/templates/template_OVAL_mount_option_removable_partitions -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file sle12/templates/csv/mount_options.csv patching file ubuntu14/templates/csv/mount_options.csv patching file ubuntu16/templates/csv/mount_options.csv patching file wrlinux/templates/csv/mount_options.csv patching file wrlinux/templates/template_BASH_mount_options patching file shared/checks/oval/no_cd_dvd_drive_in_etc_fstab.xml patching file shared/checks/oval/package_samba-common_installed.xml patching file shared/checks/oval/removable_partition_doesnt_exist.xml patching file shared/checks/oval/var_removable_partition_is_cd_dvd_drive.xml can't find file to patch at input line 4443 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/shared/templates/template_OVAL_mount_option_removable_partitions b/shared/templates/template_OVAL_mount_option_removable_partitions |index 1d30f3d939..e3ee65c88f 100644 |--- a/shared/templates/template_OVAL_mount_option_removable_partitions |+++ b/shared/templates/template_OVAL_mount_option_removable_partitions -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file shared/bash_remediation_functions/include_mount_options_functions.sh (renamed from shared/bash_remediation_functions/ensure_mount_option_in_fstab.sh) Hunk #2 FAILED at 27. 1 out of 2 hunks FAILED -- saving rejects to file shared/bash_remediation_functions/include_mount_options_functions.sh.rej patching file shared/templates/create_mount_options.py patching file shared/templates/csv/mount_options.csv patching file shared/templates/template_BASH_mount_option patching file shared/templates/template_BASH_mount_option_var patching file shared/templates/template_common.py patching file shared/bash_remediation_functions/include_mount_options_functions.sh Hunk #1 FAILED at 36. 1 out of 1 hunk FAILED -- saving rejects to file shared/bash_remediation_functions/include_mount_options_functions.sh.rej patching file shared/templates/template_BASH_mount_option patching file shared/templates/template_BASH_mount_option_var patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_bind/partition.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_bind/runtime.pass.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_bind/separate.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/partition.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/runtime.pass.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/separate.fail.sh patching file shared/checks/oval/mount_option_noexec_removable_partitions.xml patching file shared/checks/oval/mount_option_nosuid_removable_partitions.xml patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_noexec_removable_partitions/dvd_bad_opts.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_noexec_removable_partitions/dvd_good_opts.pass.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_noexec_removable_partitions/removable_partitions.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/fstab.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_home_nosuid/fstab.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_home_nosuid/partition.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_home_nosuid/runtime.pass.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_home_nosuid/separate.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/fstab.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/partition.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/runtime.pass.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/separate.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/fstab.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_var_tmp_noexec/partition.sh patching file debian8/templates/csv/mount_options.csv patching file fedora/templates/csv/mount_options.csv patching file rhel6/templates/csv/mount_options.csv patching file rhel7/templates/csv/mount_options.csv patching file shared/templates/csv/mount_options.csv patching file sle12/templates/csv/mount_options.csv patching file ubuntu14/templates/csv/mount_options.csv patching file ubuntu16/templates/csv/mount_options.csv patching file wrlinux/templates/csv/mount_options.csv patching file shared/templates/template_BASH_mount_option_var patching file shared/templates/create_mount_options.py patching file shared/templates/csv/mount_options.csv patching file shared/templates/template_OVAL_mount_option patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/fstab.fail.sh patching file shared/templates/create_mount_options.py patching file shared/templates/template_OVAL_mount_option_remote_filesystems (renamed from shared/checks/oval/mount_option_nodev_remote_filesystems.xml) patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/fstab.fail.sh patching file tests/data/group_system/group_permissions/group_partitions/rule_mount_option_tmp_noexec/separate.fail.sh RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.PZvutI (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.PZvutI (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # /usr/bin/systemd-nspawn -q -M 87b8c24c38e8416786222cc6512ca25d -D /var/lib/mock/centos-7-x86_64/root --setenv=LANG=en_US.utf8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/scap-security-guide.spec