Subject: pkg/24803: mail/postfix-current overwrites /usr/lib/sendmail on Solaris
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
Date: 03/17/2004 01:51:34
>Synopsis: mail/postfix-current overwrites /usr/lib/sendmail on Solaris
>Arrival-Date: Tue Mar 16 14:52:00 UTC 2004
>Originator: grant beattie
>Release: SunOS 5.9
System: SunOS u10 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-5_10
when rebooting this box after installing mail/postfix-current, I
noticed in the boot messages that postfix started automagically.
knowing that I enabled it in /etc/rc.conf but that those items don't
start by default on this box, this seemed strange.
as it turned out, /usr/lib/sendmail had been replaced with a symlink
to /usr/pkg/sbin/sendmail, so when /etc/rc2.d/S88sendmail ran, it
actually started postfix.
under no circumstances should a package overwrite a system binary
unless this is made absolutely clear _prior_.
install mail/postfix-current on Solaris. expect that /usr/lib/sendmail
is not blown away and be unpleasantly surprised.
the pkg doesn't explicitly do this, so it must be the default
behaviour of postfix which is utterly broken.