List Info

Thread: disabling some postinstall fixes




disabling some postinstall fixes
user name
2007-05-25 04:19:07
hello,

I have filed PR install/36180
(http://www.netbsd.org/cgi-bin/query-pr-single.pl?nu
mber=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.

(In the future, one might use this to add an item to remove
obsolete shared
libraries which different major number, which we currently
keep for
compatibility reasons. Those who don't run old binaries
might appreciate
an automated way to ged rid of them.)

Here is the diff, I would really like to have it in the 4.0
release.

Pavel

  
Re: disabling some postinstall fixes
user name
2007-06-02 16:32:02
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?nu
mber=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).

Pavel

Re: disabling some postinstall fixes
user name
2007-06-08 17: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?nu
mber=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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )