[Bug 253437] New: fam has no address, rejected by xinetd, when called from courier-imap
https://bugzilla.novell.com/show_bug.cgi?id=253437 Summary: fam has no address, rejected by xinetd, when called from courier-imap Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrew@acooke.org QAContact: qa@suse.de Hi, I use courier-imap. It expects famd to be running (I think it uses it to detect when new mail has been delivered to a Maildir directory). If fam is not running it still works, but is slower, a but unreliable (doesn't detect changes quickly) and logs errors complaining about a missing fam. These are the associated messages from /var/log/mail: Mar 11 19:01:51 quiet imapd: Failed to create cache file: maildirwatch (andrew) Mar 11 19:01:51 quiet imapd: Error: Input/output error Mar 11 19:01:51 quiet imapd: Check for proper operation and configuration Mar 11 19:01:51 quiet imapd: of the File Access Monitor daemon (famd). If I install fam-server and start fam via xinetd the the services start OK. However, I see the following errors in /var/log/xinetd.log: 07/3/11@18:48:50: START: fam from=<no address> 07/3/11@18:48:50: EXIT: fam status=0 duration=0(sec) 07/3/11@18:48:50: FAIL: fam address from=<no address> 07/3/11@18:48:50: START: fam from=<no address> 07/3/11@18:48:50: EXIT: fam status=0 duration=0(sec) 07/3/11@18:48:50: FAIL: fam connections per second from=<no address> and the results of that in /var/log/messages: Mar 11 18:58:32 quiet xinetd[4735]: Deactivating service fam due to excessive incoming connections. Restarting in 10 seconds. Mar 11 18:58:43 quiet xinetd[4735]: Activating service fam Mar 11 18:59:37 quiet xinetd[4735]: Deactivating service fam due to excessive incoming connections. Restarting in 10 seconds. Mar 11 18:59:48 quiet xinetd[4735]: Activating service fam (I haven't tried to match the lines by time). Note that everything is running on localhost. Googling around for a solution I found the problem and fix described at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=108583 However, flags=NOLIBWRAP does not fix the problem and flags=NO_LIBWRAP gives an error starting xinetd. Also, I have run this config before and (i) I don't recall problems on 10.2 or 10.1 and (ii) you hae never had fam marked as a er -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 ------- Comment #1 from andrew@acooke.org 2007-03-11 16:17 MST ------- Eeek. Somehow submitted this via the keyboard while still typing. Was going to finish by saying: ...(ii) you have never had fam marked as a required dependency for courier-imap, when you probably should since it logs errors and works less well if not running) Thanks, Andrew -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 mskibbe@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andrew@acooke.org ------- Comment #2 from mskibbe@novell.com 2007-03-14 02:20 MST ------- but if fam is a require of courier there are warnings, too? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 andrew@acooke.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andrew@acooke.org | ------- Comment #3 from andrew@acooke.org 2007-03-14 07:13 MST ------- (1) The main issue here is that courier-imap, xinetd and famd do not work together correctly. (2) I think you are asking about dependencies? courier-imap requires lib-fam, but not fam-server. It is fam-server that contains famd, which runs inside xinetd, and which does not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 ------- Comment #4 from andrew@acooke.org 2007-03-14 07:14 MST ------- (to clarify further, there seems no point in having libfam (the fam package) alone; it is useless without famd (the fam-server package)). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 mskibbe@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mskibbe@novell.com |adrian@novell.com ------- Comment #5 from mskibbe@novell.com 2007-03-14 07:25 MST ------- that's all i want to know :-) i thought you mean that the require/dependency is the only problem. i added a requires to fam-server to courier-imapd. @adrian: can you take a look on your fam(-server) package? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437 ------- Comment #6 from andrew@acooke.org 2007-03-14 07:56 MST ------- Ah, thanks. Looking again at what I wrote I guess it's not very clear. The main problem here is that courier-imap uses the fam service (implemented by famd, called via libfam), which runs inside xinetd. When courier-imap tries to use this service, however, xinetd rejects the use as insecure. The problem seems to be related to xinetd not finding any address (which should be "localhost", I assume) associated with the call, perhaps because of a problem with libwrapper. Hope that helps - thanks for looking at this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253437#c7 Freek de Kruijf <f.de.kruijf@hetnet.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f.de.kruijf@hetnet.nl --- Comment #7 from Freek de Kruijf <f.de.kruijf@hetnet.nl> 2007-11-12 19:10:50 MST --- fam does not need to be started in xinetd. See "chkconfig -l fam". If it is not used in xinetd, you can enable is with "chkconfig -a fam" which will start the fam service at boottime. You can start is with "rcfam start". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=253437 User adrian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=253437#c8 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |mskibbe@novell.com --- Comment #8 from Adrian Schröter <adrian@novell.com> 2008-01-02 03:42:38 MST --- The reason for splitting the packages is that people want to deinstall famd to harden their system security wise. To allow this without dependency problems, the famd needs to be splitted away from the fam lib package. So, this is a WONTFIX from my side. (btw, fam has been anyway dropped in current distris). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=253437 User mskibbe@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=253437#c9 Michael Skibbe <mskibbe@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #9 from Michael Skibbe <mskibbe@novell.com> 2008-01-07 03:11:31 MST --- ok - because fam has been dropped this is a wontfix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com