Bug 864151 - SELinux is preventing /usr/sbin/sendmail.postfix from 'write' accesses on the fifo_file /run/systemd/sessions/110.ref (deleted).
Summary: SELinux is preventing /usr/sbin/sendmail.postfix from 'write' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 864143
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:1f6017e8322da3c4cb90fdd2bae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-08 17:56 UTC by Nicolas Mailhot
Modified: 2012-10-09 08:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-09 08:19:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-08 17:56 UTC, Nicolas Mailhot
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-08 17:56 UTC, Nicolas Mailhot
no flags Details

Description Nicolas Mailhot 2012-10-08 17:56:34 UTC
Additional info:
libreport version: 2.0.15
kernel:         3.7.0-0.rc0.git2.4.fc19.x86_64

description:
:SELinux is preventing /usr/sbin/sendmail.postfix from 'write' accesses on the fifo_file /run/systemd/sessions/110.ref (deleted).
:
:*****  Plugin leaks (86.2 confidence) suggests  ******************************
:
:If vous souhaitez ignorer que sendmail.postfix tente d'obtenir l'accès write à 110.ref (deleted) fifo_file car vous pensez qu'il ne devrait pas nécessiter cet accès.
:Then vous devriez rapporter ceci en tant qu'anomalie.  
:Vous pouvez générer un module de stratégie local pour dontaudit cet accès.
:Do
:# grep /usr/sbin/sendmail.postfix /var/log/audit/audit.log | audit2allow -D -M mypol
:# semodule -i mypol.pp
:
:*****  Plugin catchall (14.7 confidence) suggests  ***************************
:
:If vous pensez que sendmail.postfix devrait être autorisé à accéder write sur 110.ref (deleted) fifo_file 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 sendmail /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:system_mail_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:systemd_logind_sessions_t:s0
:Target Objects                /run/systemd/sessions/110.ref (deleted) [
:                              fifo_file ]
:Source                        sendmail
:Source Path                   /usr/sbin/sendmail.postfix
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           postfix-2.9.4-3.fc19.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-32.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.7.0-0.rc0.git2.4.fc19.x86_64 #1
:                              SMP Fri Oct 5 20:59:24 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-10-08 03:24:06 CEST
:Last Seen                     2012-10-08 03:24:06 CEST
:Local ID                      b8a517fd-f4e4-4220-baa6-0ed671cde109
:
:Raw Audit Messages
:type=AVC msg=audit(1349659446.659:8822): avc:  denied  { write } for  pid=8392 comm="sendmail" path=2F72756E2F73797374656D642F73657373696F6E732F3131302E726566202864656C6574656429 dev="tmpfs" ino=2143403 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
:
:
:type=SYSCALL msg=audit(1349659446.659:8822): arch=x86_64 syscall=execve success=yes exit=0 a0=407082 a1=7fff7ec59230 a2=21ac170 a3=8 items=0 ppid=7072 pid=8392 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=110 tty=(none) comm=sendmail exe=/usr/sbin/sendmail.postfix subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null)
:
:Hash: sendmail,system_mail_t,systemd_logind_sessions_t,fifo_file,write
:
:audit2allow
:
:#============= system_mail_t ==============
:allow system_mail_t systemd_logind_sessions_t:fifo_file write;
:
:audit2allow -R
:
:#============= system_mail_t ==============
:allow system_mail_t systemd_logind_sessions_t:fifo_file write;
:

Comment 1 Nicolas Mailhot 2012-10-08 17:56:37 UTC
Created attachment 623614 [details]
File: type

Comment 2 Nicolas Mailhot 2012-10-08 17:56:39 UTC
Created attachment 623615 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-10-09 08:19:14 UTC

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


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