Gentoo Archives: gentoo-user

From: Mike Civil <mike@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Postfix config and update
Date: Sun, 27 Nov 2022 15:50:04
Message-Id: 5e135cff-329d-1635-bdb6-faa3391c2706@duncodin.org
1 On 27/11/2022 14:50, Wol wrote:
2 > Postfix afaik just has one humungous config file, so when your distro
3 > updates the config, all your local changes are trashed :-(
4 >
5 > I don't want to faff about with special copies, backups, origs etc.
6 > Everything should "just work (tm)".
7
8 Except that portage doesn't overwrite stuff under /etc by default. It
9 saves the new config file and then tells you there's an update so you
10 can use etc-update or dispatch-conf to check/merge/abort the changes.
11 After all the new version of software may need a change to the old
12 config file.
13
14 If you've files that you want protected that aren't under /etc then add
15 the path to the CONFIG_PROTECT variable:-
16
17 https://wiki.gentoo.org/wiki/CONFIG_PROTECT/en

Replies

Subject Author
Re: [gentoo-user] Postfix config and update Wol <antlists@××××××××××××.uk>