On Tue, Feb 05, 2019 at 10:42:25AM +0000, Robie Basak wrote:
> Expected: logs still exist back to the beginning, or at least since step
> 4.
> 
> Actual: logs are gone.
> 
> Real use case: users upgrading through the regular upgrade path will,
> upon purging old transitional packages, lose their logs.

Well, purging by definition would go about deleting such things.
At most, you'd be expecting to see the stuff coming from after step 4,
but everything before should be deleted by the definition of "purge".

> Suspected cause: letsencrypt.postrm removes /var/log/letsencrypt.
> 
> Suggested fix: drop the "rm -rf /var/log/letsencrypt" from
> letsencrypt.postrm (which makes the postrm redundant so the entire file
> can be removed).

Sure, of course that's the cause, but your suggested fix would instead
introduce the other bug that "purge does not delete related logs", which
is what everybody is expecting "purge" to do.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to