Public bug reported:

When upgrading Postfix, I was surprised to be asked

Configuration file '/etc/postfix/makedefs.out'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** makedefs.out (Y/I/N/O/D/Z) [default=N] ?


This would appear to have been added with version 3.1.4-1, specifically:

  * Install /etc/postfix/makedefs.out so users can see how the package
was built

which is a laudable and understandable goal. However, it seems quite
unequivocal that the package-provided version of this file should always
be used when installing the package, since the file itself opens with
the following line:

  # Do not edit -- this file documents how Postfix was built for your
machine.

There does not seem to be a valid reason for a user to have a version of
that file that differs at all from the package-provided version, then;
any divergence, in fact, would be misleading.

Presumably then this file should be included in a way that does not
require user intervention to update the makedefs.out file (ex. the /etc/
copy could just be a symlink to a copy in /usr/share/postfix/, or
perhaps there's some packaging magic that could be done?).

(I suppose I should probably have filed this bug upstream with Debian,
but I don't actually have any Debian systems running Postfix at the
moment, only Ubuntu Server ones.)

** Affects: postfix (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791853

Title:
  Postfix upgrade queries about replacing /etc/postfix/makedefs.out,
  when it really should always do so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1791853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to