Bug 628026 - SELinux is preventing /bin/bash "add_name" access on sh-thd-1282929600.
Summary: SELinux is preventing /bin/bash "add_name" access on sh-thd-1282929600.
Keywords:
Status: CLOSED DUPLICATE of bug 628025
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:2977cf28c0c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-27 17:12 UTC by Gene Snider
Modified: 2010-08-30 14:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-30 14:16:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gene Snider 2010-08-27 17:12:20 UTC
Summary:

SELinux is preventing /bin/bash "add_name" access on sh-thd-1282929600.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by 98video-quirk-d. It is not expected that this
access is required by 98video-quirk-d 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                system_u:system_r:devicekit_power_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                sh-thd-1282929600 [ dir ]
Source                        98video-quirk-d
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.1.7-3.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-1.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP Fri
                              Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Fri 27 Aug 2010 10:05:00 AM PDT
Last Seen                     Fri 27 Aug 2010 10:05:00 AM PDT
Local ID                      92731bc0-94c7-47b4-bde9-c3d3e0d9c70a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282928700.116:18): avc:  denied  { add_name } for  pid=3377 comm="98video-quirk-d" name="sh-thd-1282929600" scontext=system_u:system_r:devicekit_power_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1282928700.116:18): avc:  denied  { create } for  pid=3377 comm="98video-quirk-d" name="sh-thd-1282929600" scontext=system_u:system_r:devicekit_power_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1282928700.116:18): avc:  denied  { write open } for  pid=3377 comm="98video-quirk-d" name="sh-thd-1282929600" dev=tmpfs ino=24379 scontext=system_u:system_r:devicekit_power_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1282928700.116:18): arch=c000003e syscall=2 success=yes exit=3 a0=177b4e0 a1=2c1 a2=180 a3=1001 items=0 ppid=3311 pid=3377 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="98video-quirk-d" exe="/bin/bash" subj=system_u:system_r:devicekit_power_t:s0 key=(null)



Hash String generated from  catchall,98video-quirk-d,devicekit_power_t,tmp_t,dir,add_name
audit2allow suggests:

#============= devicekit_power_t ==============
allow devicekit_power_t tmp_t:dir add_name;
#!!!! The source type 'devicekit_power_t' can write to a 'file' of the following types:
# hald_var_run_t, devicekit_var_lib_t, hald_log_t

allow devicekit_power_t tmp_t:file { write create open };

Comment 1 Daniel Walsh 2010-08-30 14:16:55 UTC

*** This bug has been marked as a duplicate of bug 628025 ***


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