Date: Mon, 10 Oct 2005 21:41:32 +0400 (MSD) From: Alex Kapranoff <alex@kapranoff.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/87221: cron(8) cannot send mail when world is build w/o NIS Message-ID: <20051010174132.EEE54414F@capella.park.rambler.ru> Resent-Message-ID: <200510101750.j9AHoFKe017742@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87221 >Category: bin >Synopsis: cron(8) cannot send mail when world is build w/o NIS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 10 17:50:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alex Kapranoff >Release: FreeBSD 5.2-CURRENT i386 >Organization: Inner Mongolia >Environment: FreeBSD capella.park.rambler.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 15 17:17:42 MSD 2004 root@capella.rambler.stack.net:/usr/obj/usr/src/sys/CAPELLA i386 >Description: cron(8) tries to send mail without specifying recipient. It really seems to be bug in nsswitch mechanism because of these log entries (from /var/log/cron): Oct 10 21:30:00 capella cron[13567]: NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found Oct 10 21:30:00 capella cron[13567]: NSSWITCH(nss_method_lookup): nis, group_compat, endgrent, not found Oct 10 21:30:00 capella cron[13567]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found I have 'NO_NIS=yes' in /etc/make.conf and default /etc/nsswitch.conf. >How-To-Repeat: Build a system without NIS, then try to cron a non-silent program. Observe no mail (or negative delivery notofication). >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051010174132.EEE54414F>