Bug#877414: systemd: please include a /var/log/README like Fedora has

Michael Biebl biebl at debian.org
Mon Sep 12 16:29:08 BST 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220912/f3faa126/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list