Bug 697670 - SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on the file /proc/<pid>/cmdline.
Summary: SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c547bfa3ada...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 21:30 UTC by Eric Blake
Modified: 2011-05-02 03:39 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.16-18.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-02 03:39:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Eric Blake 2011-04-18 21:30:03 UTC
SELinux is preventing /usr/libexec/mission-control-5 from 'read' accesses on the file /proc/<pid>/cmdline.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that mission-control-5 should be allowed read access on the cmdline file 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 mission-control /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:telepathy_mission_contro
                              l_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                /proc/<pid>/cmdline [ file ]
Source                        mission-control
Source Path                   /usr/libexec/mission-control-5
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-mission-control-5.7.9-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-15.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.i686 #1 SMP Wed Mar
                              30 16:54:01 UTC 2011 i686 i686
Alert Count                   1
First Seen                    Mon 18 Apr 2011 03:29:03 PM MDT
Last Seen                     Mon 18 Apr 2011 03:29:03 PM MDT
Local ID                      8b220eea-9eca-4ce0-baec-1a57a2a10060

Raw Audit Messages
type=AVC msg=audit(1303162143.228:79): avc:  denied  { read } for  pid=3983 comm="mission-control" path="/proc/3629/cmdline" dev=proc ino=42873 scontext=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file


type=SYSCALL msg=audit(1303162143.228:79): arch=i386 syscall=execve success=yes exit=0 a0=22920508 a1=229204b0 a2=22920580 a3=31 items=0 ppid=3982 pid=3983 auid=14986 uid=14986 gid=14986 euid=14986 suid=14986 fsuid=14986 egid=14986 sgid=14986 fsgid=14986 tty=(none) ses=3 comm=mission-control exe=/usr/libexec/mission-control-5 subj=unconfined_u:unconfined_r:telepathy_mission_control_t:s0-s0:c0.c1023 key=(null)

Hash: mission-control,telepathy_mission_control_t,unconfined_t,file,read

audit2allow

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t unconfined_t:file read;

audit2allow -R

#============= telepathy_mission_control_t ==============
allow telepathy_mission_control_t unconfined_t:file read;

Comment 1 Miroslav Grepl 2011-04-19 04:40:59 UTC
Fixed in selinux-policy-3.9.16-16.fc15

Comment 2 Fedora Update System 2011-04-21 15:05:00 UTC
selinux-policy-3.9.16-16.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-16.fc15

Comment 3 Fedora Update System 2011-04-22 00:16:12 UTC
Package selinux-policy-3.9.16-16.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-16.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-16.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-04-28 19:06:49 UTC
Package selinux-policy-3.9.16-18.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-18.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-18.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-05-02 03:38:25 UTC
selinux-policy-3.9.16-18.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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