Date: Mon, 15 Jun 2009 14:34:01 +0100 From: Frank Shute <frank@shute.org.uk> To: DA Forsyth <d.forsyth@ru.ac.za> Cc: freebsd-questions@freebsd.org Subject: Re: cron mail problem solved Message-ID: <20090615133401.GA43054@melon.esperance-linux.co.uk> In-Reply-To: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> References: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090615133401.GA43054>