20.04.2022 16:18, Vincent Lefevre wrote:
On 2022-04-20 15:27:16 +0300, Michael Tokarev wrote:
..
This is exactly what dpkg does: it preserves local permission
changes for conffilies, even if you tell it to replace your locally-
modified conffile with a new conffile coming from the updated
package.
Where is this documented (in the case a new conffile is installed)?
I've no idea Vincent. I just looked at what it does, -- it copies
permissions and ownership from current conffile to new.
Thinking about it I expect the same behavior, to preserve whatever
local permission changes are made. In this case: if you already
had this file enabled for resolvconf, the new version stays enabled
too.
You may ask dpkg people about this. I don't really care if it is
documented or not.
/mjt