Re: how to override a conffile (not using dpkg-divert)?

2017-02-10 Thread Don Armstrong
On Fri, 10 Feb 2017, Harald Dunkel wrote: > Not to mention the config file conflicts on the next upgrade, even if > the DM changed only a single comment line. Plus there is no > notification to run my postinst script again. If this is a configuration package, then presumably you want

Re: how to override a conffile (not using dpkg-divert)?

2017-02-10 Thread Harald Dunkel
Hi Don, On 02/08/17 23:36, Don Armstrong wrote: > > If this is a private package which you are using to enforce your local > configuration, just change the conffile in your postinst [possibly after > checking that the conffile hasn't been modified.] > This can become pretty difficult,

Re: how to override a conffile (not using dpkg-divert)?

2017-02-08 Thread Don Armstrong
On Tue, 07 Feb 2017, Harald Dunkel wrote: > https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html says > > "Do not attempt to divert a conffile, as dpkg does not handle it well." > > So I wonder what would you suggest to override a conffile (e.g. > /etc/ssh/sshd_conf and

how to override a conffile (not using dpkg-divert)?

2017-02-07 Thread Harald Dunkel
Hi folks, https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html says "Do not attempt to divert a conffile, as dpkg does not handle it well." So I wonder what would you suggest to override a conffile (e.g. /etc/ssh/sshd_conf and /etc/ssh/ssh_conf) from another package depending upon