Bug 573296 - SELinux is preventing shutdown "dac_override" access .
Summary: SELinux is preventing shutdown "dac_override" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5daa5b8de24...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-13 23:04 UTC by Bruno Wolff III
Modified: 2010-03-24 00:49 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.15-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-24 00:49:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruno Wolff III 2010-03-13 23:04:56 UTC
Summary:

SELinux is preventing shutdown "dac_override" access .

Detailed Description:

SELinux denied access requested by shutdown. It is not expected that this access
is required by shutdown 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:unconfined_r:shutdown_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c102
                              3
Target Objects                None [ capability ]
Source                        shutdown
Source Path                   /sbin/shutdown
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.14-3.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33-8.fc13.i686.PAE #1 SMP
                              Fri Mar 5 13:17:04 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Sat 13 Mar 2010 03:54:30 PM CST
Last Seen                     Sat 13 Mar 2010 04:26:09 PM CST
Local ID                      afb8b688-bd69-431d-9241-a8f62dda2183
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268519169.969:218117): avc:  denied  { dac_override } for  pid=22311 comm="shutdown" capability=1  scontext=unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c1023 tclass=capability



Hash String generated from  catchall,shutdown,shutdown_t,shutdown_t,capability,dac_override
audit2allow suggests:

#============= shutdown_t ==============
allow shutdown_t self:capability dac_override;

Comment 1 Daniel Walsh 2010-03-15 02:45:22 UTC
Fixed in selinux-policy-3.7.14-4.fc13.noarch

Miroslav, add to F12.

Comment 2 Fedora Update System 2010-03-18 17:24:49 UTC
selinux-policy-3.7.15-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13

Comment 3 Fedora Update System 2010-03-23 02:17:51 UTC
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 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: http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13

Comment 4 Fedora Update System 2010-03-24 00:48:55 UTC
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 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.