Ben's

rsync 설치시 acl 옵션이 추가가 안될때 처리 본문

리눅스/백업

rsync 설치시 acl 옵션이 추가가 안될때 처리

Ben Ko (SINCE 2013) 2013. 1. 16. 15:50
728x90

* 원래는 rsync 3.0.0 버전에서 소스컴파일 설치하면 기본적으로 acl 을 포함시켜 설치되게 되어 있지만
   상황에 따라서 빠지는 경우 있음.

   아래와 유사한 메시지 발생함

 

checking whether to support ACLs... ACLs requested -- running tests
checking for acl_get_file in -lacl... no
checking for ACL support... no
checking ACL test results... configure: error: Failed to find ACL support

 

* 이럴때 해결방법: acl, libacl, libacl-devel 을 yum install '패키지명' 으로 새로 설치를 해서 해결할 수 있음

 

[root@bn64-001 rsync-acl-2.6.8]# rpm -qa |grep acl
acl-2.2.39-2.1.el5
libacl-devel-2.2.39-2.1.el5
libacl-2.2.39-2.1.el5
libacl-devel-2.2.39-2.1.el5
libacl-2.2.39-2.1.el5

 

* 해결의 실마리는 /usr/share/man/man3/acl_get_file.3.gz 파일이 이 서버에 없어서 추적하다 보니깐 위와같이 찾게됨

'리눅스 > 백업' 카테고리의 다른 글

rsync --exclude 옵션 잘못쓰면 대박  (0) 2013.05.16
trash-cli(이런 좋은게 있었네요)  (0) 2013.03.19
extundelete - file undelete util for ext4  (0) 2013.02.08
ext3grep 고마워  (0) 2013.01.30