svn commit: r361720 - in head: etc etc/mail usr.sbin/mailwrapper

Cy Schubert Cy.Schubert at cschubert.com
Mon Jun 29 17:30:05 UTC 2020


In message <20200629190958.56a010736905355abb924952 at bidouilliste.com>, 
Emmanuel
 Vadot writes:
> On Mon, 29 Jun 2020 09:52:15 -0700
> Cy Schubert <Cy.Schubert at cschubert.com> wrote:
>
> > In message <475e0172-0a4a-0201-3e2f-9e231b75f3e9 at FreeBSD.org>, John Baldwin
>  
> > wri
> > tes:
> > > On 6/1/20 7:38 PM, Kyle Evans wrote:
> > > > Author: kevans
> > > > Date: Tue Jun  2 02:38:54 2020
> > > > New Revision: 361720
> > > > URL: https://svnweb.freebsd.org/changeset/base/361720
> > > > 
> > > > Log:
> > > >   pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAIL
> > > >   
> > > >   When WITHOUT_SENDMAIL is set, we end up with two different mailer.con
> f th
> > > at
> > > >   conflict, and hilarity ensues. There's currently three different plac
> es t
> > > hat
> > > >   we might install mailer.conf:
> > >
> > > Something about this change has made etcupdate stop updating this file.
> > > Perhaps it is now a "plain" FILE instead of a config file, so 'installcon
> fig'
> > > no longer installs it?  Given that users do edit this file (e.g. if using
> > > postfix from ports), it does seem like this should be treated as a config
> > > file?
> > 
> > Yes, plain file vs config file. There was a change a couple of months ago 
> > by someone else that changed config files to plain files which totally 
> > messed up /etc after etcupdate was run. It also affected mergemaster BTW.
>
>  This was https://svnweb.freebsd.org/base?view=revision&revision=359294
>
> > If pkgbase needs config files to be plain files we might need a knob to 
> > make it so when pkgbase is invoking make.
>
>  It doesn't, pkg needs to know about config files, the problem with my
> commit is more an etcupdate/mergemaster problem than a pkgbase one.
>  iirc etcupdate do a make distribution to find new files and diffs and
> switching a config file from a plain files will cause the file to be
> installed by installworld so etcupdate thinks that it was deleted. I've
> tried a bit to fix that in etcupdate but couldn't find a proper way to
> do it.

Mergemaster also does make distribution.


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy at nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-all mailing list