Bug 904343

Summary: AVC message druing the expiring job of inn
Product: [Fedora] Fedora Reporter: Jochen Schmitt <jochen>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-08 02:26:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jochen Schmitt 2013-01-26 12:17:12 UTC
During the expiring job of inn I have got the following avc error messages:
Jan 25 21:14:31 omega kernel: [ 5228.980817] type=1400 audit(1359144871.724:4): avc:  denied  { write } for  pid=3888 comm="sendmail" path="/var/lib/news/tmp/doex3812" dev="dm-1" ino=7472758 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:innd_var_lib_t:s0 tclass=file
Jan 25 21:14:31 omega kernel: [ 5228.980846] type=1400 audit(1359144871.724:5): avc:  denied  { write } for  pid=3888 comm="sendmail" path="/var/lib/news/tmp/doex3812" dev="dm-1" ino=7472758 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:innd_var_lib_t:s0 tclass=file
Jan 25 21:14:32 omega systemd[1]: innd-expire.service: main process exited, code=exited, status=1/FAILURE
Jan 25 21:14:32 omega systemd[1]: Failed to start Inetnet News Daemon Expiring.
Jan 25 21:14:32 omega systemd[1]: Unit innd-expire.service entered failed state

Comment 1 Daniel Walsh 2013-01-28 17:03:13 UTC
Does the mail work?

Comment 2 Jochen Schmitt 2013-01-28 17:16:55 UTC
No.

Comment 3 Daniel Walsh 2013-01-28 19:42:50 UTC
b0e362cd9737cf1596d28b82ce431e06ad9cba91 fixes this in Rawhide.

Comment 4 Jochen Schmitt 2013-01-29 19:22:09 UTC
Sorry, I can't find the quoted commit from comment #3.

Comment 5 Daniel Walsh 2013-01-29 23:41:32 UTC
That comment if for Miroslav, who will pull it into F18.

Comment 6 Miroslav Grepl 2013-01-30 09:08:21 UTC
Bacported.

Comment 7 Fedora Update System 2013-01-31 13:20:42 UTC
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18

Comment 8 Fedora Update System 2013-02-01 16:41:37 UTC
Package selinux-policy-3.11.1-74.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-74.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-02-08 02:26:26 UTC
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.