El 29/6/23 a las 22:20, Richard Lewis escribió:

for reasons unknown, when debian introduced header.txt in 2014 it shipped 
header.txt in /usr/share/logcheck and copied it to /etc/logcheck in postinst on 
initial install. Only the file in /etc is ever used.

Hello. There was indeed a good reason for that: The conffile mechanism should 
only be used
when there is a default which satisfies everybody (or almost everybody).

In this case there will be people who will be happy with the default header.txt,
but there will also be people (like me) who prefer not to have any header.txt 
at all.

In my opinion header.txt is one of those files where it is much better
not to be handled via the conffile mechanism. I've just filed a separate bug
for that (#1049412), since deletion is currently unsupported and it should be.

Note: I see there is a "md5sum framework" in place to update the file in
case it's necessary. I have a similar md5sum framework in base-files.postinst
and it works very well. With this framework already in place, I would hope
that switching to the old way of handling header.txt should be easy enough.

Thanks.

Reply via email to