[pkg-fetchmail-maint] Bug#374473: fetchmail: postrm needlessly removes conffile

Justin Pryzby justinpryzby at users.sourceforge.net
Mon Jun 19 15:33:08 UTC 2006


Package: fetchmail
Version: 6.3.4-1
Severity: normal

postrm purge needlessly removes a conffile:

    # Remove init.d configuration file
    if [ -r /etc/default/fetchmail ]; then
        rm -f /etc/default/fetchmail
    fi

conffiles are handled automatically by dpkg; this is not a generated
file, so it should not be editted, and should not need to be manually
removed (the exception is if preinst wants to move/remove obsolete
files).  In fact this file should never exit during postrm purge
anyway.  I understand that this now *is* a conffile, but dpkg should
have removed it before postrm purge anyway.

../status: /etc/default/fetchmail f919a8b7f64dec7a90fa6c8193e517d4
fetchmail.list:/etc/default/fetchmail
fetchmail.conffiles:/etc/default/fetchmail




More information about the pkg-fetchmail-maint mailing list