파일 시스템 전체에 대해 SELinux 레이블을 자동으로 다시 지정하는 방법은 무엇입니까?
Issue
- SELinux 자동 레이블 재지정 실패:
/.autorelabel은 제대로 감지되었지만fixfiles가 오류 메시지 없이 실패합니다. - SELinux 오류가 많은 파일 시스템의 레이블을 다시 지정하는 방법
Environment
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- SELinux 가 비활성화된 상태에서 다음 부팅 시
SELINUX=enforcing으로 설정되도록/etc/selinux/config파일이 업데이트된 환경 - 다음 부팅 시 레이블 재지정을 강제하는
/.autorelabel파일이 존재하는 환경
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.