Bug 928978
| Summary: | SELinux is preventing /usr/sbin/sendmail.sendmail from 'read' accesses on the directory /home/rahul. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rahul Sundaram <metherid> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e1d2259087e0993cdbdc2edbeed2514d5d37187593777ec8858ec2a7cfe187cf | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-29 10:52:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 673384 *** |
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