Bug 928978 - SELinux is preventing /usr/sbin/sendmail.sendmail from 'read' accesses on the directory /home/rahul.
Summary: SELinux is preventing /usr/sbin/sendmail.sendmail from 'read' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 673384
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:e1d2259087e0993cdbdc2edbeed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-28 22:12 UTC by Rahul Sundaram
Modified: 2013-03-29 10:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-29 10:52:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2013-03-28 22:12:43 UTC
Description of problem:
SELinux is preventing /usr/sbin/sendmail.sendmail from 'read' accesses on the directory /home/rahul.

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

If you believe that sendmail.sendmail should be allowed read access on the rahul directory 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 newaliases /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                /home/rahul [ dir ]
Source                        newaliases
Source Path                   /usr/sbin/sendmail.sendmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sendmail-8.14.5-15.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-66.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.10-4.fc18.x86_64 #1 SMP Tue
                              Dec 11 18:01:27 UTC 2012 x86_64 x86_64
Alert Count                   1
First Seen                    2013-03-28 18:11:47 EDT
Last Seen                     2013-03-28 18:11:47 EDT
Local ID                      077ea13e-034b-4275-a9eb-1d70e7926208

Raw Audit Messages
type=AVC msg=audit(1364508707.298:408): avc:  denied  { read } for  pid=2915 comm="newaliases" path="/home/rahul" dev="dm-3" ino=40370177 scontext=unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir


type=AVC msg=audit(1364508707.298:408): avc:  denied  { read } for  pid=2915 comm="newaliases" path="/home/rahul" dev="dm-3" ino=40370177 scontext=unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir


type=SYSCALL msg=audit(1364508707.298:408): arch=x86_64 syscall=execve success=yes exit=0 a0=213d5f0 a1=213d710 a2=213c090 a3=7fff810652a0 items=0 ppid=2914 pid=2915 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=pts0 ses=2 comm=newaliases exe=/usr/sbin/sendmail.sendmail subj=unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null)

Hash: newaliases,system_mail_t,user_home_dir_t,dir,read

audit2allow
audit2allow -R

Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.10-4.fc18.x86_64
type:           libreport

Potential duplicate: bug 673384

Comment 1 Miroslav Grepl 2013-03-29 10:52:30 UTC

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


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