libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.5.0-0.rc1.git0.1.fc18.x86_64 time: lun. 04 juin 2012 19:24:34 CEST description: :SELinux is preventing /usr/sbin/dovecot from 'write' accesses on the chr_file null. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that dovecot should be allowed write access on the null chr_file 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 dovecot /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:dovecot_t:s0 :Target Context system_u:object_r:default_t:s0 :Target Objects null [ chr_file ] :Source dovecot :Source Path /usr/sbin/dovecot :Port <Inconnu> :Host (removed) :Source RPM Packages dovecot-2.1.7-2.fc18.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.5.0-0.rc1.git0.1.fc18.x86_64 #1 : SMP Sun Jun 3 14:07:54 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen lun. 04 juin 2012 19:17:40 CEST :Last Seen lun. 04 juin 2012 19:17:40 CEST :Local ID 197d3e23-07cf-45a3-8154-6677679eff42 : :Raw Audit Messages :type=AVC msg=audit(1338830260.249:145): avc: denied { write } for pid=912 comm="dovecot" name="null" dev="devtmpfs" ino=1033 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=chr_file : : :type=AVC msg=audit(1338830260.249:145): avc: denied { open } for pid=912 comm="dovecot" path="/dev/null" dev="devtmpfs" ino=1033 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=chr_file : : :type=SYSCALL msg=audit(1338830260.249:145): arch=x86_64 syscall=open success=yes exit=ESRCH a0=40ce08 a1=1 a2=36337b825c a3=fffffffa items=0 ppid=1 pid=912 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=dovecot exe=/usr/sbin/dovecot subj=system_u:system_r:dovecot_t:s0 key=(null) : :Hash: dovecot,dovecot_t,default_t,chr_file,write : :audit2allow : :#============= dovecot_t ============== :#!!!! The source type 'dovecot_t' can write to a 'chr_file' of the following types: :# initrc_devpts_t, devtty_t, console_device_t, null_device_t, zero_device_t : :allow dovecot_t default_t:chr_file { write open }; : :audit2allow -R : :#============= dovecot_t ============== :#!!!! The source type 'dovecot_t' can write to a 'chr_file' of the following types: :# initrc_devpts_t, devtty_t, console_device_t, null_device_t, zero_device_t : :allow dovecot_t default_t:chr_file { write open }; :
*** This bug has been marked as a duplicate of bug 828375 ***