On 16/01/14 06:20 AM, LaMont Jones wrote: > On Mon, Jan 06, 2014 at 04:37:15PM -0500, Daniel Dickinson wrote: >> Setting relay_host in /etc/postfix/main.cf manual and the doing >> dpkg-reconfigured results in debconf setting (unless you set it back) the >> relay_host previously configured in debconf, not the one from main.cf >> through manual editing. > > Correct. How would you suggest that I determine which one was set last? > > lamont > For dpkg-reconfigure (vs initial package install) would main.cf always be last, since debconf would come from either preseeding or debconf, which would get always applied to main.cf?
I don't know if there is a way to tell the difference between dpkg-reconfigure vs initial install though (I am not a DD and haven't really delved into the intricacies of packaging). If there is then the solution would be to add a check. I do know that other packages, such as apt-listchanges and debsums (and a few others I can't remember at the moment) take the info from the configuration files over debconf - maybe they have something that will help? Regards, Daniel
signature.asc
Description: OpenPGP digital signature