Subject: bin/19376: /etc/postinstall and postfix
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 12/13/2002 13:46:26
>Number:         19376
>Category:       bin
>Synopsis:       /etc/postinstall and postfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 13 04:47:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.6_STABLE
>Organization:
>Environment:
	
	
System: NetBSD dhcp118.verkstad.net 1.6_STABLE NetBSD 1.6_STABLE (KAYAK) #5: Mon Dec 13 11:14:39 CET 2002 root@dhcp118.verkstad.net:/work/netbsd/src/sys/arch/i386/compile/KAYAK i386
Architecture: i386
Machine: i386
>Description:

/etc/postinstall checks now the postfix files. This is nice, but I think
the check should be done _only_ for non-pkgsrc postfix, i.e. when the
checked files are not symbolic links.

>How-To-Repeat:

# ls -l /etc/postfix 
total 16
-r--r--r--  1 root  wheel   140 Nov 29  2001 README
-rw-r--r--  1 root  wheel  2288 Sep 25 14:13 main.cf
-r--r--r--  1 root  wheel  4766 May 14  2002 master.cf
lrwxr-xr-x  1 root  wheel    35 Nov 25 10:17 post-install -> /usr/pkg/share/postfix/post-install
lrwxr-xr-x  1 root  wheel    36 Nov 25 10:17 postfix-files -> /usr/pkg/share/postfix/postfix-files
lrwxr-xr-x  1 root  wheel    37 Nov 25 10:17 postfix-script -> /usr/pkg/share/postfix/postfix-script

# /etc/postinstall check
...
makedev check:
postfix check:
        /usr/src/gnu/dist/postfix/conf/postfix-script != /etc/postfix/postfix-script
        /usr/src/gnu/dist/postfix/conf/post-install != /etc/postfix/post-install
postinstall checks passed: defaults mtree gid uid periodic rc ssh wscons makedev
postinstall checks failed: postfix

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: