Comment 0 for bug 135247

Revision history for this message
Tuomas Jormola (tjormola) wrote :

Recently I discovered that rsync was not automatically upgraded with a security update on one of my boxes but it was updated on others. The box runs an rsync server and obiously it had a modified /etc/rsyncd.conf and running unattended-upgrade -d revealed that due to this fact it wasn't being updated. However, I also have configured APT to supply dpkg with such command-line options that no config file prompt would occur. It doesn't make sense to blacklist packages that contain modified config files if APT is configured in this way. This functionality can be achieved by including the following snippet in the apt.conf:

Dpkg {
        Options { "--force-confold" };
};

The (hopefully soon, I'm trying to figure out how to attach stuff on bug reports with this terrible Launchpad things, what's wroing with Debian bug database and reportbug(1) anyways??? I at least hope you can edit this description later...) attached patch will modify unattended-update to do that. If you like the idea, feel free to use it as is or as an inspiration for better implementation of the idea.