Subject: misc/4655: newaliases not run by default after install causing send-pr to fail
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kivinen@ssh.fi>
List: netbsd-bugs
Date: 12/09/1997 17:04:13
>Number:         4655
>Category:       misc
>Synopsis:       newaliases not run by default after install causing send-pr to fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec  9 07:20:00 1997
>Last-Modified:
>Originator:     Tero Kivinen
>Organization:
Ssh Communications Security Ltd
>Release:        1.3_BETA
>Environment:
	
System: NetBSD ietf-kaakeli.ssh.fi 1.3_BETA NetBSD 1.3_BETA (KAAKELI) #4: Fri Dec 5 06:38:03 EET 1997 ztk@kaakeli.ssh.fi:/usr/src/sys/arch/i386/compile/KAAKELI i386

>Description:

	After the install process the newaliases is not run
	automatically, and because of that the send-pr fails when
	trying to send the mail:

a)bort, e)dit or s)end? s
hash map "Alias0": unsafe map file /etc/aliases: No such file or directory
send-pr: mysterious mail failure.
send-pr: the problem report remains in /tmp/pbad9292 and is not sent.

>How-To-Repeat:

	Install the system and try to send-pr without running
	newaliases manually. 

>Fix:

	Add conditional running of newaliases to /etc/rc, so it will
	be done if no aliases.db file exists or if the aliases is
	newer than aliases.db.
>Audit-Trail:
>Unformatted: