Bug 448089 - dovecot should own /etc/pki/dovecot/private directory
Summary: dovecot should own /etc/pki/dovecot/private directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dovecot
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 445005
TreeView+ depends on / blocked
 
Reported: 2008-05-23 13:14 UTC by Milan Zázrivec
Modified: 2009-01-20 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 22:00:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0205 0 normal SHIPPED_LIVE Low: dovecot security and bug fix update 2009-01-20 16:06:11 UTC

Description Milan Zázrivec 2008-05-23 13:14:26 UTC
Description of problem:
dovecot package should own /etc/pki/dovecot/private directory. Currently
it owns files under it, not the directory itself. This setup leads to
/etc/pki/dovecot/private directory being created with incorrect selinux
context.

Version-Release number of selected component (if applicable):
dovecot-1.0.7-2.el5 / RHEL5.2 GA

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL5.2, dovecot included, selinux enabled
2. # rpm -qf /etc/pki/dovecot/private
3. # ls -dZ /etc/pki/dovecot/private
4. # matchpathcon /etc/pki/dovecot/private
  
Actual results:
# rpm -qf /etc/pki/dovecot/private
file /etc/pki/dovecot/private is not owned by any package
# ls -dZ /etc/pki/dovecot/private
drwxr-xr-x  root root system_u:object_r:cert_t:s0      /etc/pki/dovecot/private
# matchpathcon /etc/pki/dovecot/private
/etc/pki/dovecot/private        system_u:object_r:dovecot_cert_t:s0

Additional info:
Low priority, unlikely to cause any harm.

Comment 1 Dan Horák 2008-05-23 13:39:53 UTC
cause - %{ssldir}/private is missing from %files


Comment 2 RHEL Program Management 2008-06-04 22:43:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 errata-xmlrpc 2009-01-20 22:00:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0205.html


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