Subject: bin/31316: postinstall target defaults gone funny
To: None <,>
From: None <>
List: netbsd-bugs
Date: 09/15/2005 05:13:00
>Number:         31316
>Category:       bin
>Synopsis:       postinstall target defaults doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 15 05:13:00 +0000 2005
>Originator:     Geoff C. Wing
>Release:        NetBSD 3.99.8
System: NetBSD 3.99.8 NetBSD 3.99.8 (G) #0: Thu Sep 15 11:40:40 EST 2005 i386
Architecture: i386
Machine: i386
	defaults target now does
	  compare_dir ...    # most stuff
	  find ...           # pf thingy
	  compare_dir ...    # pf thingy
	Any return value from the initial compare_dir is lost so you get
	things like the following where defaults lists as a failure but
	the return code is success.

Source directory: /usr/netbsd/src
Target directory: /
defaults check:
        /usr/netbsd/src/etc/defaults/rc.conf != /etc/defaults/rc.conf
gid check:
postinstall checks passed: defaults gid hosts makedev mtree named pam periodic rc ssh wscons x11 uid obsolete
postinstall checks failed: postfix sendmail
To fix, run:
    /usr/sbin/postinstall -s /usr/netbsd/src -d / fix postfix sendmail

	code inpection will do it