Bug 673642 - SELinux is preventing /opt/Songbird/songbird-bin from using the 'execstack' accesses on a process.
Summary: SELinux is preventing /opt/Songbird/songbird-bin from using the 'execstack' a...
Keywords:
Status: CLOSED DUPLICATE of bug 652297
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7ea83fd1e39...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-29 06:18 UTC by Purinta Dedi Setiyawan
Modified: 2011-01-31 10:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
gnome
Last Closed: 2011-01-31 10:12:23 UTC
Type: ---


Attachments (Terms of Use)

Description Purinta Dedi Setiyawan 2011-01-29 06:18:06 UTC
SELinux is preventing /opt/Songbird/songbird-bin from using the 'execstack' accesses on a process.

*****  Plugin allow_execstack (53.1 confidence) suggests  ********************

If you believe that 
None
should not require execstack
Then you should clear the execstack flag and see if /opt/Songbird/songbird-bin works correctly.
Report this as a bug on None.
You can clear the exestack flag by executing:
Do
execstack -c None

*****  Plugin catchall_boolean (42.6 confidence) suggests  *******************

If you want to allow unconfined executables to make their stack executable.  This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla
Then you must tell SELinux about this by enabling the 'allow_execstack' boolean.
Do
setsebool -P allow_execstack 1

*****  Plugin catchall (5.76 confidence) suggests  ***************************

If you believe that songbird-bin should be allowed execstack access on processes labeled unconfined_t 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 songbird-bin /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                Unknown [ process ]
Source                        songbird-bin
Source Path                   /opt/Songbird/songbird-bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-25.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux masdeddy 2.6.35.6-45.fc14.i686 #1 SMP Mon
                              Oct 18 23:56:17 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sat 29 Jan 2011 11:18:42 AM WIT
Last Seen                     Sat 29 Jan 2011 11:18:42 AM WIT
Local ID                      d2795c98-7ff6-45fd-a1f2-a69f70694ea5

Raw Audit Messages
type=AVC msg=audit(1296274722.541:81): avc:  denied  { execstack } for  pid=19956 comm="songbird-bin" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1296274722.541:81): arch=i386 syscall=mprotect success=no exit=EACCES a0=bf839000 a1=1000 a2=1000007 a3=bf834d90 items=0 ppid=19951 pid=19956 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=songbird-bin exe=/opt/Songbird/songbird-bin subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Hash: songbird-bin,unconfined_t,unconfined_t,process,execstack

audit2allow

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execstack'

allow unconfined_t self:process execstack;

audit2allow -R

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execstack'

allow unconfined_t self:process execstack;

Comment 1 Miroslav Grepl 2011-01-31 10:12:23 UTC

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


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