Am 12.09.22 um 11:59 schrieb Holger Levsen:
On Mon, Sep 12, 2022 at 11:07:06AM +0200, Michael Biebl wrote:
We could either ship this symlink directly in the package as well (so dpkg
will remove it if the package is uninstalled), or add an explicit cleanup to
systemd.postrm.

sounds like shipping the symlink is easier and thus better, isn't it?



A "rm -f /var/log/README" in postrm is simple enough, or at least not more complicated then creating the symlink (manually) via debian/systemd.links.

Question is, what's conceptually more desired. Marco mentioned on IRC that shipping a static symlink in the package conflicts with the goal, that /var should be empty by default (see factory-reset [1]).

Seems piuparts is happy with the status quo, so maybe we don't actually need an explicit cleanup of /var/log/README and we can just close this bug report?

Michael


[1] https://0pointer.net/blog/projects/stateless.html

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to