Bug 758529 - SELinux is preventing /usr/bin/procmail from 'getattr' accesses on the file /var/spool/mail/michael.
Summary: SELinux is preventing /usr/bin/procmail from 'getattr' accesses on the file /...
Keywords:
Status: CLOSED DUPLICATE of bug 785759
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:595ae0962db8d21967d8081fba0...
: 769320 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 00:38 UTC by Micheal
Modified: 2012-03-13 08:54 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-13 08:54:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.65 KB, text/plain)
2011-11-30 00:38 UTC, Micheal
no flags Details

Description Micheal 2011-11-30 00:38:53 UTC
libreport version: 2.0.7
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.2-1.fc16.x86_64
reason:         SELinux is preventing /usr/bin/procmail from 'getattr' accesses on the file /var/spool/mail/michael.
time:           2011年11月30日 星期三 08时29分29秒

description:    Binary file, 2718 bytes

Comment 1 Micheal 2011-11-30 00:38:56 UTC
Created attachment 538330 [details]
File: description

Comment 2 Miroslav Grepl 2011-11-30 11:32:13 UTC
What does

# find /var/spool/mail -context "*:*:quota_db_t:s0"


You will need to run 

# restorecon -R -v /var/spool/mail/michael

which will this issue.

I am trying to find a way how this got this mislabeling.

Comment 3 Need Real Name 2011-12-16 02:02:50 UTC
I think I saw the same thing with procmail not being able to deliver mail, and the context of quota_db_t set on most (but not all) user spool files in /var/spool/mail/

On this system, mail is being delivered via procmail from fetchmail, local users running the old mailx command, and sendmail invoked over ssh.

The procmail recipes include calls to spamc and formail as well as duplicating mail to another local user account before delivering to the normal spool file.

I have another Fedora 16 system with very similar fetchmail and procmail setup, and it has not yet seen such a problem with the spool file contexts.

Comment 4 Miroslav Grepl 2011-12-20 14:33:05 UTC
*** Bug 769320 has been marked as a duplicate of this bug. ***

Comment 5 Jan Pazdziora 2012-03-13 08:34:00 UTC
This looks like dupe of bug 785759.

Comment 6 Miroslav Grepl 2012-03-13 08:54:28 UTC
Yes.

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


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