Linux
linux 백업/복구 후 selinux 처리
alwaysu012
2010. 10. 14. 15:05
selinux 가 활성화된 linux 시스템을 백업/복구 하게 되면 여러가지 에러메시지를 만나게 된다.
파일/디렉토리에 정의된 security 값이 바뀌기 때문..
- 해결하려면 먼저 부팅할 때 grub 메뉴에서 selinux=0 파라미터를 입력하여 부팅
- 부팅 후 fixfiles relabel 명령어 처리
이 외에도 여러가지 명령어를 사용할 수 있다
fixfiles
setfiles
restorecon