| Summary: | SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from unix_read, unix_write access on the semaphore Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | cyrushmh <cyrusyzgtt> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:8755a7a99e745304ab3f02f76b590864c349baef289ca18a8c169f12263b18f0 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-27 01:40:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Are you running chromium-browser using "sandbox -X -t sandbox_web_t ..."? Or are you launching sandboxes from chromium or some other process running as unconfined_execmem_t. ps -eZ | grep unconfined_execmem_t Miroslav, probably a leaked semaphore. (In reply to comment #1) > Are you running chromium-browser using "sandbox -X -t sandbox_web_t ..."? NO,I'm use firefox in sandbox. policycoreutils-sandbox-2.0.83-33.10.fc14.i686 $sandbox -X -w=800x640 -i ~/.mozilla -t sandbox_web_t firefox (In reply to comment #2) > Or are you launching sandboxes from chromium or some other process running as > unconfined_execmem_t. > > ps -eZ | grep unconfined_execmem_t unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 5850 ? 00:00:28 mplayer unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 9216 ? 00:00:26 mplayer unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 10441 ? 00:00:05 mplayer unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 10518 ? 00:00:05 mplayer unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 11746 ? 00:04:20 thunderbird-bin > > Miroslav, probably a leaked semaphore. Ok and does this work also? cyrushmh do you know if you were trying to send email or play a movie when this AVC happened. Maybe firefox is trying to communicate with the mplayer or thunderbird through a semaphore. We probably want to dontaudit this access. (In reply to comment #4) > Ok and does this work also? ....maybe,but in home user & normal ,,smplayer can not player mms .... (In reply to comment #5) > cyrushmh do you know if you were trying to send email or play a movie when this > AVC happened. Maybe firefox is trying to communicate with the mplayer or > thunderbird through a semaphore. We probably want to dontaudit this access. yes, cuz it maybe not safe,so I use sandbox. but my En not good ,sometime I cannot read some word. Is everything working for you now? OK, but always AVC,,it normal,, |
SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin from unix_read, unix_write access on the semaphore Unknown. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that npviewer.bin should be allowed unix_read unix_write access on the Unknown sem by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep npviewer.bin /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:sandbox_web_client_t:s0: c29,c956 Target Context unconfined_u:unconfined_r:unconfined_execmem_t:s0- s0:c0.c1023 Target Objects Unknown [ sem ] Source npviewer.bin Source Path /usr/lib/nspluginwrapper/npviewer.bin Port <未知> Host (removed) Source RPM Packages nspluginwrapper-1.3.0-15.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-29.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.11-83.fc14.i686.PAE #1 SMP Mon Feb 7 06:57:55 UTC 2011 i686 i686 Alert Count 3 First Seen 2011年02月21日 星期一 15时31分43秒 Last Seen 2011年02月21日 星期一 15时31分51秒 Local ID 318b4112-7a5e-4f63-90ac-afae5f49d3ef Raw Audit Messages type=AVC msg=audit(1298273511.819:247): avc: denied { unix_read unix_write } for pid=17806 comm="npviewer.bin" key=-583345475 scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c29,c956 tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=sem type=SYSCALL msg=audit(1298273511.819:247): arch=i386 syscall=ipc success=no exit=EACCES a0=2 a1=dd3adabd a2=1 a3=380 items=0 ppid=17600 pid=17806 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=npviewer.bin exe=/usr/lib/nspluginwrapper/npviewer.bin subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c29,c956 key=(null) Hash: npviewer.bin,sandbox_web_client_t,unconfined_execmem_t,sem,unix_read,unix_write audit2allow #============= sandbox_web_client_t ============== allow sandbox_web_client_t unconfined_execmem_t:sem { unix_read unix_write }; audit2allow -R #============= sandbox_web_client_t ============== allow sandbox_web_client_t unconfined_execmem_t:sem { unix_read unix_write };