Subject: Re: disabling some postinstall fixes
To: None <tech-userlevel@netbsd.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: tech-userlevel
Date: 06/09/2007 00:25:59
On Sat, Jun 02, 2007 at 11:32:02PM +0200, Pavel Cahyna wrote:
> On Fri, May 25, 2007 at 11:19:07AM +0200, Pavel Cahyna wrote:
> > hello,
> > 
> > I have filed PR install/36180
> > (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=36180)
> > about postinstall removing sendmail configuration. I believe that this
> > should not happen by default during upgrades, because users who want to
> > continue using sendmail would lose their configuration files.
> > 
> > To prevent it, I want to separate the postinstall checks in two groups:
> > enabled and disabled by default. The latter would not be executed if no
> > items are given on the command line; to execute them one would have to ask
> > for them explicitely.
> 
> Done. To address the rest of the problem, which is that
> /usr/share/sendmail gets removed on upgrade, I would like to remove
> everything under /usr/share/sendmail from the list of obsolete files and
> let postinstall handle it (in the sendmail item, now disabled by default).

I have done that, and also removed /var/log/sendmail.st and
/usr/share/misc/sendmail.hf from the lists of obsolete files. Their
removal is also handled by postinstall.

Pavel