From 9e37402cb79a1c824d6d0a6953d0be69296bc3f9 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 2 Jul 2015 17:24:13 -0400 Subject: [PATCH] added ramfs to selinux ignored filesystems as reported in #11442 --- examples/ansible.cfg | 2 +- lib/ansible/constants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ansible.cfg b/examples/ansible.cfg index ac10f62d9e..f8cdd16fb2 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -235,4 +235,4 @@ accelerate_daemon_timeout = 30 # file systems that require special treatment when dealing with security context # the default behaviour that copies the existing context or uses the user default # needs to be changed to use the file system dependant context. -#special_context_filesystems=nfs,vboxsf,fuse +#special_context_filesystems=nfs,vboxsf,fuse,ramfs diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index b291c371b8..a0ea2657ce 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -136,7 +136,7 @@ DEFAULT_GATHERING = get_config(p, DEFAULTS, 'gathering', 'ANSIBLE_GATHER DEFAULT_LOG_PATH = shell_expand_path(get_config(p, DEFAULTS, 'log_path', 'ANSIBLE_LOG_PATH', '')) # selinux -DEFAULT_SELINUX_SPECIAL_FS = get_config(p, 'selinux', 'special_context_filesystems', None, 'fuse, nfs, vboxsf', islist=True) +DEFAULT_SELINUX_SPECIAL_FS = get_config(p, 'selinux', 'special_context_filesystems', None, 'fuse, nfs, vboxsf, ramfs', islist=True) ### PRIVILEGE ESCALATION ### # Backwards Compat