Skip to content

Commit

Permalink
Merge pull request #182 from Normo/master
Browse files Browse the repository at this point in the history
Fix core dump config file creation when core dumps are disabled
  • Loading branch information
rndmh3ro authored Aug 23, 2018
2 parents 68ead9d + 8e11f12 commit b529c37
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions tasks/limits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,4 @@
file:
path: /etc/security/limits.d/10.hardcore.conf
state: absent

- name: create sane limits.conf | sysctl-31a, sysctl-31b
template:
src: 'etc/security/limits.d/limits.conf.j2'
dest: '/etc/security/limits.d/10.hardcore.conf'
owner: 'root'
group: 'root'
mode: '0440'
when: 'os_security_kernel_enable_core_dump'
3 changes: 0 additions & 3 deletions templates/etc/security/limits.d/limits.conf.j2

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
shell: "rm -f /usr/bin/zzz && ln -s /usr/bin /usr/bin/zzz"
vars:
os_security_users_allow: change_user
os_security_kernel_enable_core_dump: false
os_security_kernel_enable_core_dump: true
os_security_suid_sgid_remove_from_unknown: true
os_auth_pam_passwdqc_enable: false
os_desktop_enable: true
Expand Down

0 comments on commit b529c37

Please sign in to comment.