Bug 1047313 - SELinux is preventing /usr/bin/perl from using the 'execstack' accesses on a process.
Summary: SELinux is preventing /usr/bin/perl from using the 'execstack' accesses on a ...
Keywords:
Status: CLOSED DUPLICATE of bug 1045699
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7b52a74e096276ec25e986d4bce...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-30 10:54 UTC by Nicolas Mailhot
Modified: 2014-01-02 21:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-02 21:28:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2013-12-30 10:54:47 UTC
Description of problem:
SELinux is preventing /usr/bin/perl from using the 'execstack' accesses on a process.

*****  Plugin catchall (100. confidence) suggests   **************************

If vous pensez que perl devrait être autorisé à accéder execstack sur les processus étiquetés spamd_t par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# grep 2F7573722F62696E2F7370616D6420 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:spamd_t:s0
Target Context                system_u:system_r:spamd_t:s0
Target Objects                 [ process ]
Source                        2F7573722F62696E2F7370616D6420
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.18.1-290.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-10.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.13.0-0.rc5.git0.1.fc21.x86_64 #1
                              SMP Mon Dec 23 14:23:13 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-12-30 11:50:48 CET
Last Seen                     2013-12-30 11:50:48 CET
Local ID                      f67acc95-686d-4894-9b91-d46abed2fe6a

Raw Audit Messages
type=AVC msg=audit(1388400648.234:67): avc:  denied  { execstack } for  pid=1063 comm=2F7573722F62696E2F7370616D6420 scontext=system_u:system_r:spamd_t:s0 tcontext=system_u:system_r:spamd_t:s0 tclass=process


type=AVC msg=audit(1388400648.234:67): avc:  denied  { execmem } for  pid=1063 comm=2F7573722F62696E2F7370616D6420 scontext=system_u:system_r:spamd_t:s0 tcontext=system_u:system_r:spamd_t:s0 tclass=process


type=SYSCALL msg=audit(1388400648.234:67): arch=x86_64 syscall=mprotect success=yes exit=0 a0=7fffb79e4000 a1=1000 a2=1000007 a3=0 items=0 ppid=997 pid=1063 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=2F7573722F62696E2F7370616D6420 exe=/usr/bin/perl subj=system_u:system_r:spamd_t:s0 key=(null)

Hash: 2F7573722F62696E2F7370616D6420,spamd_t,spamd_t,process,execstack

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.13.0-0.rc5.git0.1.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-01-02 21:28:59 UTC

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


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