[PATCH] Clean up /var/lib/systemd in postrm: sid: systemd -> 256.6-1

Kirill Rekhov krekhov.dev at gmail.com
Mon Sep 16 14:03:05 BST 2024


Dear Maintainer.

I tested the `xfce4-terminal` package with piuparts and saw that `systemd`
does not remove some directories after removing the package:
1m58.8s ERROR: FAIL: Package purging left files on system:
  /etc/default/locale -> ../locale.conf  not owned
  /etc/vconsole.conf -> default/keyboard         not owned
  /root/.ssh/    not owned
  /var/cache/private/    not owned
  /var/lib/private/      not owned
  /var/lib/systemd/coredump/     not owned
  /var/lib/systemd/ephemeral-trees/      not owned
  /var/lib/systemd/network/      not owned
  /var/lib/systemd/pstore/       not owned
  /var/log/private/      not owned

I think these directories can be deleted:
+        rm -rf /var/lib/systemd/network/
+        rm -rf /var/lib/systemd/pstore/
+        rm -rf /var/lib/systemd/coredump/

Thank you

---
Kirill Rekhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240916/7657eae3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-postrm.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240916/7657eae3/attachment.bin>


More information about the Pkg-systemd-maintainers mailing list