Bug 660530 - SELinux is preventing /sbin/cgconfigparser "unmount" access .
Summary: SELinux is preventing /sbin/cgconfigparser "unmount" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8f178278fa4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-07 01:51 UTC by Tristan Scott
Modified: 2010-12-13 20:12 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.7-16.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-13 20:12:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tristan Scott 2010-12-07 01:51:02 UTC
Summary:

SELinux is preventing /sbin/cgconfigparser "unmount" access .

Detailed Description:

SELinux denied access requested by cgconfigparser. It is not expected that this
access is required by cgconfigparser and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:cgconfig_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                None [ filesystem ]
Source                        cgconfigparser
Source Path                   /sbin/cgconfigparser
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           libcgroup-0.36.2-5.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-14.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.9-64.fc14.x86_64
                              #1 SMP Fri Dec 3 12:19:41 UTC 2010 x86_64 x86_64
Alert Count                   27
First Seen                    Tue 07 Dec 2010 11:41:10 AM EST
Last Seen                     Tue 07 Dec 2010 11:42:01 AM EST
Local ID                      a6ff369b-b918-4f6c-91b4-e4d652ba78d4
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1291686121.909:34474): avc:  denied  { unmount } for  pid=5004 comm="cgconfigparser" scontext=unconfined_u:system_r:cgconfig_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=filesystem

node=(removed) type=SYSCALL msg=audit(1291686121.909:34474): arch=c000003e syscall=166 success=no exit=-13 a0=3bd18e9360 a1=0 a2=10000 a3=0 items=0 ppid=4996 pid=5004 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="cgconfigparser" exe="/sbin/cgconfigparser" subj=unconfined_u:system_r:cgconfig_t:s0 key=(null)



Hash String generated from  catchall,cgconfigparser,cgconfig_t,cgroup_t,filesystem,unmount
audit2allow suggests:

#============= cgconfig_t ==============
allow cgconfig_t cgroup_t:filesystem unmount;

Comment 1 Miroslav Grepl 2010-12-07 13:48:00 UTC
You can allow it for now using

# grep cgconfig_t /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Comment 2 Miroslav Grepl 2010-12-09 11:30:57 UTC
Fixed in selinux-policy-3.9.7-16.fc14

Comment 3 Fedora Update System 2010-12-10 13:54:15 UTC
selinux-policy-3.9.7-16.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-16.fc14

Comment 4 Fedora Update System 2010-12-10 20:28:40 UTC
selinux-policy-3.9.7-16.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 selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-16.fc14

Comment 5 Fedora Update System 2010-12-13 20:11:21 UTC
selinux-policy-3.9.7-16.fc14 has been pushed to the Fedora 14 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.