| Summary: | SELinux is preventing /usr/bin/wine-preloader from 'search' accesses on the None /proc/<pid>/sessionid. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ali Rohman <alirohman> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f8dd00fc9bc7279dff1b17e3501bf58108141ac8a8df291e30964a391b2630bc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-07 09:47: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: | |
Related to wine: $ sealert -a /tmp/wine.log SELinux is preventing wine-preloader from mmap_zero access on the None . ***** Plugin mmap_zero (91.4 confidence) suggests ************************** If you do not think wine-preloader should need to mmap low memory in the kernel. Then you may be under attack by a hacker, this is a very dangerous access. Do contact your security administrator and report this issue. ***** Plugin catchall (9.59 confidence) suggests *************************** If you believe that wine-preloader should be allowed mmap_zero access on the <Unknown> 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 wine-preloader /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp systemd-logind issue is going to be fixed. |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.3-2.fc16.i686 reason: SELinux is preventing /usr/bin/wine-preloader from 'search' accesses on the None /proc/<pid>/sessionid. time: Tue 07 Feb 2012 10:30:33 AM WIT description: :SELinux is preventing /usr/bin/wine-preloader from 'search' accesses on the None /proc/<pid>/sessionid. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that wine-preloader should be allowed search access on the sessionid <Unknown> 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 wine-preloader /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 :Target Context unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 :Target Objects /proc/<pid>/sessionid [ None ] :Source wine-preloader :Source Path /usr/bin/wine-preloader :Port <Unknown> :Host (removed) :Source RPM Packages wine-core-1.4-0.2.rc2.fc16.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.2.3-2.fc16.i686 #1 SMP Fri Feb 3 : 20:06:02 UTC 2012 i686 i686 :Alert Count 1 :First Seen Tue 07 Feb 2012 10:11:45 AM WIT :Last Seen Tue 07 Feb 2012 10:11:45 AM WIT :Local ID 2c8d9f99-5c8c-471f-b30c-6f8943a42563 : :Raw Audit Messages :type=AVC msg=audit(1328584305.37:55): avc: denied { search } for pid=842 comm="systemd-logind" name="1921" dev=proc ino=21434 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=dirnode=(removed) type=AVC msg=audit(1328584305.037:56): avc: denied { read } for pid=842 comm="systemd-logind" name="sessionid" dev=proc ino=21452 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=filenode=(removed) type=AVC msg=audit(1328584305.037:57): avc: denied { open } for pid=842 comm="systemd-logind" name="sessionid" dev=proc ino=21452 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=filenode=(removed) type=AVC msg=audit(1328584305.037:58): avc: denied { getattr } for pid=842 comm="systemd-logind" path="/proc/1921/sessionid" dev=proc ino=21452 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=filenode=(removed) type=AVC msg=audit(1328585354.230:100): avc: denied { mmap_zero } for pid=3072 comm="wine-preloader" scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tclass=memprotectnode=(removed) type=SYSCALL msg=audit(1328585354.230:100): arch=40000003 syscall=90 success=no exit=-1 a0=bfe7a798 a1=0 a2=bfe7a798 a3=0 items=0 ppid=1832 pid=3072 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm="wine-preloader" exe="/usr/bin/wine-preloader" subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null) : : :Hash: wine-preloader,wine_t,wine_t,None,search : :audit2allow : : :audit2allow -R : :