bin/87221: cron(8) cannot send mail when world is build w/o NIS

Alex Kapranoff alex at kapranoff.ru
Mon Oct 10 10:50:18 PDT 2005


>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 at 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:


More information about the freebsd-bugs mailing list