Hi,

On 09/11/2021 15:17, Adam Borowski wrote:

Not replacing deleted config file /etc/init.d/rsyslog

This is the problem - ucf thinks that it knew about /etc/init.d/rsyslog before it got deleted (and so it thinks you deliberately removed it).

AFAICT:

This should happen if and only iff /etc/init.d/rsyslog was already recorded in /var/lib/ucf/hashfile - then ucf will deduce that the admin removed the file and leave it alone

On my testing system (which hasn't yet had this upgrade applied), that isn't the case - ucf knows nothing about this file.

If you look in /var/lib/ucf you should see old hashfile and registry entries.

Is it possible to see in there if /etc/init.d/rsyslog was recorded in hashfile and/or registry before you did this upgrade? And if so, which package had registered it?

rsyslog has
rm_conffile /etc/init.d/rsyslog 8.2110.0-2~

in debian/rsyslog.maintscript (which dh_installdeb arranges to feed to dpkg-maintscript-helper), which ought to only remove an unmodified conffile and not touch ucf at all.

Regards,

Matthew

Reply via email to