구글어스 실행문제
구글어스 5.0 베타 실행 문제입니다.
Summary:
SELinux is preventing googleearth-bin from loading
/opt/google-earth/libminizip.so which requires text relocation.
Detailed Description:
The googleearth-bin application attempted to load
/opt/google-earth/libminizip.so which requires text relocation. This is a
potential security problem. Most libraries do not need this permission.
Libraries are sometimes coded incorrectly and request this permission. The
SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/opt/google-earth/libminizip.so to use relocation as a workaround, until the
library is fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
Allowing Access:
If you trust /opt/google-earth/libminizip.so to run correctly, you can change
the file context to textrel_shlib_t. "chcon -t textrel_shlib_t
'/opt/google-earth/libminizip.so'" You must also change the default file context
files on the system in order to preserve them even on a full relabel. "semanage
fcontext -a -t textrel_shlib_t '/opt/google-earth/libminizip.so'"
Fix Command:
chcon -t textrel_shlib_t '/opt/google-earth/libminizip.so'
Additional Information:
Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Context unconfined_u:object_r:usr_t:s0
Target Objects /opt/google-earth/libminizip.so [ file ]
Source googleearth-bin
Source Path /opt/google-earth/googleearth-bin
포트
Host domain
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.5.13-53.fc10
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name domain
Platform Linux domain 2.6.29-10.fc10.i686 #1 SMP Sat Mar 28
00:29:02 EDT 2009 i686 i686
Alert Count 7
First Seen 2009년 04월 05일 (일) 오후 01시 53분 29초
Last Seen 2009년 04월 05일 (일) 오후 03시 07분 21초
Local ID 40b57182-5835-40b7-8bb1-3e484886a851
Line Numbers
Raw Audit Messages
node=domain type=AVC msg=audit(1238911641.96:97): avc: denied { execmod } for pid=13449 comm="googleearth-bin" path="/opt/google-earth/libminizip.so" dev=dm-0 ino=990785 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file
node=domain type=SYSCALL msg=audit(1238911641.96:97): arch=40000003 syscall=125 success=no exit=-13 a0=911000 a1=6000 a2=5 a3=bfb2d320 items=0 ppid=1 pid=13449 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="googleearth-bin" exe="/opt/google-earth/googleearth-bin" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
이런 문제가 발생하네요
아시는 분 계시면 도움 부탁드립니다
원인과 해결방법이
원인과 해결방법이 다 적혀있는데요?
원인은 SELinux때문에 발생한 것 같고 해결방법은...
chcon -t textrel_shlib_t '/opt/google-earth/libminizip.so'
이렇게해라... 라고 되어있는데... 물론 지금 실행하는 프로그램을 믿는다는 가정하에서
실행하라고 되어있네요.
좀더 자세한건 올려놓으신 Log를 읽어보시면 됩니다.
------------------------------
좋은 하루 되세요.
------------------------------
좋은 하루 되세요.
댓글 달기