From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 13:34:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C491065679 for ; Mon, 15 Jun 2009 13:34:13 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id AEE248FC12 for ; Mon, 15 Jun 2009 13:34:12 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1MGCK7-0006Oa-Lk; Mon, 15 Jun 2009 14:34:07 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n5FDY6N6000421; Mon, 15 Jun 2009 14:34:06 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 1AE5AFCA505; Mon, 15 Jun 2009 14:34:01 +0100 (BST) Date: Mon, 15 Jun 2009 14:34:01 +0100 From: Frank Shute To: DA Forsyth Message-ID: <20090615133401.GA43054@melon.esperance-linux.co.uk> Mail-Followup-To: DA Forsyth , freebsd-questions@freebsd.org References: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Mon, 15 Jun 2009 14:34:07 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: cron mail problem solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 13:34:13 -0000 On Mon, Jun 15, 2009 at 11:11:14AM +0200, DA Forsyth wrote: > > Why do I become so clever AFTER asking for help? > > Anyhow, I have solved the cron not sending email problem. > The cron log file contains lines like this > NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found > which when searched for produces the page at > http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors- > 44.html > > So I have edited my /etc/nsswitch.conf to have > group: files > password: files > (instead of 'compat') > > and now it works again. > > I guess I must have installed that file in the upgrade during my > glazed mergemaster phase of 'esc i enter' to install all those files > whose only difference is the $Id$ tag (why do they bother?) You can get mergemaster to ignore those cvs tags. In /etc/mergemaster.rc: DIFF_FLAG='-Bub' DIFF_OPTIONS='-I$FreeBSD:.*[$]' IGNORE_FILES='/etc/motd /etc/mail/mailer.conf /etc/printcap' The 2nd line above tells diff to ignore lines that match that RE. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html