Bug 583322 - selinux shutdown denial
Summary: selinux shutdown denial
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-17 20:49 UTC by Need Real Name
Modified: 2010-04-21 21:59 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-2.fc13
Clone Of:
Environment:
Last Closed: 2010-04-21 21:59:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2010-04-17 20:49:39 UTC
Summary:



Detailed Description:

[shutdown has a permissive type (shutdown_t). This access was not denied.]

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                system_u:system_r:init_t:s0
Target Objects                 [ unix_stream_socket ]
Source                        shutdown
Source Path                   /boxin/shutdown
Port                          <Unknown>
Host                          box
Source RPM Packages           upstart-0.6.5-3.fc13
Target RPM Packages           filesystem-2.4.31-1.fc13
Policy RPM                    selinux-policy-3.7.15-4.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     box
Platform                      Linux box 2.6.33.2-41.fc13.x86_64 #1 SMP Mon
                              Apr 12 14:09:42 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 17 Apr 2010 20:07:34 CEST
Last Seen                     Sat 17 Apr 2010 20:07:34 CEST
Local ID                      8a2773ae-8869-4f13-978d-7874233aeeff
Line Numbers                  

Raw Audit Messages            

node=box type=AVC msg=audit(1271527654.184:364): avc:  denied  { connectto } for  pid=18592 comm="shutdown" path=002F636F6D2F7562756E74752F75707374617274 scontext=unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket

node=box type=SYSCALL msg=audit(1271527654.184:364): arch=c000003e syscall=42 success=yes exit=68719476864 a0=3 a1=7fff65bde8b0 a2=16 a3=7fff65bde620 items=0 ppid=6234 pid=18592 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty3 ses=2 comm="shutdown" exe="/boxin/shutdown" subj=unconfined_u:unconfined_r:shutdown_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2010-04-19 02:07:48 UTC
Fixed in selinux-policy-3.7.19-2.fc13.noarch

Comment 2 Fedora Update System 2010-04-19 02:40:12 UTC
selinux-policy-3.7.19-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13

Comment 3 Fedora Update System 2010-04-20 13:24:28 UTC
selinux-policy-3.7.19-2.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.19-2.fc13

Comment 4 Fedora Update System 2010-04-21 21:58:30 UTC
selinux-policy-3.7.19-2.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.