Bug 88205 - Courier-Imap spamming logfiles with FAM error messages
Courier-Imap spamming logfiles with FAM error messages
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Oliver Lehmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-30 00:40 UTC by ruzzi
Modified: 2005-10-30 18:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ruzzi 2005-10-30 00:40:13 UTC
Courier Imap was installed from ports without FAM support, but FAM was installed as dependiencies to other programs. Due to security reasons we do not wish to run portmapper or FAM. Courier imap continually spams the log files with the following entries every few minutes even though the port was built without support.


Oct 29 18:32:52 www imapd: Failed to create cache file: maildirwatch (ruzzi)
Oct 29 18:32:52 www imapd: Error: Input/output error
Oct 29 18:32:52 www imapd: Check for proper operation and configuration
Oct 29 18:32:52 www imapd: of the File Access Monitor daemon (famd).

How-To-Repeat: Install FAM from ports then Courier-Imap without FAM support. Watch the maillog for the entries.
Comment 1 Edwin Groothuis freebsd_committer 2005-10-30 01:08:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer
Comment 2 Oliver Lehmann freebsd_committer 2005-10-30 08:37:18 UTC
State Changed
From-To: open->feedback

I committed a fix, please cvsup your portstree, try again and report back 
if the problem is gone.
Comment 3 ruzzi 2005-10-30 18:13:19 UTC
Now the port fails to build and errors with the following error messages.


Compiling maildirkw.c
Linking maildirkw
./.libs/libmaildir.a(maildirwatch.o)(.text+0x14a): In function
`maildirwatch_alloc':
: undefined reference to `FAMOpen'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x20f): In function
`maildirwatch_free':
: undefined reference to `FAMClose'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x26d): In function
`maildirwatch_cleanup':
: undefined reference to `FAMClose'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x31b): In function
`maildirwatch_famunbreak':
: undefined reference to `FAMClose'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x412): In function
`waitEvent': : undefined reference to `FAMPending'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x4d3): In function
`maildirwatch_unlock':
: undefined reference to `FAMMonitorFile'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x5bb): In function
`maildirwatch_unlock':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x63d): In function
`maildirwatch_unlock':
: undefined reference to `FAMNextEvent'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x687): In function
`maildirwatch_unlock':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x7e7): In function
`maildirwatch_start':
: undefined reference to `FAMMonitorDirectory'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x88b): In function
`maildirwatch_start':
: undefined reference to `FAMMonitorDirectory'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x8e5): In function
`maildirwatch_start':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x98b): In function
`maildirwatch_start':
: undefined reference to `FAMMonitorDirectory'
./.libs/libmaildir.a(maildirwatch.o)(.text+0x9e5): In function
`maildirwatch_start':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xa5e): In function
`maildirwatch_start':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xb79): In function
`maildirwatch_started':
: undefined reference to `FAMNextEvent'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xbd5): In function
`maildirwatch_started':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xbeb): In function
`maildirwatch_started':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xc01): In function
`maildirwatch_started':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xc63): In function
`maildirwatch_started':
: undefined reference to `FAMPending'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xd09): In function
`maildirwatch_check':
: undefined reference to `FAMNextEvent'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xd67): In function
`maildirwatch_check':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xd7d): In function
`maildirwatch_check':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xd93): In function
`maildirwatch_check':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xde3): In function
`maildirwatch_check':
: undefined reference to `FAMPending'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xed1): In function
`maildirwatch_end':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xee7): In function
`maildirwatch_end':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xefd): In function
`maildirwatch_end':
: undefined reference to `FAMCancelMonitor'
./.libs/libmaildir.a(maildirwatch.o)(.text+0xfc1): In function
`maildirwatch_end':
: undefined reference to `FAMNextEvent'
gmake[3]: *** [maildirkw] Error 1
gmake[3]: Leaving directory
`/usr/ports/mail/courier-imap/work/courier-imap-4.0.6/maildir'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/mail/courier-imap/work/courier-imap-4.0.6/maildir'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/mail/courier-imap/work/courier-imap-4.0.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/mail/courier-imap.
Comment 4 Oliver Lehmann freebsd_committer 2005-10-30 18:53:29 UTC
State Changed
From-To: feedback->closed

I fixed it, please recvsup and try again