Bug 919830 - SELinux is preventing /usr/bin/procmail from 'read' accesses on the file unix.
Summary: SELinux is preventing /usr/bin/procmail from 'read' accesses on the file unix.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ac8cceb003fa48348467d8b2da7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-10 11:16 UTC by Juan Orti Alcaine
Modified: 2013-03-14 03:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-14 03:01:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Orti Alcaine 2013-03-10 11:16:57 UTC
Description of problem:
I don't know what happened, I just use Kmail with my gmail account
SELinux is preventing /usr/bin/procmail from 'read' accesses on the file unix.

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

If cree que de manera predeterminada, procmail debería permitir acceso read sobre  unix file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso momentáneamente executando:
# grep procmail /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:procmail_t:s0
Target Context                system_u:object_r:proc_net_t:s0
Target Objects                unix [ file ]
Source                        procmail
Source Path                   /usr/bin/procmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           procmail-3.22-31.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-82.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.1-201.fc18.x86_64 #1 SMP Thu
                              Feb 28 19:23:08 UTC 2013 x86_64 x86_64
Alert Count                   2
First Seen                    2013-03-10 12:00:01 CET
Last Seen                     2013-03-10 12:15:02 CET
Local ID                      fa2da5e3-6567-44da-b394-d5be22ca3662

Raw Audit Messages
type=AVC msg=audit(1362914102.115:388): avc:  denied  { read } for  pid=3169 comm="procmail" name="unix" dev="proc" ino=4026532002 scontext=system_u:system_r:procmail_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file


type=SYSCALL msg=audit(1362914102.115:388): arch=x86_64 syscall=access success=no exit=EACCES a0=7fff3f0dd4a0 a1=4 a2=7fff3f0dd4ae a3=1c items=0 ppid=3168 pid=3169 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=procmail exe=/usr/bin/procmail subj=system_u:system_r:procmail_t:s0 key=(null)

Hash: procmail,procmail_t,proc_net_t,file,read

audit2allow

#============= procmail_t ==============
allow procmail_t proc_net_t:file read;

audit2allow -R

#============= procmail_t ==============
allow procmail_t proc_net_t:file read;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.1-201.fc18.x86_64
type:           libreport

Potential duplicate: bug 868615

Comment 1 Daniel Walsh 2013-03-11 14:07:52 UTC
Fixed in selinux-policy-3.11.1-83.fc18.

Comment 2 Fedora Update System 2013-03-12 13:56:11 UTC
selinux-policy-3.11.1-85.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18

Comment 3 Fedora Update System 2013-03-12 23:38:07 UTC
Package selinux-policy-3.11.1-85.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-85.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-14 03:01:46 UTC
selinux-policy-3.11.1-85.fc18 has been pushed to the Fedora 18 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.