Bug 874537 - SELinux is preventing /usr/sbin/lxdm-binary from 'write' accesses on the key .
Summary: SELinux is preventing /usr/sbin/lxdm-binary from 'write' accesses on the key .
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d8f45a199a002a0afa972604b92...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 11:54 UTC by tavash
Modified: 2013-07-08 08:59 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-08 08:59:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-08 11:54 UTC, tavash
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-08 11:54 UTC, tavash
no flags Details

Description tavash 2012-11-08 11:54:50 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.2-4.fc17.i686

description:
:SELinux is preventing /usr/sbin/lxdm-binary from 'write' accesses on the key .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that lxdm-binary should be allowed write access on the  key 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 lxdm-binary /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:mount_t:s0-s0:c0.c1023
:Target Objects                 [ key ]
:Source                        lxdm-binary
:Source Path                   /usr/sbin/lxdm-binary
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           lxdm-0.4.1-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.2-4.fc17.i686 #1 SMP Wed Oct
:                              17 03:22:23 UTC 2012 i686 i686
:Alert Count                   4
:First Seen                    2012-11-07 18:50:37 MSK
:Last Seen                     2012-11-07 18:53:23 MSK
:Local ID                      e9697acc-bfb2-4842-9b2c-43df6ca0f832
:
:Raw Audit Messages
:type=AVC msg=audit(1352300003.943:2803): avc:  denied  { write } for  pid=13407 comm="lxdm-binary" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:mount_t:s0-s0:c0.c1023 tclass=key
:
:
:type=SYSCALL msg=audit(1352300003.943:2803): arch=i386 syscall=add_key success=no exit=EACCES a0=b76a9e08 a1=8cd3970 a2=8ce2278 a3=2e4 items=0 ppid=13390 pid=13407 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=8 comm=lxdm-binary exe=/usr/sbin/lxdm-binary subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: lxdm-binary,xdm_t,mount_t,key,write
:
:audit2allow
:
:#============= xdm_t ==============
:allow xdm_t mount_t:key write;
:
:audit2allow -R
:
:#============= xdm_t ==============
:allow xdm_t mount_t:key write;
:

Comment 1 tavash 2012-11-08 11:54:53 UTC
Created attachment 640768 [details]
File: type

Comment 2 tavash 2012-11-08 11:54:55 UTC
Created attachment 640769 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-11-08 15:01:46 UTC
This is a bizarre AVC.  How does lxdm-binary have any relationship to mount?  What were you doing when this happened?

Comment 4 Fedora End Of Life 2013-07-04 00:52:30 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.