6

Absolute Poker/Java and SELinux

view full story
linux-howto

http://forums.fedoraforum.org – Every time I go to the site at absolutepoker.com and select the "No Download" option I used to get allow_execstack AVC's preventing me from doing anything else with it like so: Quote: Summary: SELinux is preventing firefox (staff_t) "execstack" staff_t. Detailed Description: SELinux denied access requested by firefox. It is not expected that this access is required by firefox and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://fedora.redhat.com/docs/selinu...fc5/#id2961385) Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package. Additional Information: Source Context staff_u:staff_r:staff_t:s0-s0:c0.c1023 Target Context staff_u:staff_r:staff_t:s0-s0:c0.c1023 Target Objects None [ process ] Source firefox Source Path /usr/lib64/firefox-3.5.3/firefox Port <Unknown> Host TechComm Source RPM Packages firefox-3.5.3-1.fc11 Target RPM Packages Policy RPM selinux-policy-3.6.12-85.fc11 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Enforcing Plugin Name catchall Host Name TechComm Platform Linux TechComm 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT 2009 x86_64 x86_64 Alert Count 16 First Seen Wed 21 Oct 2009 05:08:14 PM EDT Last Seen Wed 21 Oct 2009 05:54:41 PM EDT Local ID 41ee21ba-5b77-4f2f-80b7-9622217ee9ee Line Numbers Raw Audit Messages node=TechComm type=AVC msg=audit(1256162081.110:20156): avc: denied { execstack } for pid=4052 comm="firefox" scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=process node=TechComm type=SYSCALL msg=audit(1256162081.110:20156): arch=c000003e syscall=10 success=yes exit=0 a0=7ffff8741000 a1=1000 a2=1000007 a3=7fc007973141 items=0 ppid=4037 pid=4052 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="firefox" exe="/usr/lib64/firefox-3.5.3/firefox" subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null) This was before I went and installed the latest Java version (6u16) from the Java website. Now I just get . . . nothing. No SELinux alerts, the game won't load and it sends me right to the Java webpage as if I had none. A check of about:plugins in FF yields no Java, and I already have a link to /usr/java/latest/lib/amd64/libnpjp2.so in my .mozilla/plugins directory. This is perplexing me since I thought it was supposed to have been installed by now. What's going on? If Java is somehow using the executable stack (java_exec_t should be able to) without my knowledge, and without any results, what the hell happened? (HowTos)