Souhrn: SELinux is preventing /usr/local/google-earth/googleearth-bin from loading /usr/local/google-earth/libminizip.so which requires text relocation. Podrobný popis: The googleearth-bin application attempted to load /usr/local/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 /usr/local/google-earth/libminizip.so to use relocation as a workaround, until the library is fixed. Please file a bug report. Povolení přístupu: If you trust /usr/local/google-earth/libminizip.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t '/usr/local/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 '/usr/local/google-earth/libminizip.so'" Příkaz pro opravu: chcon -t textrel_shlib_t '/usr/local/google-earth/libminizip.so' Další informace: Kontext zdroje unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Kontext cíle system_u:object_r:lib_t:s0 Objekty cíle /usr/local/google-earth/libminizip.so [ file ] Zdroj googleearth-bin Cesta zdroje /usr/local/google-earth/googleearth-bin Port <Neznámé> Počítač (removed) RPM balíčky zdroje RPM balíčky cíle RPM politiky selinux-policy-3.6.32-59.fc12 Selinux povolen True Typ politiky targeted Vynucovací režim Enforcing Název zásuvného modulu allow_execmod Název počítače (removed) Platforma Linux (removed) 2.6.31.9-174.fc12.i686 #1 SMP Mon Dec 21 06:24:20 UTC 2009 i686 i686 Počet upozornění 3 Poprvé viděno So 26. prosinec 2009, 00:21:39 CET Naposledy viděno So 26. prosinec 2009, 09:16:30 CET Místní ID 9d3c8d77-2608-4daf-b36c-6776c5bd6ec8 Čísla řádků Původní zprávy auditu node=(removed) type=AVC msg=audit(1261815390.747:26): avc: denied { execmod } for pid=2089 comm="googleearth-bin" path="/usr/local/google-earth/libminizip.so" dev=dm-0 ino=132460 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1261815390.747:26): arch=40000003 syscall=125 success=no exit=-13 a0=850000 a1=6000 a2=5 a3=bfa8cc50 items=0 ppid=2078 pid=2089 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts1 ses=1 comm="googleearth-bin" exe="/usr/local/google-earth/googleearth-bin" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-59.fc12,allow_execmod,googleearth-bin,unconfined_t,lib_t,file,execmod audit2allow suggests: #============= unconfined_t ============== allow unconfined_t lib_t:file execmod;
Execute # chcon -t textrel_shlib_t /usr/local/google-earth/*.so Will fix. You could report a bug to google to fix the way they build their libraries. This link http://people.redhat.com/~drepper/selinux-mem.html explains the access.
Fixed in selinux-policy-3.6.32-65.fc12.noarch
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.