소스 검색

Do not disable SELinux on RedHat systems

It looks like SELinux can be left running without any (so far) negative
effects on our Matrix services.

There's no need to use `:z` or `:Z` options when mounting volumes either.
This means that files we create are labeled with a default context
(which may not be ideal if we only want them used from containers),
but it's compatible and doesn't cause issues.

Relabelling files is probably something we wish to stay away from,
especially for things like the media store, which contains lots of
files and is possibly on a fuse-mounted (S3/goofys) filesystem.
pull/54/head
Slavi Pantaleev 7 년 전
부모
커밋
9f163b2bf5
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. +0
    -4
      roles/matrix-server/tasks/setup/setup_base.yml

+ 0
- 4
roles/matrix-server/tasks/setup/setup_base.yml 파일 보기

@@ -79,7 +79,3 @@
name: "{{ 'ntpd' if ansible_os_family == 'RedHat' else 'ntp' }}"
state: started
enabled: yes

- name: Ensure SELinux disabled
selinux: state=disabled
when: ansible_os_family == 'RedHat'

불러오는 중...
취소
저장