Bug 786741 - dovecot conflicts with RPC ports: should use portreserve
Summary: dovecot conflicts with RPC ports: should use portreserve
Keywords:
Status: CLOSED DUPLICATE of bug 723228
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dovecot
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 09:44 UTC by Jeremy Sanders
Modified: 2012-02-02 12:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 10:05:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jeremy Sanders 2012-02-02 09:44:19 UTC
Description of problem:
When the dovecot service starts, it sometimes fails because RPC is using one of the ports dovecot uses (in our case imaps, 993).

Dovecot should use the portreserve facility to reserve ports for imap, pop and lmtp.

This is a matter of installing a file in /etc/portreserve containing
imap imaps pop3 pop3s lmtp

and running something like

        # tell portreserve to release the port
        [ -x /sbin/portrelease ] && /sbin/portrelease dovecot &>/dev/null || :

in the start section of the script.

Version-Release number of selected component (if applicable):
dovecot-2.0.9-2.el6_1.1.x86_64

How reproducible:
Sometimes

Steps to Reproduce:
1. Reboot system using nfs / nis

Actual results:
Dovecot service fails to start

Expected results:
Dovecot service should always start

Additional info:

Comment 2 Michal Hlavinka 2012-02-02 10:05:26 UTC

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


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