Bug 665505
Summary: | SELinux instructions not functional | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Burton <richard_s_burton> |
Component: | setroubleshoot-plugins | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | bugs.michael, dwalsh, jdennis, mgrepl, pereira.vitor.manuel, rom1dep |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | setroubleshoot-plugins-3.0.9-1.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-13 18:01:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard Burton
2010-12-24 05:19:10 UTC
If you grep for wine-preloader in /var/log/audit/audit.log do you get data? We do not want to make this a button because we would like you to try to analyze what the policy allows. In this case you probably do not want to necessarily allow what it is asking for. Please attach the output of ausearch -m avc -ts recent The grep results in
[root@rsb ~]# grep /opt/cxoffice/bin/wine-preloader /var/log/audit/audit.log |
> audit2allow -M mypol
compilation failed:
mypol.te:6:ERROR 'syntax error' at token '' on line 6:
/usr/bin/checkmodule: error(s) encountered while parsing configuration
/usr/bin/checkmodule: loading policy configuration from mypol.te
Here is the output from ausearch. I assume pwd directory does not matter?
[root@rsb ~]# ausearch -m avc -ts recent
<no matches>
Dan, I think we should just change the following line in the catchall.py plugin # grep $SOURCE_PATH /var/log/audit/audit.log | audit2allow -M mypol to # grep $SOURCE /var/log/audit/audit.log | audit2allow -M mypol The problem is $SOURCE_PATH is located on new line in the "audit.log" log file. *** Bug 666179 has been marked as a duplicate of this bug. *** *** Bug 666739 has been marked as a duplicate of this bug. *** setroubleshoot-plugins-3.0.9-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/setroubleshoot-plugins-3.0.9-1.fc14 setroubleshoot-plugins-3.0.9-1.fc14 has been pushed to the Fedora 14 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 setroubleshoot-plugins'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/setroubleshoot-plugins-3.0.9-1.fc14 (In reply to comment #7) Problem persists after the upgrade. Details below. [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# rpm -q setroubleshoot-plugins setroubleshoot-plugins-3.0.9-1.fc14.noarch [root@localhost ~]# grep /usr/local/Wolfram/Mathematica/7.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/gltest /var/log/audit/audit.log type=SYSCALL msg=audit(1294358863.627:79): arch=c000003e syscall=10 success=no exit=-13 a0=7fff364af000 a1=1000 a2=1000007 a3=33cd421000 items=0 ppid=7634 pid=7635 auid=500 uid=500 gid=100 euid=500 suid=500 fsuid=500 egid=100 sgid=100 fsgid=100 tty=(none) ses=6 comm="gltest" exe="/usr/local/Wolfram/Mathematica/7.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/gltest" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) [root@localhost ~]# grep /usr/local/Wolfram/Mathematica/7.0/SystemFiles/FrontEnd/Binaries/Linux-x86-64/gltest /var/log/audit/audit.log | audit2allow -M mypol compilation failed: mypol.te:6:ERROR 'syntax error' at token '' on line 6: /usr/bin/checkmodule: error(s) encountered while parsing configuration /usr/bin/checkmodule: loading policy configuration from mypol.te Please look at the alert again. It should tell you to grep gltest /var/log/audit/audit.log Now. Jut the base name not the full path. (In reply to comment #9) > Now. Jut the base name not the full path. You're absolutely right. Problem solved. Apologies for the noise... setroubleshoot-plugins-3.0.9-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |