Bug 163200 - mail/up-imapproxy: Fails to start on boot when using dovecot as IMAP server
Summary: mail/up-imapproxy: Fails to start on boot when using dovecot as IMAP server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 10:40 UTC by Bernard Spil
Modified: 2012-01-06 01:00 UTC (History)
0 users

See Also:


Attachments
pr_163200_mail_up-imapproxy.txt (1.45 KB, text/plain)
2012-01-05 02:48 UTC, Michael Scheidell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2011-12-12 10:40:01 UTC
On boot, up-imapproxy fails to start when using mail/dovecot2 as imap server.

Fix: 

Add dovecot to # REQUIRE in /usr/local/etc/rc.d/imapproxyd

# REQUIRE: DAEMON courier_imap_imapd courier_imap_imapd_ssl cyrus_imapd inetd dovecot
How-To-Repeat: Install mail/up-imapproxy and mail/dovecot2 and enable both services in rc.conf
reboot
"Dec  4 13:13:07 email root: /etc/rc: WARNING: failed to start imapproxyd"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-12 10:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mbr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Thomas Abthorpe freebsd_committer freebsd_triage 2012-01-02 04:47:35 UTC
Responsible Changed
From-To: mbr->freebsd-ports-bugs

Reassign to the heap
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-01-05 02:28:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it
Comment 4 Michael Scheidell 2012-01-05 02:48:29 UTC
Spil:  Can you try this? (do a make config and select 'with dovecot')

Gabor: how is my solution? I guess we could just put 'dovecot' at end of dependeny list.
no portsbump? default is a no op, and anyone who installs it from scratch will get new rc file.

no pkg-plist changes.


-- 
Michael Scheidell, CTO
SECNAP Network Security Corporation
(561) 999-5000 scheidell@secnap.net
http://www.secnap.com/

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________  
  
Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-01-05 02:52:43 UTC
State Changed
From-To: open->feedback

Waiting for submitters feedback on patch
Comment 6 gabor 2012-01-05 22:56:03 UTC
On 2012.01.05. 3:48, Michael Scheidell wrote:
> Gabor: how is my solution? I guess we could just put 'dovecot' at end of dependeny list.
> no portsbump? default is a no op, and anyone who installs it from scratch will get new rc file.
>
> no pkg-plist changes.
Looks a clean solution, you should just put a newline after the pre 
include to make it more readable.

Gabor
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-01-06 00:56:56 UTC
scheidell    2012-01-06 00:56:42 UTC

  FreeBSD ports repository

  Modified files:
    mail/up-imapproxy    Makefile 
    mail/up-imapproxy/files imapproxyd.sh.in 
  Log:
  - Add option knob to suggest to rcorder that it start dovecot first
  
  PR:             ports/163200
  Submitted by:   Spil <spil.oss@gmail.com>
  Approved by:    gabor (mentor)
  
  Revision  Changes    Path
  1.23      +12 -1     ports/mail/up-imapproxy/Makefile
  1.6       +2 -2      ports/mail/up-imapproxy/files/imapproxyd.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Michael Scheidell freebsd_committer freebsd_triage 2012-01-06 00:57:07 UTC
State Changed
From-To: feedback->closed

Patch committed that has an option knob to activate dovedot dependencyn