Bug 122422 - Update port: mail/up-imapproxy fix rc.d script to actually set the path to the config file
Summary: Update port: mail/up-imapproxy fix rc.d script to actually set the path to th...
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: Martin Blapp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 17:40 UTC by Frank Wall
Modified: 2010-01-02 22:34 UTC (History)
0 users

See Also:


Attachments
file.diff (272 bytes, patch)
2008-04-03 17:40 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2008-04-03 17:40:02 UTC
The mail/up-imapproxy rc.d script is missing an entry. This causes the port to not function, because it is not able to find its own config file. Even if imapproxyd_conf is set within rc.conf it will be ignored.

On startup it says:
in.imapproxyd: SetConfigOptions(): Unable to open config file '/etc/imapproxy.conf': No such file or directory -- Exiting

I did a quick fix to the rc.d script to make it work for me.

How-To-Repeat: 1. install mail/up-imapproxy
2. copy example config file to /usr/local/etc/imapproxyd.conf
3. try to start: /usr/local/etc/rc.d/imapproxyd start
4. you will get an error log message saying:
in.imapproxyd: SetConfigOptions(): Unable to open config file '/etc/imapproxy.conf': No such file or directory -- Exiting
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-03 17:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mbr

Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122422 

Date: Mon, 8 Sep 2008 12:44:08 +0200
Comment 2 Martin Blapp freebsd_committer freebsd_triage 2010-01-02 22:33:49 UTC
State Changed
From-To: open->closed

Fixed via autoconf, thanks anyway