Package: letsencrypt
Version: 0.28.0-1
Severity: grave
Justification: causes data loss
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco

Steps to reproduce:

1. Start on sid
2. apt install letsencrypt  # using transitional package
3. Use letsencrypt or certbot
4. Later, note the project rename and start using the certbot name
5. Note the package description says that the letsencrypt binary package
can be removed, and purge it.
6. Look for previous logs

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.

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).

Attachment: signature.asc
Description: PGP signature

Reply via email to